#include <AbstractStateFactory.h>
Public Member Functions | |
| opl::interface::AbstractState * | createState (const ObjectTypeMap &objects, const PredicateMapping &predicateMapping, const FunctionMapping &functionMapping, const modules::PredicateList &predicateConstants, const modules::NumericalFluentList &numericConstants) |
Protected Member Functions | |
| void | createFluentMapping (AbstractState *state, const std::pair< const std::string,::VarVal > &mapping) |
| predicate / object fluent mappings | |
| void | createFluentMapping (AbstractState *state, const std::pair< const std::string, int > &mapping) |
| numeric fluent mappings | |
| void | createFluentMapping (AbstractState *state, modules::Predicate fluent) |
| constant predicate / object mappings | |
| void | createFluentMapping (AbstractState *state, const modules::NumericalFluent &fluent) |
| numeric constant mappings | |
| virtual AbstractState * | instantiateState (const ObjectTypeMap &objects)=0 |
Definition at line 20 of file AbstractStateFactory.h.
| void opl::interface::AbstractStateFactory::createFluentMapping | ( | AbstractState * | state, |
| const std::pair< const std::string,::VarVal > & | mapping | ||
| ) | [protected] |
predicate / object fluent mappings
Definition at line 52 of file AbstractStateFactory.cpp.
| void opl::interface::AbstractStateFactory::createFluentMapping | ( | AbstractState * | state, |
| const std::pair< const std::string, int > & | mapping | ||
| ) | [protected] |
numeric fluent mappings
Definition at line 79 of file AbstractStateFactory.cpp.
| void opl::interface::AbstractStateFactory::createFluentMapping | ( | AbstractState * | state, |
| modules::Predicate | fluent | ||
| ) | [protected] |
constant predicate / object mappings
Definition at line 93 of file AbstractStateFactory.cpp.
| void opl::interface::AbstractStateFactory::createFluentMapping | ( | AbstractState * | state, |
| const modules::NumericalFluent & | fluent | ||
| ) | [protected] |
numeric constant mappings
Definition at line 123 of file AbstractStateFactory.cpp.
| opl::interface::AbstractState * opl::interface::AbstractStateFactory::createState | ( | const ObjectTypeMap & | objects, |
| const PredicateMapping & | predicateMapping, | ||
| const FunctionMapping & | functionMapping, | ||
| const modules::PredicateList & | predicateConstants, | ||
| const modules::NumericalFluentList & | numericConstants | ||
| ) |
Definition at line 18 of file AbstractStateFactory.cpp.
| virtual AbstractState* opl::interface::AbstractStateFactory::instantiateState | ( | const ObjectTypeMap & | objects | ) | [protected, pure virtual] |