#include <Function.h>
Public Member Functions | |
bool | checkNoMissingEntries (map< string, StateObsAct * > mymap, string &info) |
void | fillTables (map< string, StateObsAct * > &mymap, const vector< string > &insttokens, const vector< double > &probttokensdouble) |
Function () | |
vector< vector< double > > | getDynamicArray () |
vector< string > | getParents () const |
string | getVNameCurr () const |
void | initSparseTables (map< string, StateObsAct * > *mymap) |
void | setParents (vector< string > p) |
void | setVNameCurr (string soa) |
void | simpleDenseInsert (map< string, StateObsAct * > mymap, vector< string > insttokens, string myself, double prob) |
double | simpleGet (map< string, StateObsAct * > mymap, vector< string > insttokens, string myself) |
void | simpleSparseInsert (map< string, StateObsAct * > &mymap, const vector< string > &insttokens, const string &myself, double prob) |
vector< double > | splitTable (const vector< double > &probttokensdouble, int size, int position) |
std::ostream & | write (std::ostream &out) |
Public Attributes | |
SharedPointer< SparseTable > | sparseT |
Protected Attributes | |
vector< string > | parents |
string | vnameCurr |
Definition at line 19 of file Function.h.
Definition at line 5 of file Function.cpp.
bool Function::checkNoMissingEntries | ( | map< string, StateObsAct * > | mymap, |
string & | info | ||
) |
Definition at line 160 of file Function.cpp.
void Function::fillTables | ( | map< string, StateObsAct * > & | mymap, |
const vector< string > & | insttokens, | ||
const vector< double > & | probttokensdouble | ||
) |
Definition at line 45 of file Function.cpp.
vector<vector<double> > Function::getDynamicArray | ( | ) |
vector< string > Function::getParents | ( | ) | const |
Definition at line 20 of file Function.cpp.
string Function::getVNameCurr | ( | ) | const |
Definition at line 16 of file Function.cpp.
void Function::initSparseTables | ( | map< string, StateObsAct * > * | mymap | ) |
Definition at line 24 of file Function.cpp.
void Function::setParents | ( | vector< string > | p | ) |
Definition at line 12 of file Function.cpp.
void Function::setVNameCurr | ( | string | soa | ) |
Definition at line 8 of file Function.cpp.
void Function::simpleDenseInsert | ( | map< string, StateObsAct * > | mymap, |
vector< string > | insttokens, | ||
string | myself, | ||
double | prob | ||
) |
double Function::simpleGet | ( | map< string, StateObsAct * > | mymap, |
vector< string > | insttokens, | ||
string | myself | ||
) |
void Function::simpleSparseInsert | ( | map< string, StateObsAct * > & | mymap, |
const vector< string > & | insttokens, | ||
const string & | myself, | ||
double | prob | ||
) |
Definition at line 140 of file Function.cpp.
vector< double > Function::splitTable | ( | const vector< double > & | probttokensdouble, |
int | size, | ||
int | position | ||
) |
Definition at line 128 of file Function.cpp.
std::ostream & Function::write | ( | std::ostream & | out | ) |
Definition at line 183 of file Function.cpp.
vector<string> Function::parents [protected] |
Definition at line 23 of file Function.h.
Definition at line 52 of file Function.h.
string Function::vnameCurr [protected] |
Definition at line 22 of file Function.h.