Skip to content

Commit

Permalink
crowdingDistance doc fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jonpsy committed Mar 18, 2021
1 parent 97fcb70 commit b1a02d6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/ensmallen_bits/nsga2/nsga2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,8 @@ class NSGA2 {
* @param idxQ The index of the second cadidate from the elite population
* being sorted.
* @param ranks The previously calculated ranks.
* @param crowdingDistance The previously calculated objectives.
* @param crowdingDistance The crowding distance for each individual in
* the population.
* @return true if the first candidate is preferred, otherwise, false.
*/
bool CrowdingOperator(size_t idxP,
Expand Down

0 comments on commit b1a02d6

Please sign in to comment.