#include <EGTMutation.h>
Public Types | |
typedef TP | Pop |
typedef Pop::Graph | Graph |
typedef EGTVector< const Graph * > | Graphs |
typedef Graph::SubGraph | SubGraph |
Public Methods | |
virtual | ~EGTMutation () |
Destructor. | |
virtual UInt | Mutation (const Graphs &src, Pop &dest) |
Performs mutation operations to the Population. | |
Protected Methods | |
virtual bool | DoMutation (const Graph &src, Pop &dest) |
Performs a mutation operation to the Graph. |
A mutation operation partially reconstructs the given Graph by replacing its SubGraph with a randomly generated SubGraph.
It is assumed that <TP> is a subclass of EGPopulation.
|
|
|
|
|
|
|
|
|
Destructor.
|
|
Performs a mutation operation to the Graph.
|
|
Performs mutation operations to the Population.
|