Public Types | Public Member Functions | Public Attributes | Protected Attributes

Permutation::Permutation Class Reference
[GenotypesPermutation]

Permutation class - implements genotype as a vector of indices (permutation of indices). More...

#include <Permutation.h>

Inheritance diagram for Permutation::Permutation:
Genotype

List of all members.

Public Types

typedef std::vector< int > var

Public Member Functions

uint getSize ()
bool initialize (StateP state)
 Initialize a genotype object (read parameters, perform sanity check, build data).
void registerParameters (StateP state)
 Register genotype's parameters (called before Genotype::initialize).
Permutationcopy ()
 Create an identical copy of the genotype object.
std::vector< CrossoverOpP > getCrossoverOp ()
 Create and return a vector of crossover operators.
std::vector< MutationOpP > getMutationOp ()
 Create and return a vector of mutation operators.
void write (XMLNode &)
 Write genotype data to XMLNode.
void read (XMLNode &)
 Read genotype data from XMLNode.

Public Attributes

var variables

Protected Attributes

uint size_
 permutation vector size

Detailed Description

Permutation class - implements genotype as a vector of indices (permutation of indices).

Definition at line 37 of file Permutation.h.


The documentation for this class was generated from the following files: