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

  PUBLIC
DecisionTreeElementBodyC::DecisionTreeElementBodyC(void)
DecisionTreeElementBodyC::DecisionTreeElementBodyC(const DecisionExamplesC &)
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)

   DecisionTreeElementBodyC   
 
Decision tree body.
 
include "Ravl/Logic/DecisionTreeElement.hh"
Source file:Ravl/Logic/DecisionTree/DecisionTreeElement.hh
User Level:Develop
Library:RavlLogic
In Scope:RavlLogicN

Parent Classes: Derived Classes: Variables:
DecisionExamplesC examples;
Examples of decisions.

Methods:
DecisionTreeElementBodyC()
Default constructor.

DecisionTreeElementBodyC(const DecisionExamplesC & nexamples)
Constructor.

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