Class RPGBuilder::ArtificialVariable

Nested Relationships

This class is a nested type of Class RPGBuilder.

Class Documentation

class ArtificialVariable

Public Functions

inline ArtificialVariable()
inline ArtificialVariable(const int &id, const int &s, const vector<double> &w, const vector<int> &f, const double &d, const double &maxIn)
inline double evaluate(const vector<double> &fluentTable)
double evaluateWCalculate(const vector<double> &fluentTable, const int &pneCount)
double evaluateWCalculate(const vector<double> &minFluentTable, const vector<double> &maxFluentTable, const int &pneCount)
bool operator<(const ArtificialVariable &v) const
void display(ostream &o) const
inline void updateMax(const double &m)

Public Members

int ID
int size
vector<double> weights
vector<int> fluents
double constant
double maxNeed