Public Member Functions | Protected Attributes

XCS Class Reference
[AlgorithmsXCS learning classifier system]

XCS classifier system. More...

#include <AlgXCS.h>

Inheritance diagram for XCS:
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

SelectionOperatorP selRandomOp
SelectionOperatorP selWorstOp
SelectionOperatorP selFitPropOp

Detailed Description

XCS classifier system.

Definition at line 29 of file AlgXCS.h.


Member Function Documentation

bool XCS::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 101 of file AlgXCS.cpp.

bool XCS::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 58 of file AlgXCS.cpp.

void XCS::registerParameters ( StateP   )  [virtual]

Register algorithm's parameters (if any).

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

Reimplemented from Algorithm.

Definition at line 49 of file AlgXCS.cpp.


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