#line 1 "/user/cvsspst/ees1cg/RAVL/RAVL-0.7/Logic/DecisionTree/DecisionTree.hh" // This file is part of RAVL, Recognition And Vision Library // Copyright (C) 2001, University of Surrey // This code may be redistributed under the terms of the GNU Lesser // General Public License (LGPL). See the lgpl.licence file for details or // see http://www.gnu.org/copyleft/lesser.html // file-header-ends-here #ifndef RAVLLOGIC_DECISIONTREE_HEADER #define RAVLLOGIC_DECISIONTREE_HEADER 1 ///////////////////////////////////////////////////////////////// //! rcsid="$Id: DecisionTree.hh,v 1.7 2002/03/05 16:28:07 craftit Exp $" //! lib=RavlLogic //! file="Ravl/Logic/DecisionTree/DecisionTree.hh" //! author="Charles Galambos" //! docentry="Ravl.Logic.Decision Tree" #include "Ravl/Logic/Literal.hh" #include "Ravl/Logic/DecisionTreeBase.hh" namespace RavlLogicN { //! userlevel=Develop //: Decision tree body. template class DecisionTreeBodyC : public DecisionTreeBaseBodyC { public: DecisionTreeBodyC() {} //: Default constructor. protected: }; //! userlevel=Normal //: Decision tree. template class DecisionTreeC : public DecisionTreeBaseC { public: DecisionTreeC() {} //: Default constructor. // creates an invalid handle. protected: DecisionTreeC(DecisionTreeBodyC &bod) : DecisionTreeElementC(bod) {} //: Body constructor. DecisionTreeBodyC &Body() { return static_cast &>(DecisionTreeBaseC::Body()); } //: Access body. const DecisionTreeBodyC &Body() const { return static_cast &>(DecisionTreeBaseC::Body()); } //: Access body. public: }; } #endif