#include <EGTCrossover.h>
Public Types | |
typedef TP | Pop |
typedef Pop::Graph | Graph |
typedef EGTVector< const Graph * > | Graphs |
typedef Graph::SubGraph | SubGraph |
Public Methods | |
virtual | ~EGTCrossover () |
Destructor. | |
virtual UInt | Crossover (const Graphs &src, Pop &dest) |
Performs crossover operations to the Population. | |
Protected Methods | |
virtual bool | DoCrossover (const Graph &graph1, const Graph &graph2, Pop &dest) |
Performs a crossover operation to two Graphs. |
A crossover operation recombines two parent graphs into new graphs by exchanging their compatible SubGraphs.
It is assumed that <TP> is a subclass of EGTPopulation.
|
|
|
|
|
|
|
|
|
Destructor.
|
|
Performs crossover operations to the Population.
|
|
Performs a crossover operation to two Graphs.
|