Selects individuals from the range of individual and offspring individuals. More...
#include <shark/Algorithms/DirectSearch/Operators/Selection/UniformRanking.h>
Public Member Functions | |
| template<typename InIterator , typename OutIterator > | |
| void | operator() (DefaultRngType &rng, InIterator individuals, InIterator individualsE, OutIterator out, OutIterator outE) |
| Selects individuals from the range of individual and offspring individuals. More... | |
Selects individuals from the range of individual and offspring individuals.
Definition at line 39 of file UniformRanking.h.
|
inline |
Selects individuals from the range of individual and offspring individuals.
The operator carries out the following steps:
| [in] | individuals | Iterator pointing to the first valid individual. |
| [in] | individualsE | Iterator pointing to the first invalid individual. |
| [in] | out | Iterator pointing to the first valid element of the output range. |
| [in] | outE | Iterator pointing to the first invalid element of the output range. |
Definition at line 53 of file UniformRanking.h.
References shark::blas::distance(), and shark::size().