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

Inheritance graph
+ + + + + + + + + + + + +
[legend]
Collaboration diagram for NLAILOGIC::CBoolOperator:

Collaboration graph
+ + + + + + + + + + + + + + + + + + + +
[legend]
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 (char *text) 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.

+

+ + + + +
+ + + + + + +
+NLAILOGIC::CBoolOperator::CBoolOperator ( + +char * c ) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 31 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + +
+NLAILOGIC::CBoolOperator::CBoolOperator ( + +CBoolOperator & c ) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 35 of file bool_operator.cpp.

+


Member Function Documentation

+

+ + + + +
+ + + + + + + + + + +
+void NLAILOGIC::CBoolOperator::addPostcondition ( + +IBaseAssert * a, +
+bool v ) [virtual] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 119 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + + + + + +
+void NLAILOGIC::CBoolOperator::addPrecondition ( + +IBaseAssert * a, +
+bool v ) [virtual] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 111 of file bool_operator.cpp.

+

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

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 203 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + + + + + +
+std::list< CFact *>* NLAILOGIC::CBoolOperator::backward ( + +std::list< IBaseAssert *>& conds, +
+std::list< bool >& vals ) +
+
+ + + + + +
+   + + +

+ +

+Definition at line 49 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + +
+const NLAIC::IBasicType * NLAILOGIC::CBoolOperator::clone ( + +void ) const [virtual] +
+
+ + + + + +
+   + + +

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

+ +

+Reimplemented from NLAIC::IBasicType. +

+Definition at line 127 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + +
+void NLAILOGIC::CBoolOperator::failure ( + +IBaseOperator * ) [virtual] +
+
+ + + + + +
+   + + +

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 273 of file bool_operator.cpp.

+

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

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 265 of file bool_operator.cpp.

+

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

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 208 of file bool_operator.cpp.

+

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

+

+

+ + + + +
+ + + + + + +
+void NLAILOGIC::CBoolOperator::getDebugString ( + +char * text ) 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. +

+ +

+Reimplemented from NLAIC::IBasicType. +

+Definition at line 149 of file bool_operator.cpp.

+

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

+Reimplemented from NLAIC::IBasicType. +

+Definition at line 190 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + +
+bool NLAILOGIC::CBoolOperator::isEqual ( + +const NLAIAGENT::IBasicObjectIA & a ) const +
+
+ + + + + +
+   + + +

+

+

+ + + + +
+ + + + + + +
+bool NLAILOGIC::CBoolOperator::isEqual ( + +const CBoolOperator & a ) const [virtual] +
+
+ + + + + +
+   + + +

+ +

+Definition at line 180 of file bool_operator.cpp.

+

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

+throw (NLAIE::CExceptionNotImplemented). +

+ +

+Reimplemented from NLAIAGENT::IObjetOp. +

+Definition at line 39 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + +
+bool NLAILOGIC::CBoolOperator::isValid ( + +CFactBase * fb ) [virtual] +
+
+ + + + + +
+   + + +

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

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 106 of file bool_operator.cpp.

+

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

+Load the class from a stream. +

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 83 of file bool_operator.cpp.

+

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

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

+ +

+Reimplemented from NLAIC::IBasicType. +

+Definition at line 143 of file bool_operator.cpp.

+

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

+Priority of the operator. +

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 256 of file bool_operator.cpp.

+

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

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 213 of file bool_operator.cpp.

+

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

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

+ +

+Reimplemented from NLAILOGIC::IBaseBoolType. +

+Definition at line 251 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 61 of file bool_operator.cpp.

+

+ + + + +
+ + + + + + +
+void NLAILOGIC::CBoolOperator::success ( + +IBaseOperator * ) [virtual] +
+
+ + + + + +
+   + + +

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

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 269 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. +

+ +

+Reimplemented from NLAILOGIC::IBaseOperator. +

+Definition at line 261 of file bool_operator.cpp.

+

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

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

+ +

+Reimplemented from NLAILOGIC::IBaseBoolType. +

+Definition at line 195 of file bool_operator.cpp.

+


Member Data Documentation

+

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

+Initializer:

NLAIC::CIdentType( "BoolOperator", NLAIC::CSelfClassFactory(CBoolOperator()), 
+                NLAIC::CTypeOfObject::tLogic,
+                NLAIC::CTypeOfOperator::opAdd )
+

+Definition at line 416 of file static_def_init.cpp.

+

+ + + + +
+ + + + + +
+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.

+

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

+ +

+Definition at line 37 of file bool_operator.h.

+


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