From 0ea5fc66924303d1bf73ba283a383e2aadee02f2 Mon Sep 17 00:00:00 2001 From: neodarz Date: Sat, 11 Aug 2018 20:21:34 +0200 Subject: Initial commit --- .../nel/classNLAILOGIC_1_1CBoolOperator.html | 1205 ++++++++++++++++++++ 1 file changed, 1205 insertions(+) create mode 100644 docs/doxygen/nel/classNLAILOGIC_1_1CBoolOperator.html (limited to 'docs/doxygen/nel/classNLAILOGIC_1_1CBoolOperator.html') diff --git a/docs/doxygen/nel/classNLAILOGIC_1_1CBoolOperator.html b/docs/doxygen/nel/classNLAILOGIC_1_1CBoolOperator.html new file mode 100644 index 00000000..62cd76d9 --- /dev/null +++ b/docs/doxygen/nel/classNLAILOGIC_1_1CBoolOperator.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::CBoolOperator Class Reference

#include <bool_operator.h> +

+

Inheritance diagram for NLAILOGIC::CBoolOperator: +

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

Public Methods

 CBoolOperator ()
 CBoolOperator (char *n)
 CBoolOperator (CBoolOperator &)
virtual void addPrecondition (IBaseAssert *, bool)
virtual void addPostcondition (IBaseAssert *, bool)
void forward (std::vector< bool > &)
virtual bool isTrue () const
 throw (NLAIE::CExceptionNotImplemented). More...

std::list< CFact * > * backward (std::list< IBaseAssert * > &, std::list< bool > &)
virtual bool isValid (CFactBase *)
 Asks wether the operator's preconditions are validated,. 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 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 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 bool isEqual (const CBoolOperator &) const
virtual const NLAIAGENT::IObjectIA::CProcessResultrun ()
 Some where Run method define the process of the agen. More...

bool isEqual (const NLAIAGENT::IBasicObjectIA &a) const
virtual float truthValue () const
 Returns a value in [0,1]. More...

virtual std::list< CFact * > * backward (std::list< CFact * > &)
virtual std::list< CFact * > * forward (std::list< CFact * > &)
virtual std::list< CFact * > * propagate (std::list< CFact * > &)
virtual float priority () const
 Priority of the operator. More...

virtual void success ()
 Own success and failure functions These function telle other operators and goals that might be waiting for the execution of this one. More...

virtual void failure ()
virtual void success (IBaseOperator *)
 Dependencies failure and success notification These functions are called by other operators or goals who failed or succeeded. More...

virtual void failure (IBaseOperator *)

Static Public Attributes

const NLAIC::CIdentType IdBoolOperator

Private Attributes

char * _Comment
 Description of the operator. More...

std::vector< bool > _CondsVal
std::vector< bool > _ConcsVal
+

Constructor & Destructor Documentation

+

+ + + + +
+ + + + + + + + + +
NLAILOGIC::CBoolOperator::CBoolOperator  
+
+ + + + + +
+   + + +

+ +

+Definition at line 27 of file bool_operator.cpp. +

+Referenced by clone, and newInstance.

+

+ + + + +
+ + + + + + + + + + +
NLAILOGIC::CBoolOperator::CBoolOperator char *   n
+
+ + + + + +
+   + + +

+ +

+Definition at line 31 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + + + + + +
NLAILOGIC::CBoolOperator::CBoolOperator CBoolOperator &  
+
+ + + + + +
+   + + +

+ +

+Definition at line 35 of file bool_operator.cpp.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLAILOGIC::CBoolOperator::addPostcondition IBaseAssert ,
bool  
[virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 118 of file bool_operator.cpp. +

+References NLAILOGIC::IBaseOperator::_Concs, _ConcsVal, and v.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
void NLAILOGIC::CBoolOperator::addPrecondition IBaseAssert ,
bool  
[virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 110 of file bool_operator.cpp. +

+References NLAILOGIC::IBaseOperator::_Conds, _CondsVal, and v.

+

+ + + + +
+ + + + + + + + + + +
std::list< CFact * > * NLAILOGIC::CBoolOperator::backward std::list< CFact * > &   [virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLAILOGIC::IBaseOperator. +

+Definition at line 202 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + + + + + + + + + + + + + + +
std::list< CFact * > * NLAILOGIC::CBoolOperator::backward std::list< IBaseAssert * > &  ,
std::list< bool > &  
+
+ + + + + +
+   + + +

+ +

+Definition at line 49 of file bool_operator.cpp. +

+References NLAILOGIC::IBaseOperator::_Conds, and _CondsVal.

+

+ + + + +
+ + + + + + + + + +
const NLAIC::IBasicType * NLAILOGIC::CBoolOperator::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. +

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

+References NLAILOGIC::IBaseOperator::_Concs, _ConcsVal, NLAILOGIC::IBaseOperator::_Conds, _CondsVal, CBoolOperator, and clone. +

+Referenced by clone.

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CBoolOperator::failure IBaseOperator  [virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLAILOGIC::IBaseOperator. +

+Definition at line 272 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + + + + +
void NLAILOGIC::CBoolOperator::failure   [virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLAILOGIC::IBaseOperator. +

+Definition at line 264 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + + + + + +
std::list< CFact * > * NLAILOGIC::CBoolOperator::forward std::list< CFact * > &   [virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLAILOGIC::IBaseOperator. +

+Definition at line 207 of file bool_operator.cpp. +

+References propagate.

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CBoolOperator::forward std::vector< bool > &  
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CBoolOperator::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. +

+Definition at line 148 of file bool_operator.cpp. +

+References NLAILOGIC::IBaseOperator::_Concs, _ConcsVal, NLAILOGIC::IBaseOperator::_Conds, and _CondsVal.

+

+ + + + +
+ + + + + + + + + +
const NLAIC::CIdentType & NLAILOGIC::CBoolOperator::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. +

+Definition at line 189 of file bool_operator.cpp. +

+References IdBoolOperator.

+

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

+ +

+Definition at line 184 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + + + + + +
bool NLAILOGIC::CBoolOperator::isEqual const CBoolOperator &   const [virtual]
+
+ + + + + +
+   + + +

+ +

+Definition at line 179 of file bool_operator.cpp. +

+References isTrue.

+

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

+throw (NLAIE::CExceptionNotImplemented). +

+ +

+Implements NLAIAGENT::IObjetOp. +

+Definition at line 39 of file bool_operator.cpp. +

+References NLAILOGIC::IBaseOperator::_Conds, and _CondsVal. +

+Referenced by isEqual, isValid, and truthValue.

+

+ + + + +
+ + + + + + + + + + +
bool NLAILOGIC::CBoolOperator::isValid CFactBase  [virtual]
+
+ + + + + +
+   + + +

+Asks wether the operator's preconditions are validated,. +

+ +

+Implements NLAILOGIC::IBaseOperator. +

+Definition at line 105 of file bool_operator.cpp. +

+References isTrue.

+

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

+Load the class from a stream. +

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 82 of file bool_operator.cpp. +

+References _ConcsVal, _CondsVal, and NLMISC::IStream::serial.

+

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

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

+ +

+Implements NLAIC::IBasicType. +

+Definition at line 142 of file bool_operator.cpp. +

+References CBoolOperator.

+

+ + + + +
+ + + + + + + + + +
float NLAILOGIC::CBoolOperator::priority   const [virtual]
+
+ + + + + +
+   + + +

+Priority of the operator. +

+ +

+Implements NLAILOGIC::IBaseOperator. +

+Definition at line 255 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + + + + + +
std::list< CFact * > * NLAILOGIC::CBoolOperator::propagate std::list< CFact * > &   [virtual]
+
+ + + + + +
+   + + +

+ +

+Implements NLAILOGIC::IBaseOperator. +

+Definition at line 212 of file bool_operator.cpp. +

+References NLAILOGIC::IBaseOperator::_Concs, _ConcsVal, NLAILOGIC::IBaseOperator::_Conds, _CondsVal, and NLAILOGIC::IBaseOperator::test. +

+Referenced by forward.

+

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

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

+ +

+Implements NLAILOGIC::IBaseBoolType. +

+Definition at line 250 of file bool_operator.cpp.

+

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

+Save the class in a stream. +

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 60 of file bool_operator.cpp. +

+References NLAILOGIC::IBaseOperator::_Concs, _ConcsVal, NLAILOGIC::IBaseOperator::_Conds, _CondsVal, NLMISC::IStream::serial, and NLAILOGIC::IBaseOperator::test.

+

+ + + + +
+ + + + + + + + + + +
void NLAILOGIC::CBoolOperator::success IBaseOperator  [virtual]
+
+ + + + + +
+   + + +

+Dependencies failure and success notification These functions are called by other operators or goals who failed or succeeded. +

+ +

+Implements NLAILOGIC::IBaseOperator. +

+Definition at line 268 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + + + + +
void NLAILOGIC::CBoolOperator::success   [virtual]
+
+ + + + + +
+   + + +

+Own success and failure functions These function telle other operators and goals that might be waiting for the execution of this one. +

+ +

+Implements NLAILOGIC::IBaseOperator. +

+Definition at line 260 of file bool_operator.cpp.

+

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

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

+ +

+Implements NLAILOGIC::IBaseBoolType. +

+Definition at line 194 of file bool_operator.cpp. +

+References isTrue.

+


Member Data Documentation

+

+ + + + +
+ + +
char* NLAILOGIC::CBoolOperator::_Comment [private] +
+
+ + + + + +
+   + + +

+Description of the operator. +

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 36 of file bool_operator.h.

+

+ + + + +
+ + +
std::vector<bool> NLAILOGIC::CBoolOperator::_ConcsVal [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 38 of file bool_operator.h. +

+Referenced by addPostcondition, clone, getDebugString, load, propagate, and save.

+

+ + + + +
+ + +
std::vector<bool> NLAILOGIC::CBoolOperator::_CondsVal [private] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 37 of file bool_operator.h. +

+Referenced by addPrecondition, backward, clone, getDebugString, isTrue, load, propagate, and save.

+

+ + + + +
+ + +
const NLAIC::CIdentType CBoolOperator::IdBoolOperator [static] +
+
+ + + + + +
+   + + +

+Initial value:

+

+Definition at line 525 of file static_def_init.cpp. +

+Referenced by getType.

+


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