|
Classes |
struct | CART_node |
| A question node of a CART tree. More...
|
class | BOSS_CartReader |
struct | Duration |
| Stores the duration relevant parameters. More...
|
class | BOSS_Duration |
| Base class for all duration predicting modules. More...
|
class | BOSS_Duration_DE |
| German class for prediction of duration. More...
|
Typedefs |
typedef map< string, string > | FMap |
Functions |
BOSS::Module * | create (BOSS::Config &_cl, MySQL_Handler *_db) |
void | destroy (BOSS_Duration_DE *cm) |
| BOSS_CartReader::BOSS_CartReader (string file) |
| BOSS_CartReader constructor.
|
| BOSS_CartReader::~BOSS_CartReader () |
| BOSS_CartReader destructor.
|
CART_node * | BOSS_CartReader::LoadTree (ifstream &source) |
| Loads cart reader tree.
|
void | BOSS_CartReader::DelTree (CART_node *cur) |
| Deletion of the CART tree.
|
void | BOSS_CartReader::PrintTree (CART_node *cur) const |
| Full tree search with output of the nodes.
|
CART_node * | BOSS_CartReader::Classify (FMap &features) const |
| Classification: Classify expects a map of feature names and associated values and returns the appropriate leaf of the tree.
|
| BOSS_Duration::BOSS_Duration (BOSS::Config &__cl, MySQL_Handler *__data_base) |
| BOSS_Duration constructor.
|
virtual | BOSS_Duration::~BOSS_Duration () |
| BOSS_Duration destructor.
|
void | BOSS_Duration::add_durations (xercesc::DOMNode *sentence) const |
| Adds duration attributes to the BOSS DOM document.
|
virtual void | BOSS_Duration::operator() (xercesc::DOMNode *sentence) |
| Runs the module.
|
virtual string | BOSS_Duration_DE::getDescription () |
| Returns the BOSS_Duration_DE module description string.
|
void | BOSS_Duration_DE::set_features (xercesc::DOMNode *sentence) const |
| Sets module features.
|
Duration | BOSS_Duration_DE::find_dur (const xercesc::DOMElement *element, BOSS::DOMNodeVector &wlist, BOSS::DOMNodeVector &stmp, BOSS::DOMNodeVector &ptmp, BOSS::DOMNodeVector &htmp, unsigned w, unsigned s, unsigned p) const |
| Finds duration.
|
float | BOSS_Duration_DE::correct_dur (float mean, const unsigned p, const unsigned pnumber) const |