Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - Logic - Decision Tree - DecisionTreeLeafBodyC
 

  PUBLIC
DecisionTreeLeafBodyC::DecisionTreeLeafBodyC(void)
DecisionTreeLeafBodyC::DecisionTreeLeafBodyC(const LiteralC &,const DecisionExamplesC &)
DecisionTreeLeafBodyC::Decision(void)
DecisionTreeLeafBodyC::IsLeaf(void) const
DecisionTreeLeafBodyC::BuildRuleSet(const LiteralC &,StateC &) const
DecisionTreeLeafBodyC::Dump(ostream &,IntT) const
DecisionTreeElementBodyC::Examples(void)
DecisionTreeElementBodyC::Find(const StateC &)
DecisionTreeElementBodyC::IsLeaf(void) const
DecisionTreeElementBodyC::Dump(ostream &,IntT) const
DecisionTreeElementBodyC::BuildRuleSet(const LiteralC &,StateC &) const
DecisionTreeElementBodyC::Pad(ostream &,int)
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   DecisionTreeLeafBodyC   
 
Leaf in the decision tree.
 
include "Ravl/Logic/DecisionTreeLeaf.hh"
Source file:Ravl/Logic/DecisionTree/DecisionTreeLeaf.hh
User Level:Develop
Library:RavlLogic
In Scope:RavlLogicN

Parent Classes: Variables:
LiteralC decision;
Value of decision at the leaf.

Methods:
DecisionTreeLeafBodyC()
Default constructor.

DecisionTreeLeafBodyC(const LiteralC & decision,const DecisionExamplesC & nexamples)
Constructor.

LiteralC & Decision()
Value of decision of leaf.

bool IsLeaf() const
Is this a leaf in the decision tree ?

void BuildRuleSet(const LiteralC & preCond,StateC & ruleSet) const
Go through the tree building a rule set.

void Dump(ostream & out,IntT level = 0) const
Dump node in human readable form,

#include "Ravl/Logic/DecisionTreeElement.hh"
DecisionExamplesC & Examples()
Access examples of decisions below this node.

DecisionTreeElementC Find(const StateC & state)
Find next level in the decision tree for given 'state'.

bool IsLeaf() const
Is this a leaf in the decision tree ?

void Dump(ostream & out,IntT level = 0) const
Dump node in human readable form,

void BuildRuleSet(const LiteralC & preCond,StateC & ruleSet) const
Go through the tree building a rule set.

static ostream & Pad(ostream & out,int level)
Pad line to given level.
Used in dump.

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Maintainer:Charles Galambos, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002