Improve comments and documentation.
[genetic.git] / src / generator / generation.h
index a51e4b364525df380d5d70e126b1d7f67e908c46..91e605d7e28035d15d073860c1c054e8c5d9ddcf 100644 (file)
@@ -19,7 +19,7 @@ namespace genetic {
         class Generation {
         public:
             /**
-             * Type of used Genes in Chromosome
+             * Type representing Chromosome Gene
              */
             typedef typename _Chromosome::GeneType GeneType;
         protected:
@@ -38,7 +38,7 @@ namespace genetic {
              * Constructor. Initializes required variables and constants
              *
              * @param generationSize Indicates size of the generation
-             * @param generationSize Indicates size of the chromosome
+             * @param chromosomeSize Indicates size of the chromosome
              */
             Generation(unsigned int generationSize, unsigned int chromosomeSize) {
                 this->generationSize = generationSize;