Public Member Functions | Protected Member Functions | Private Attributes
beliefstate::DecisionTree Class Reference

#include <DecisionTree.h>

Inheritance diagram for beliefstate::DecisionTree:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 DecisionTree ()
 DecisionTree (std::string strFile)
Propertyevaluate (CKeyValuePair *ckvpFeatures)
std::vector< Property * > findBranchesWithResult (Property *prTargetResult, Property *prStart=NULL)
vector< CKeyValuePair * > invert (Property *prTargetResult, CKeyValuePair *ckvpFeatures)
bool load (std::string strFile)
bool relationSatisfied (Property *prRelation, CKeyValuePair *ckvpFeatures)
std::vector< Property * > straightenResultBranch (Property *prSolutionBranch)
std::vector< std::vector
< Property * > > 
straightenResultBranches (std::vector< Property * > vecSolutionBranches)
 ~DecisionTree ()

Protected Member Functions

Propertyevaluate (Property *prTree, CKeyValuePair *ckvpFeatures)
void init (std::string strMessagePrefix="", std::string strFile="")
void missingFeature (std::string strOperator, std::string strFeatureName)
void missingOperand (std::string strOperator)

Private Attributes

JSONm_jsnDecisionTree

Detailed Description

Definition at line 58 of file DecisionTree.h.


Constructor & Destructor Documentation

Definition at line 44 of file DecisionTree.cpp.

beliefstate::DecisionTree::DecisionTree ( std::string  strFile)

Definition at line 48 of file DecisionTree.cpp.

Definition at line 52 of file DecisionTree.cpp.


Member Function Documentation

Property * beliefstate::DecisionTree::evaluate ( Property prTree,
CKeyValuePair ckvpFeatures 
) [protected]

Definition at line 243 of file DecisionTree.cpp.

Definition at line 89 of file DecisionTree.cpp.

std::vector< Property * > beliefstate::DecisionTree::findBranchesWithResult ( Property prTargetResult,
Property prStart = NULL 
)

Definition at line 398 of file DecisionTree.cpp.

void beliefstate::DecisionTree::init ( std::string  strMessagePrefix = "",
std::string  strFile = "" 
) [protected]

Definition at line 58 of file DecisionTree.cpp.

std::vector< CKeyValuePair * > beliefstate::DecisionTree::invert ( Property prTargetResult,
CKeyValuePair ckvpFeatures 
)

Definition at line 285 of file DecisionTree.cpp.

bool beliefstate::DecisionTree::load ( std::string  strFile)

Definition at line 68 of file DecisionTree.cpp.

void beliefstate::DecisionTree::missingFeature ( std::string  strOperator,
std::string  strFeatureName 
) [protected]

Definition at line 455 of file DecisionTree.cpp.

void beliefstate::DecisionTree::missingOperand ( std::string  strOperator) [protected]

Definition at line 459 of file DecisionTree.cpp.

bool beliefstate::DecisionTree::relationSatisfied ( Property prRelation,
CKeyValuePair ckvpFeatures 
)

Definition at line 101 of file DecisionTree.cpp.

std::vector< Property * > beliefstate::DecisionTree::straightenResultBranch ( Property prSolutionBranch)

Definition at line 375 of file DecisionTree.cpp.

std::vector< std::vector< Property * > > beliefstate::DecisionTree::straightenResultBranches ( std::vector< Property * >  vecSolutionBranches)

Definition at line 365 of file DecisionTree.cpp.


Member Data Documentation

Definition at line 60 of file DecisionTree.h.


The documentation for this class was generated from the following files:


beliefstate
Author(s): Jan Winkler
autogenerated on Sun Oct 5 2014 22:30:16