ECF 1.5
Public Member Functions | Public Attributes | Protected Attributes | Friends | List of all members
EvolutionContext Class Reference

Evolutionary context class. More...

#include <Context.h>

Public Member Functions

bool initialize ()
 

Public Attributes

IndividualP evaluatedIndividual
 pointer to Individual being evaluated More...
 
IndividualP mutatedIndividual
 pointer to Individual being mutated More...
 
IndividualP firstParent
 
IndividualP secondParent
 
IndividualP child
 pointer to Individuals in current crossover More...
 
void * environment
 pointer to user defined environment More...
 

Protected Attributes

bool bTerminate_
 
uint generationNo_
 

Friends

class State
 

Detailed Description

Evolutionary context class.

Stores information of termination condition, number of generations and evaluations, individuals being mutated, crossed and evaluated.

Definition at line 11 of file Context.h.

Member Function Documentation

◆ initialize()

bool EvolutionContext::initialize ( )
inline

initialize evolutionary context

Definition at line 24 of file Context.h.

Friends And Related Function Documentation

◆ State

friend class State
friend

Definition at line 13 of file Context.h.

Member Data Documentation

◆ bTerminate_

bool EvolutionContext::bTerminate_
protected

Definition at line 32 of file Context.h.

◆ child

IndividualP EvolutionContext::child

pointer to Individuals in current crossover

Definition at line 18 of file Context.h.

◆ environment

void* EvolutionContext::environment

pointer to user defined environment

Definition at line 19 of file Context.h.

◆ evaluatedIndividual

IndividualP EvolutionContext::evaluatedIndividual

pointer to Individual being evaluated

Definition at line 16 of file Context.h.

◆ firstParent

IndividualP EvolutionContext::firstParent

Definition at line 18 of file Context.h.

◆ generationNo_

uint EvolutionContext::generationNo_
protected

Definition at line 33 of file Context.h.

◆ mutatedIndividual

IndividualP EvolutionContext::mutatedIndividual

pointer to Individual being mutated

Definition at line 17 of file Context.h.

◆ secondParent

IndividualP EvolutionContext::secondParent

Definition at line 18 of file Context.h.


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