|
|
|
|
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:
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::CIdentType & | getType () const |
| getType return a unique string how represente the class, it can be the name of the class. More...
|
virtual const NLAIC::IBasicType * | clone () 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::IBasicType * | newInstance () 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::CProcessResult & | run () |
| 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 |
( |
|
) |
|
|
NLAILOGIC::CBoolOperator::CBoolOperator |
( |
char * |
n |
) |
|
|
NLAILOGIC::CBoolOperator::CBoolOperator |
( |
CBoolOperator & |
|
) |
|
|
Member Function Documentation
void NLAILOGIC::CBoolOperator::addPostcondition |
( |
IBaseAssert * |
, |
|
|
bool |
|
|
) |
[virtual] |
|
void NLAILOGIC::CBoolOperator::addPrecondition |
( |
IBaseAssert * |
, |
|
|
bool |
|
|
) |
[virtual] |
|
void NLAILOGIC::CBoolOperator::failure |
( |
IBaseOperator * |
|
) |
[virtual] |
|
void NLAILOGIC::CBoolOperator::failure |
( |
|
) |
[virtual] |
|
void NLAILOGIC::CBoolOperator::forward |
( |
std::vector< bool > & |
|
) |
|
|
void NLAILOGIC::CBoolOperator::getDebugString |
( |
std::string & |
|
) |
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 CBoolOperator & |
|
) |
const [virtual] |
|
bool NLAILOGIC::CBoolOperator::isTrue |
( |
|
) |
const [virtual] |
|
bool NLAILOGIC::CBoolOperator::isValid |
( |
CFactBase * |
|
) |
[virtual] |
|
float NLAILOGIC::CBoolOperator::priority |
( |
|
) |
const [virtual] |
|
const IObjectIA::CProcessResult & NLAILOGIC::CBoolOperator::run |
( |
|
) |
[virtual] |
|
void NLAILOGIC::CBoolOperator::success |
( |
IBaseOperator * |
|
) |
[virtual] |
|
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] |
|
Member Data Documentation
char* NLAILOGIC::CBoolOperator::_Comment [private]
|
|
std::vector<bool> NLAILOGIC::CBoolOperator::_ConcsVal [private]
|
|
std::vector<bool> NLAILOGIC::CBoolOperator::_CondsVal [private]
|
|
The documentation for this class was generated from the following files:
|
|