X-Git-Url: https://git.dlugolecki.net.pl/?a=blobdiff_plain;f=src%2Fselection%2FlinearRankSelection.h;h=8bbd3cea323013f721ded44fed6e0bec4c5ef7c5;hb=c9db29f895be287471f280bbed6cfb5271de3803;hp=f16d0964966c6fe884076b9263d5a59bf946e589;hpb=7acfa4c764e88eefecf9a55e70cbf01a93fcf436;p=genetic.git diff --git a/src/selection/linearRankSelection.h b/src/selection/linearRankSelection.h index f16d096..8bbd3ce 100644 --- a/src/selection/linearRankSelection.h +++ b/src/selection/linearRankSelection.h @@ -29,7 +29,12 @@ namespace genetic { */ typedef typename GeneticFitness::ValueType FitnessValueType; protected: + /** + * Type representing mapped Chromosome by its Rank value + */ typedef typename std::multimap ChromosomeMap; + + /** Iterator for ChromosomeMap */ typedef typename ChromosomeMap::iterator ChromosomeMapIterator; /** @@ -66,7 +71,7 @@ namespace genetic { } /** - * Selection calculations should be done here. + * Invokes Selection calculations of the Linear Rank Selection * * @return new Generation of Chromosome's that passed the Selection */