Classifier class that holds all parameters and pointer to individual to which the parameters belong.
More...
#include <Classifier.h>
List of all members.
Public Member Functions |
| Classifier (XCSParamsP xcsParams, unsigned long long int time, IndividualP ind, StateP state) |
| Classifier (ClassifierP cl) |
void | cover (std::set< int > actions, const GenotypeP input, StateP state) |
bool | doesMatch (const GenotypeP input) |
int | getActionId () |
GenotypeP | getAction () |
void | setAction (GenotypeP action) |
void | mutateRule (GenotypeP input, StateP state) |
void | mutateAction (StateP state) |
void | print () |
BitStringP | getRuleBitString () |
BitStringP | getDontCareBitString () |
double | getDeletionVote (double avFit) |
bool | couldSubsume () |
int | numOfDCBits () |
bool | isMoreGeneral (ClassifierP cl) |
bool | doesSubsume (ClassifierP cl) |
double | getPrediction () |
double | getError () |
double | getFitness () |
unsigned long long int | getTimeStamp () |
int | getNumerosity () |
double | getActSetSize () |
double | getExperience () |
void | setPrediction (double p) |
void | setError (double eps) |
void | setFitness (double F) |
void | setTimeStamp (unsigned long long int ts) |
void | setNumerosity (int num) |
void | setActSetSize (double as) |
void | setExperience (double exp) |
Static Public Member Functions |
static bool | checkState (const StateP state) |
static void | printBitString (const BitStringP bString) |
Public Attributes |
IndividualP | ind |
ClassifierParamsP | params |
XCSParamsP | xcsParams |
bool | valid |
Detailed Description
Classifier class that holds all parameters and pointer to individual to which the parameters belong.
Definition at line 20 of file Classifier.h.
The documentation for this class was generated from the following files: