public class Covering
extends java.lang.Object
This class implements the covering operator. It creates new classifiers that match with the environmental state when an input is not covered.
Constructor and Description |
---|
Covering()
Initializes the actionCovered vector (all its positions to false).
|
Modifier and Type | Method and Description |
---|---|
void |
coverActions(Population pop,
Population matchSet,
double[] envState,
int tStamp,
boolean[] actionCovered)
Covers the actions while, at least, theta_mna actions are covered.
|
public Covering()
Initializes the actionCovered vector (all its positions to false).
public void coverActions(Population pop, Population matchSet, double[] envState, int tStamp, boolean[] actionCovered)
Covers the actions while, at least, theta_mna actions are covered.
pop
- is the population where the new classifiers have to be introduced.matchSet
- is the match set where the new classifiers have to be introduced to.envState
- is the environmental state.tStamp
- is the current time stamp.actionCovered
- identify if the action is covered or not.