Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

BOSS Duration Module


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::Modulecreate (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_nodeBOSS_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_nodeBOSS_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

Typedef Documentation

typedef map<string, string> FMap
 


Function Documentation

void BOSS_Duration::add_durations xercesc::DOMNode *  sentence  )  const [protected, inherited]
 

Adds duration attributes to the BOSS DOM document.

Parameters:
sentence the dom document

BOSS_CartReader::BOSS_CartReader string  file  )  [inherited]
 

BOSS_CartReader constructor.

Parameters:
file input file

BOSS_Duration::BOSS_Duration BOSS::Config __cl,
MySQL_Handler __data_base
[inherited]
 

BOSS_Duration constructor.

CART_node * BOSS_CartReader::Classify FMap features  )  const [inherited]
 

Classification: Classify expects a map of feature names and associated values and returns the appropriate leaf of the tree.

Returns:
tree leaf

float BOSS_Duration_DE::correct_dur float  mean,
const unsigned  p,
const unsigned  pnumber
const [protected, inherited]
 

BOSS::Module* create BOSS::Config _cl,
MySQL_Handler _db
 

void BOSS_CartReader::DelTree CART_node cur  )  [private, inherited]
 

Deletion of the CART tree.

void destroy BOSS_Duration_DE cm  ) 
 

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 [protected, virtual, inherited]
 

Finds duration.

Returns:
duration

Implements BOSS_Duration.

string BOSS_Duration_DE::getDescription  )  [virtual, inherited]
 

Returns the BOSS_Duration_DE module description string.

Returns:
description string

Implements BOSS::Module.

CART_node * BOSS_CartReader::LoadTree ifstream &  source  )  [private, inherited]
 

Loads cart reader tree.

void BOSS_Duration::operator() xercesc::DOMNode *  sentence  )  [virtual, inherited]
 

Runs the module.

Implements BOSS::Module.

void BOSS_CartReader::PrintTree CART_node cur  )  const [private, inherited]
 

Full tree search with output of the nodes.

void BOSS_Duration_DE::set_features xercesc::DOMNode *  sentence  )  const [protected, virtual, inherited]
 

Sets module features.

Implements BOSS_Duration.

BOSS_CartReader::~BOSS_CartReader  )  [inherited]
 

BOSS_CartReader destructor.

BOSS_Duration::~BOSS_Duration  )  [virtual, inherited]
 

BOSS_Duration destructor.


Generated on Tue Dec 20 23:14:41 2005 for BOSS by doxygen 1.3.6