From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- docs/doxygen/nel/classNLAILOGIC_1_1CVarSet.html | 1205 +++++++++++++++++++++++ 1 file changed, 1205 insertions(+) create mode 100644 docs/doxygen/nel/classNLAILOGIC_1_1CVarSet.html (limited to 'docs/doxygen/nel/classNLAILOGIC_1_1CVarSet.html') diff --git a/docs/doxygen/nel/classNLAILOGIC_1_1CVarSet.html b/docs/doxygen/nel/classNLAILOGIC_1_1CVarSet.html new file mode 100644 index 00000000..7b6e702f --- /dev/null +++ b/docs/doxygen/nel/classNLAILOGIC_1_1CVarSet.html @@ -0,0 +1,1205 @@ + + + + nevrax.org : docs + + + + + + + + + + + + + + +
# Home   # nevrax.com   
+ + + + +
Nevrax
+ + + + + + + + + + +
+ + +
+ Nevrax.org
+ + + + + + + +
#News
#Mailing-list
#Documentation
#CVS
#Bugs
#License
+
+ + +
+ + +
+Docs + +
+  + + + + + +
Documentation 
+ +
+Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages   Search  
+

NLAILOGIC::CVarSet Class Reference

#include <varset.h> +

+

Inheritance diagram for NLAILOGIC::CVarSet: +

+ +NLAILOGIC::IBaseBoolType +NLAIAGENT::IObjetOp +NLAIAGENT::IObjectIA +NLAIAGENT::IBasicObjectIA +NLAIC::IBasicInterface +NLAIC::IBasicType +NLAIC::IPointerGestion +NLMISC::IStreamable +NLMISC::IClassable +NLAILOGIC::CClause +NLAILOGIC::CFactPattern +NLAILOGIC::CRule + +List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Methods

 CVarSet ()
 CVarSet (const CVarSet &)
 CVarSet (std::vector< IBaseVar * > &)
 ~CVarSet ()
CValueSetasCValueSet ()
virtual const NLAIC::IBasicTypeclone () const
 This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. More...

virtual const NLAIC::IBasicTypenewInstance () const
 This function allow a new instance, that mean that the class is a class factory. More...

virtual void save (NLMISC::IStream &os)
 Save the class in a stream. More...

virtual void load (NLMISC::IStream &is)
 Load the class from a stream. More...

virtual const NLAIC::CIdentTypegetType () const
 getType return a unique string how represente the class, it can be the name of the class. More...

virtual void getDebugString (std::string &) const
 This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. More...

virtual float truthValue () const
 Returns a value in [0,1]. More...

virtual const CProcessResult & run ()
 Some where Run method define the process of the agen. More...

virtual bool isEqual (const CVarSet &a) const
bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
virtual std::vector< IBaseVar * > * getVars ()
void addVar (IBaseVar *)
void removeVar (IBaseVar *)
virtual CVarSet * unify (CVarSet *)
virtual CVarSet * unify (CValueSet *)
bool isUnified ()
std::list< NLAIAGENT::IObjetOp * > * getValues ()
sint32 size ()
virtual NLAIAGENT::IObjetOpoperator! () const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual NLAIAGENT::IObjetOpoperator!= (NLAIAGENT::IObjetOp &a) const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual bool isTrue () const
 throw (NLAIE::CExceptionNotImplemented). More...

virtual sint32 undefined ()
virtual IBaseVaroperator[] (sint32)

Static Public Attributes

const NLAIC::CIdentType IdVarSet

Protected Attributes

std::vector< IBaseVar * > _Vars
sint32 NbInstanciated
+

Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLAILOGIC::CVarSet::CVarSet  
+
+ + + + + +
+   + + +

+ +

+Definition at line 29 of file varset.cpp. +

+References NbInstanciated. +

+Referenced by NLAILOGIC::CRule::backWard, clone, isEqual, unify, and NLAILOGIC::CRule::unifyBack.

+

+ + + + +
+ + + + + + + + + + +
NLAILOGIC::CVarSet::CVarSet const CVarSet &  
+
+ + + + + +
+   + + +

+ +

+Definition at line 34 of file varset.cpp. +

+References _Vars, and sint32.

+

+ + + + +
+ + + + + + + + + + +
NLAILOGIC::CVarSet::CVarSet std::vector< IBaseVar * > &  
+
+ + + + + +
+   + + +

+ +

+Definition at line 42 of file varset.cpp. +

+References _Vars, clone, and sint32.

+

+ + + + +
+ + + + + + + + + +
NLAILOGIC::CVarSet::~CVarSet  
+
+ + + + + +
+   + + +

+ +

+Definition at line 50 of file varset.cpp. +

+References _Vars, and sint32.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CVarSet::addVar IBaseVar 
+
+ + + + + +
+   + + +

+ +

+Definition at line 144 of file varset.cpp. +

+References _Vars. +

+Referenced by NLAISCRIPT::COperatorClass::addFirstOrderCond, NLAISCRIPT::COperatorClass::buildLogicTables, and NLAISCRIPT::COperatorClass::initialiseFactBase.

+

+ + + + +
+ + + + + + + + + +
CValueSet * NLAILOGIC::CVarSet::asCValueSet  
+
+ + + + + +
+   + + +

+ +

+Definition at line 291 of file varset.cpp. +

+References _Vars.

+

+ + + + +
+ + + + + + + + + +
const NLAIC::IBasicType * NLAILOGIC::CVarSet::clone   const [virtual]
+
+ + + + + +
+   + + +

+This function allow a pointer copy, that mean that the new class have the sam attributs caracteristics as the owne. +

+ +

+Implements NLAIC::IBasicType. +

+Reimplemented in NLAILOGIC::CClause. +

+Definition at line 59 of file varset.cpp. +

+References CVarSet. +

+Referenced by CVarSet, and newInstance.

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CVarSet::getDebugString std::string &   const [virtual]
+
+ + + + + +
+   + + +

+This is a Debug function, text is an character pointer to receive the debug text output, the debug text containe all think sensible to interset user. +

+ +

+Implements NLAIC::IBasicType. +

+Reimplemented in NLAILOGIC::CClause. +

+Definition at line 99 of file varset.cpp. +

+References _Vars.

+

+ + + + +
+ + + + + + + + + +
const NLAIC::CIdentType & NLAILOGIC::CVarSet::getType   const [virtual]
+
+ + + + + +
+   + + +

+getType return a unique string how represente the class, it can be the name of the class. +

+This function is used for the sytem regstry class (see the definition of the template class Gen::CRegistry). +

+Implements NLAIC::IBasicType. +

+Reimplemented in NLAILOGIC::CRule. +

+Definition at line 236 of file varset.cpp. +

+References IdVarSet. +

+Referenced by save.

+

+ + + + +
+ + + + + + + + + +
std::list< IObjetOp * > * NLAILOGIC::CVarSet::getValues  
+
+ + + + + +
+   + + +

+ +

+Definition at line 273 of file varset.cpp. +

+References _Vars, NLAIAGENT::IObjetOp::IObjetOp, and sint32.

+

+ + + + +
+ + + + + + + + + +
std::vector< IBaseVar * > * NLAILOGIC::CVarSet::getVars   [virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 165 of file varset.cpp. +

+References _Vars. +

+Referenced by NLAISCRIPT::COperatorClass::compileFactPattern.

+

+ + + + +
+ + + + + + + + + + +
bool NLAILOGIC::CVarSet::isEqual const NLAIAGENT::IBasicObjectIA  a const
+
+ + + + + +
+   + + +

+ +

+Reimplemented in NLAILOGIC::CFactPattern. +

+Definition at line 131 of file varset.cpp. +

+References _Vars, CVarSet, and sint32.

+

+ + + + +
+ + + + + + + + + + +
bool NLAILOGIC::CVarSet::isEqual const CVarSet &   a const [virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 126 of file varset.cpp. +

+Referenced by operator!=.

+

+ + + + +
+ + + + + + + + + +
bool NLAILOGIC::CVarSet::isTrue   const [virtual]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented). +

+ +

+Implements NLAIAGENT::IObjetOp. +

+Reimplemented in NLAILOGIC::CClause. +

+Definition at line 256 of file varset.cpp. +

+References _Vars. +

+Referenced by truthValue.

+

+ + + + +
+ + + + + + + + + +
bool NLAILOGIC::CVarSet::isUnified  
+
+ + + + + +
+   + + +

+ +

+Definition at line 268 of file varset.cpp. +

+References NbInstanciated.

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CVarSet::load NLMISC::IStream  is [virtual]
+
+ + + + + +
+   + + +

+Load the class from a stream. +

+ +

+Implements NLAIC::IBasicInterface. +

+Definition at line 84 of file varset.cpp. +

+References _Vars, NLAIC::CIdentTypeAlloc::allocClass, id, NLMISC::IStream::serial, and sint32.

+

+ + + + +
+ + + + + + + + + +
const NLAIC::IBasicType * NLAILOGIC::CVarSet::newInstance   const [virtual]
+
+ + + + + +
+   + + +

+This function allow a new instance, that mean that the class is a class factory. +

+ +

+Implements NLAIC::IBasicType. +

+Reimplemented in NLAILOGIC::CClause. +

+Definition at line 66 of file varset.cpp. +

+References clone.

+

+ + + + +
+ + + + + + + + + +
IObjetOp * NLAILOGIC::CVarSet::operator!   const [virtual]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented). +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Reimplemented in NLAILOGIC::CClause. +

+Definition at line 246 of file varset.cpp. +

+References NbInstanciated.

+

+ + + + +
+ + + + + + + + + + +
IObjetOp * NLAILOGIC::CVarSet::operator!= NLAIAGENT::IObjetOp  a const [virtual]
+
+ + + + + +
+   + + +

+throw (NLAIE::CExceptionNotImplemented). +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Reimplemented in NLAILOGIC::CClause. +

+Definition at line 251 of file varset.cpp. +

+References isEqual.

+

+ + + + +
+ + + + + + + + + + +
IBaseVar * NLAILOGIC::CVarSet::operator[] sint32   [virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 306 of file varset.cpp. +

+References _Vars, and sint32.

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CVarSet::removeVar IBaseVar 
+
+ + + + + +
+   + + +

+ +

+Definition at line 150 of file varset.cpp. +

+References _Vars.

+

+ + + + +
+ + + + + + + + + +
const IObjectIA::CProcessResult & NLAILOGIC::CVarSet::run   [virtual]
+
+ + + + + +
+   + + +

+Some where Run method define the process of the agen. +

+ +

+Implements NLAILOGIC::IBaseBoolType. +

+Definition at line 121 of file varset.cpp.

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CVarSet::save NLMISC::IStream  os [virtual]
+
+ + + + + +
+   + + +

+Save the class in a stream. +

+ +

+Implements NLAIC::IBasicInterface. +

+Definition at line 71 of file varset.cpp. +

+References _Vars, getType, NLMISC::IStream::serial, sint32, and size.

+

+ + + + +
+ + + + + + + + + +
sint32 NLAILOGIC::CVarSet::size  
+
+ + + + + +
+   + + +

+ +

+Definition at line 241 of file varset.cpp. +

+References _Vars, and sint32. +

+Referenced by save.

+

+ + + + +
+ + + + + + + + + +
float NLAILOGIC::CVarSet::truthValue   const [virtual]
+
+ + + + + +
+   + + +

+Returns a value in [0,1]. +

+ +

+Implements NLAILOGIC::IBaseBoolType. +

+Reimplemented in NLAILOGIC::CClause. +

+Definition at line 113 of file varset.cpp. +

+References isTrue.

+

+ + + + +
+ + + + + + + + + +
sint32 NLAILOGIC::CVarSet::undefined   [virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 297 of file varset.cpp. +

+References _Vars, and sint32.

+

+ + + + +
+ + + + + + + + + + +
CVarSet * NLAILOGIC::CVarSet::unify CValueSet  [virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 206 of file varset.cpp. +

+References _Vars.

+

+ + + + +
+ + + + + + + + + + +
CVarSet * NLAILOGIC::CVarSet::unify CVarSet *   [virtual]
+
+ + + + + +
+   + + +

+ +

+Reimplemented in NLAILOGIC::CClause. +

+Definition at line 178 of file varset.cpp. +

+References _Vars, and CVarSet.

+


Member Data Documentation

+

+ + + + +
+ + +
std::vector<IBaseVar *> NLAILOGIC::CVarSet::_Vars [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 39 of file varset.h. +

+Referenced by NLAILOGIC::CRule::addConc, NLAILOGIC::CClause::addCond, addVar, asCValueSet, NLAILOGIC::CRule::backWard, NLAILOGIC::CClause::CClause, CVarSet, NLAILOGIC::CFactPattern::getDebugString, getDebugString, NLAILOGIC::CRule::getDebugString, NLAILOGIC::CClause::getDebugString, getValues, getVars, NLAILOGIC::CFactPattern::init, NLAILOGIC::CRule::init, NLAILOGIC::CFactPattern::isEqual, isEqual, isTrue, load, NLAILOGIC::CClause::nbVars, operator[], removeVar, save, size, undefined, unify, NLAILOGIC::CRule::unifyBack, and ~CVarSet.

+

+ + + + +
+ + +
const NLAIC::CIdentType CVarSet::IdVarSet [static] +
+
+ + + + + +
+   + + +

+ +

+Referenced by getType.

+

+ + + + +
+ + +
sint32 NLAILOGIC::CVarSet::NbInstanciated [protected] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 40 of file varset.h. +

+Referenced by CVarSet, isUnified, and operator!.

+


The documentation for this class was generated from the following files: + + + +
                                                                                                                                                                    +
+ + -- cgit v1.2.1