#include <eoVRPQuadCrossover.h>
Inheritance diagram for eoVRPOnePointCrossover:

Public Member Functions | |
| eoVRPOnePointCrossover () | |
| Deafult constructor. | |
| std::string | className () const |
| Returns a string containing the name of the class. | |
| bool | operator() (eoVRP &_genotype1, eoVRP &_genotype2) |
| Performs a one point crossover. | |
Definition at line 159 of file eoVRPQuadCrossover.h.
| std::string eoVRPOnePointCrossover::className | ( | void | ) | const [inline, virtual] |
Returns a string containing the name of the class.
Used to display statistics.
Reimplemented from eoQuadOp< eoVRP >.
Definition at line 177 of file eoVRPQuadCrossover.h.
| bool eoVRPOnePointCrossover::operator() | ( | eoVRP & | _genotype1, | |
| eoVRP & | _genotype2 | |||
| ) | [inline, virtual] |
Performs a one point crossover.
Both parameters are the parents and the (future) children of the crossover.
| _genotype1 | The first parent. | |
| _genotype2 | The second parent. |
Implements eoBF< eoVRP &, eoVRP &, bool >.
Definition at line 191 of file eoVRPQuadCrossover.h.
References eoVRP::cleanRoutes(), and eoRng::random().
1.4.7