Environment for the XCS algorithm.
More...
#include <Environment.h>
|
|
virtual GenotypeP | getInput ()=0 |
| |
|
virtual bool | initialize ()=0 |
| |
|
virtual bool | nextTrial ()=0 |
| |
|
virtual bool | reset ()=0 |
| |
| virtual bool | isOver () |
| |
| virtual FitnessP | evaluate (IndividualP ind)=0 |
| | Evaluate a single individual. Method must create and return a Fitness object. More...
|
| |
| virtual bool | isExploit () |
| |
| bool | checkState (const StateP state) |
| |
| virtual FitnessP | evaluate (IndividualP)=0 |
| | Evaluate a single individual. Method must create and return a Fitness object. More...
|
| |
| virtual void | registerParameters (StateP) |
| | Register evaluator parameters. Called before EvaluateOp::initialize method. More...
|
| |
| virtual bool | initialize (StateP) |
| | Initialize the evaluator. Called before first evaluation occurs. More...
|
| |
Environment for the XCS algorithm.
Definition at line 12 of file Environment.h.
◆ checkState()
| bool Environment::checkState |
( |
const StateP |
state | ) |
|
|
inline |
◆ evaluate()
| virtual FitnessP Environment::evaluate |
( |
IndividualP |
| ) |
|
|
pure virtual |
Evaluate a single individual. Method must create and return a Fitness object.
Implements EvaluateOp.
◆ isExploit()
| virtual bool Environment::isExploit |
( |
| ) |
|
|
inlinevirtual |
◆ isOver()
| virtual bool Environment::isOver |
( |
| ) |
|
|
inlinevirtual |
◆ state
| StateP Environment::state |
|
protected |
The documentation for this class was generated from the following file: