|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLAILOGIC::CFirstOrderAssert Class Reference#include <fo_assert.h>
Inheritance diagram for NLAILOGIC::CFirstOrderAssert:
List of all members.
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 (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...
|
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 |
NLAIAGENT::CVolatilMemmory | _Facts |
sint32 | _NbVars |
std::vector< CClause * > | _Clauses |
std::vector< std::vector<
sint32 > > | _PosVarsInputs |
Constructor & Destructor Documentation
NLAILOGIC::CFirstOrderAssert::CFirstOrderAssert |
( |
const CFirstOrderAssert & |
|
) |
|
|
NLAILOGIC::CFirstOrderAssert::~CFirstOrderAssert |
( |
|
) |
[virtual] |
|
Member Function Documentation
void NLAILOGIC::CFirstOrderAssert::addClause |
( |
CClause * |
CClause, |
|
|
std::vector< sint32 > & |
posvars |
|
) |
|
|
void NLAILOGIC::CFirstOrderAssert::addFact |
( |
CValueSet * |
|
) |
[virtual] |
|
void NLAILOGIC::CFirstOrderAssert::addFact |
( |
CVarSet * |
f |
) |
[virtual] |
|
void NLAILOGIC::CFirstOrderAssert::addInput |
( |
CClause * |
, |
|
|
std::vector< sint32 > & |
posvars |
|
) |
|
|
void NLAILOGIC::CFirstOrderAssert::connectClause |
( |
CClause * |
, |
|
|
std::vector< sint32 > & |
|
|
) |
|
|
const std::vector< CClause * > & NLAILOGIC::CFirstOrderAssert::getClauses |
( |
|
) |
|
|
void NLAILOGIC::CFirstOrderAssert::getDebugString |
( |
std::string & |
|
) |
const [virtual] |
|
std::list< CFact * > * NLAILOGIC::CFirstOrderAssert::getFacts |
( |
|
) |
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 NLAILOGIC::IBaseAssert.
Definition at line 197 of file fo_assert.cpp.
References IdFirstOrderAssert. |
bool NLAILOGIC::CFirstOrderAssert::isEqual |
( |
const CFirstOrderAssert & |
|
) |
const [virtual] |
|
bool NLAILOGIC::CFirstOrderAssert::isTrue |
( |
|
) |
const [virtual] |
|
sint32 NLAILOGIC::CFirstOrderAssert::nbVars |
( |
|
) |
const [virtual] |
|
const NLAIC::IBasicType * NLAILOGIC::CFirstOrderAssert::newInstance |
( |
|
) |
const [virtual] |
|
void NLAILOGIC::CFirstOrderAssert::removeFact |
( |
CFact * |
f |
) |
[virtual] |
|
const IObjectIA::CProcessResult & NLAILOGIC::CFirstOrderAssert::run |
( |
|
) |
[virtual] |
|
Member Data Documentation
std::vector<CClause *> NLAILOGIC::CFirstOrderAssert::_Clauses [private]
|
|
sint32 NLAILOGIC::CFirstOrderAssert::_NbVars [private]
|
|
std::vector< std::vector<sint32> > NLAILOGIC::CFirstOrderAssert::_PosVars [private]
|
|
std::vector< std::vector<sint32> > NLAILOGIC::CFirstOrderAssert::_PosVarsInputs [private]
|
|
The documentation for this class was generated from the following files:
|
|