User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - Logic - Decision Tree - DecisionTreeBodyC<class DataT>
 

  PUBLIC
DecisionTreeBodyC::DecisionTreeBodyC(void)
DecisionTreeBaseBodyC::Find(const StateC &)
DecisionTreeBaseBodyC::Add(const StateC &,const LiteralC &)
DecisionTreeBaseBodyC::Train(const DataSet2C &)
DecisionTreeBaseBodyC::SetDiscriminator(const DiscriminatorC &)
DecisionTreeBaseBodyC::Dump(ostream &) const
DecisionTreeBaseBodyC::BuildRuleSet(void) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   DecisionTreeBodyC<class DataT>   
 
Decision tree body.
 
include "Ravl/Logic/DecisionTree.hh"
User Level:Develop
Library:RavlLogic
In Scope:RavlLogicN

Parent Classes: Methods:
DecisionTreeBodyC()
Default constructor.

#include "Ravl/Logic/DecisionTreeBase.hh"
DecisionTreeLeafC Find(const StateC & state)
Find the decision for given 'state'.

bool Add(const StateC & state,const LiteralC & decision)
Add a new example to the tree.

void Train(const DataSet2C<SampleStateC,SampleLiteralC> & data)
Train the decision tree with the new data.

void SetDiscriminator(const DiscriminatorC & desc)
Set the discriminator to use for training.

void Dump(ostream & out) const
Dump the tree in a human readable form to stream out.

StateC BuildRuleSet() const
Build a rule set from the decision tree.

#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