From 5bdb3f61e9897d13c8b4a69dea6fbf492a7d0e94 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20D=C5=82ugo=C5=82=C4=99cki?= Date: Mon, 6 Apr 2015 16:59:48 +0200 Subject: [PATCH] Update documentation. --- src/selection/linearRankSelection.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 */ -- 2.30.2