Public Methods |
| CFirstOrderAssert (const NLAIAGENT::IVarName &n, sint32 nb_vars = 0) |
| CFirstOrderAssert (const CFirstOrderAssert &) |
virtual | ~CFirstOrderAssert () |
void | connectClause (CClause *, std::vector<sint32> &) |
void | addFact (CVarSet *f) |
void | addFact (CValueSet *) |
void | removeFact (CFact *f) |
void | addClause (CClause *CClause, std::vector<sint32> &posvars) |
const std::vector<CClause *>& | getClauses () |
void | addInput (CClause *, std::vector<sint32> &posvars ) |
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 (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...
|
bool | isEqual (const NLAIAGENT::IBasicObjectIA &a) const |
virtual bool | isEqual (const CFirstOrderAssert &) const |
virtual const IObjectIA::CProcessResult& | run () |
| Some where Run method define the process of the agen. More...
|
virtual bool | isTrue () const |
| throw (NLAIE::CExceptionNotImplemented). 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 void | init (NLAIAGENT::IObjectIA *) |
| Init method alows to init the attribut of an object. More...
|
virtual sint32 | nbVars () const |
void | backward (CValueSet *, std::list<CValueSet *> &) |
std::list<CFact *>* | backward (CFact *) |
std::list<CFact *>* | getFacts () const |
Static Public Attributes |
const NLAIC::CIdentType | IdFirstOrderAssert |
Private Methods |
sint32 | findAssert (IBaseAssert *) |
Private Attributes |
std::vector< std::vector<sint32> > | _PosVars |
std::list<CValueSet *> | _Facts |
sint32 | _NbVars |
std::vector<CClause *> | _Clauses |
std::vector< std::vector<sint32> > | _PosVarsInputs |