Class RPGBuilder::RPGNumericEffect

Nested Relationships

This class is a nested type of Class RPGBuilder.

Class Documentation

class RPGNumericEffect

Public Functions

inline RPGNumericEffect()
inline RPGNumericEffect(const int &idIn, const int &fluent, const bool &ass, const vector<double> &weightsIn, const vector<int> &vars, const int &s, const double &con)
inline double evaluate(const vector<double> &maxFluents, const double &minDur, const double &maxDur) const
pair<double, double> applyEffectMinMax(const vector<double> &minFluents, const vector<double> &maxFluents, const double &minDur, const double &maxDur)
bool operator<(const RPGNumericEffect &e) const
void display(ostream &o) const

Public Members

int ID
int fluentIndex
bool isAssignment
vector<double> weights
vector<int> variables
double constant
int size