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

  PUBLIC
DecisionTreeBranchBinaryC::DecisionTreeBranchBinaryC(void)
DecisionTreeBranchBinaryC::DecisionTreeBranchBinaryC(bool)
DecisionTreeBranchBinaryC::DecisionTreeBranchBinaryC(const LiteralC &)
DecisionTreeBranchBinaryC::DecisionTreeBranchBinaryC(DecisionTreeBranchBinaryBodyC &)
DecisionTreeBranchBinaryC::Body(void)
DecisionTreeBranchBinaryC::Body(void) const
DecisionTreeBranchBinaryC::TrueChild(void)
DecisionTreeBranchBinaryC::FalseChild(void)
DecisionTreeBranchC::Body(void)
DecisionTreeBranchC::Body(void) const
DecisionTreeElementC::Body(void)
DecisionTreeElementC::Body(void) const
DecisionTreeElementC::Examples(void)
DecisionTreeElementC::Find(const StateC &)
DecisionTreeElementC::IsLeaf(void) const
DecisionTreeElementC::BuildRuleSet(const LiteralC &,StateC &) const
DecisionTreeElementC::Dump(ostream &,IntT) const
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::Invalidate(void)
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::Body(void)
RCHandleC::Body(void) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

   DecisionTreeBranchBinaryC   
 
Decision tree.
 
include "Ravl/Logic/DecisionTreeBranchBinary.hh"
Source file:Ravl/Logic/DecisionTree/DecisionTreeBranchBinary.hh
User Level:Advanced
Library:RavlLogic
In Scope:RavlLogicN

Parent Classes: Methods:
DecisionTreeBranchBinaryC()
Default constructor.
creates an invalid handle.

DecisionTreeBranchBinaryC(bool)
Constructor.

DecisionTreeBranchBinaryC(const LiteralC & test)
Construct with a test.

DecisionTreeBranchBinaryC(DecisionTreeBranchBinaryBodyC & bod)
Body constructor.

DecisionTreeBranchBinaryBodyC & Body()
Access body.

const DecisionTreeBranchBinaryBodyC & Body() const
Access body.

DecisionTreeElementC & TrueChild()
Access true child.

DecisionTreeElementC & FalseChild()
Access false child.

#include "Ravl/Logic/DecisionTreeBranch.hh"
DecisionTreeBranchBodyC & Body()
Access body.

const DecisionTreeBranchBodyC & Body() const
Access body.

#include "Ravl/Logic/DecisionTreeElement.hh"
DecisionTreeElementBodyC & Body()
Access body.

const DecisionTreeElementBodyC & Body() const
Access body.

DecisionExamplesC & Examples()
Access examples of all 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 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/RefCounter.hh"
const RCHandleC<DecisionTreeElementBodyC> & operator =(const RCHandleC<DecisionTreeElementBodyC> & oth)
Assign handle.

RCHandleC<DecisionTreeElementBodyC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<DecisionTreeElementBodyC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<DecisionTreeElementBodyC> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

DecisionTreeElementBodyC & Body()
Access body of object.

const DecisionTreeElementBodyC & Body() const
Constant access to body of object.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<DecisionTreeElementBodyC> & obj)

istream & operator >>(istream & strm,RCHandleC<DecisionTreeElementBodyC> & obj)


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