Public Member Functions | Protected Attributes

BitStringHillClimbing Class Reference

Inheritance diagram for BitStringHillClimbing:
Algorithm

List of all members.

Public Member Functions

bool advanceGeneration (StateP state, DemeP deme)
 Perform a single generation on a single deme.
bool initialize (StateP state)
 Initialize the algorithm, read parameters from the system, do a sanity check.
void registerParameters (StateP state)
 Register algorithm's parameters (if any).

Protected Attributes

uint outer
uint inner
uint nConverged
SelectionOperatorP selFitPropOp_
SelectionOperatorP selBestOp_
SelectionOperatorP selRandomOp_
std::vector< bool > converged

Detailed Description

Definition at line 5 of file AlgBitStringHillClimbing.h.


Member Function Documentation

bool BitStringHillClimbing::advanceGeneration ( StateP  ,
DemeP   
) [virtual]

Perform a single generation on a single deme.

Must be implemented by a specific algorithm class

Implements Algorithm.

Definition at line 43 of file AlgBitStringHillClimbing.cpp.

bool BitStringHillClimbing::initialize ( StateP   )  [virtual]

Initialize the algorithm, read parameters from the system, do a sanity check.

Called by the system before the algorithm starts (Algorithm::advanceGeneration)

Reimplemented from Algorithm.

Definition at line 25 of file AlgBitStringHillClimbing.cpp.

void BitStringHillClimbing::registerParameters ( StateP   )  [virtual]

Register algorithm's parameters (if any).

Called by the system before algorithm initialization (Algorithm::initialize)

Reimplemented from Algorithm.

Definition at line 18 of file AlgBitStringHillClimbing.cpp.


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