|
latest version v1.9 - last update 10 Apr 2010 |
|
This is the base class for all decision trees in the LTI-Lib. More...
#include <ltiDecisionTree.h>


Classes | |
| class | dtNode |
| a simple Node for decision trees More... | |
| class | parameters |
| the parameters for the class decisionTree More... | |
Public Member Functions | |
| decisionTree () | |
| decisionTree (const decisionTree &other) | |
| virtual | ~decisionTree () |
| virtual const char * | getTypeName () const |
| decisionTree & | copy (const decisionTree &other) |
| decisionTree & | operator= (const decisionTree &other) |
| const parameters & | getParameters () const |
| virtual bool | write (ioHandler &handler, const bool complete=true) const |
| virtual bool | read (ioHandler &handler, const bool complete=true) |
Static Protected Attributes | |
| static const dtNode * | nodeArray [] |
| static const objectFactory < dtNode > | nodeFactory |
This is the base class for all decision trees in the LTI-Lib.
| lti::decisionTree::decisionTree | ( | ) |
default constructor
| lti::decisionTree::decisionTree | ( | const decisionTree & | other | ) |
copy constructor
| other | the object to be copied |
| virtual lti::decisionTree::~decisionTree | ( | ) | [virtual] |
destructor
| decisionTree& lti::decisionTree::copy | ( | const decisionTree & | other | ) |
copy data of "other" classifier.
| other | the classifier to be copied |
Reimplemented from lti::supervisedInstanceClassifier.
Reimplemented in lti::crispDecisionTree, and lti::manualCrispDecisionTree.
| const parameters& lti::decisionTree::getParameters | ( | ) | const |
returns used parameters
Reimplemented from lti::supervisedInstanceClassifier.
Reimplemented in lti::crispDecisionTree, and lti::manualCrispDecisionTree.
| virtual const char* lti::decisionTree::getTypeName | ( | ) | const [virtual] |
returns the name of this type ("decisionTree")
Reimplemented from lti::supervisedInstanceClassifier.
Reimplemented in lti::crispDecisionTree, and lti::manualCrispDecisionTree.
| decisionTree& lti::decisionTree::operator= | ( | const decisionTree & | other | ) |
alias for copy member
| other | the classifier to be copied |
Reimplemented from lti::supervisedInstanceClassifier.
Reimplemented in lti::crispDecisionTree, and lti::manualCrispDecisionTree.
| virtual bool lti::decisionTree::read | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | [virtual] |
read the parameters from the given ioHandler
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::classifier.
Reimplemented in lti::crispDecisionTree.
| virtual bool lti::decisionTree::write | ( | ioHandler & | handler, | |
| const bool | complete = true | |||
| ) | const [virtual] |
write the parameters in the given ioHandler
| handler | the ioHandler to be used | |
| complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from lti::classifier.
Reimplemented in lti::crispDecisionTree.
const dtNode* lti::decisionTree::nodeArray[] [static, protected] |
The array of all dtNodes.
const objectFactory<dtNode> lti::decisionTree::nodeFactory [static, protected] |
The objectFactory for all types of dtNodes.