User Documentation
RAVL, Recognition And Vision Library
DEVELOP 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
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"
User Level:Develop
Library:RavlLogic
In Scope:RavlLogicN

Parent Classes: Derived Classes: Variables:
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.

#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:02 2002