#include <Population.h>
Public Member Functions | |
Population () | |
Constructor. | |
Population (const size_t size) | |
Constructor. | |
Population (const size_t size, const size_t chromosomeLength) | |
Constructor. |
T | Type T can be bool (binary problems), int (combinatorial problems) or real (continuous problems). |
Population< T >::Population | ( | ) | [inline] |
Constructor.
Create a population from a vector of Chromosome.
Population< T >::Population | ( | const size_t | size | ) | [inline] |
Population< T >::Population | ( | const size_t | size, | |
const size_t | chromosomeLength | |||
) | [inline] |
Constructor.
size | Population size. | |
chromosomeLength | Length of chromosome (number of optimization variables). |