ECF 1.5
|
Public Types | |
enum | Functions { ADD , SUB , MUL , DIV , SIN , COS } |
Public Member Functions | |
bool | initialize () |
void | initFunctionNames () |
double | executeParsedExpression (uint sample, uint iTree=0) |
double | execute () |
Public Attributes | |
std::vector< std::vector< double > > | data |
std::vector< double > | values |
std::vector< bool > | valueFlags |
uint | nSamples |
uint | nVariables |
std::vector< string > | funcNames |
std::vector< string > | termNames |
std::vector< std::vector< uint > > | parsedExpression |
int | position |
uint | iExpression |
uint | iSample |
Static Public Attributes | |
static const uint | TERMINALS = 1000 |
static const uint | SUBTREES = 10000 |
Definition at line 11 of file Evaluator.h.
enum Evaluator::Functions |
Definition at line 21 of file Evaluator.h.
double Evaluator::execute | ( | ) |
Definition at line 45 of file Evaluator.cpp.
double Evaluator::executeParsedExpression | ( | uint | sample, |
uint | iTree = 0 |
||
) |
Definition at line 32 of file Evaluator.cpp.
void Evaluator::initFunctionNames | ( | ) |
Definition at line 16 of file Evaluator.cpp.
bool Evaluator::initialize | ( | ) |
Definition at line 6 of file Evaluator.cpp.
std::vector< std::vector<double> > Evaluator::data |
Definition at line 14 of file Evaluator.h.
std::vector<string> Evaluator::funcNames |
Definition at line 25 of file Evaluator.h.
uint Evaluator::iExpression |
Definition at line 28 of file Evaluator.h.
uint Evaluator::iSample |
Definition at line 29 of file Evaluator.h.
uint Evaluator::nSamples |
Definition at line 17 of file Evaluator.h.
uint Evaluator::nVariables |
Definition at line 18 of file Evaluator.h.
std::vector< std::vector<uint> > Evaluator::parsedExpression |
Definition at line 26 of file Evaluator.h.
int Evaluator::position |
Definition at line 27 of file Evaluator.h.
|
static |
Definition at line 23 of file Evaluator.h.
|
static |
Definition at line 22 of file Evaluator.h.
std::vector<string> Evaluator::termNames |
Definition at line 25 of file Evaluator.h.
std::vector<bool> Evaluator::valueFlags |
Definition at line 16 of file Evaluator.h.
std::vector<double> Evaluator::values |
Definition at line 15 of file Evaluator.h.