|
| Domain (const std::vector< WorldObjectType > &types) |
|
| Domain (const Domain &other)=delete |
|
| Domain (Domain &&other)=delete |
|
Domain & | operator= (Domain &&other)=delete |
|
Domain & | operator= (const Domain &)=delete |
|
void | AddActionTemplate (const std::string &name, const std::vector< std::string > ¶mNames, PreconditionFunction preconditionFunction, EffectFunction effectFunction, CostFunction costFunction) |
|
WorldObject | CreateObjectOfType (const std::string &name) const |
| Creates and object of a type identified by name parameter.
|
|
unsigned int | GetTypeIndex (const std::string &typeName) const |
|
|
std::vector< std::string > | objectTypes {} |
|
std::vector< WorldObjectType > | types {} |
|
std::map< std::string, unsigned int > | typemap {} |
|
std::vector< ActionTemplate > | actionTemplates {} |
|
◆ Domain()
grail::planner::Domain::Domain |
( |
const std::vector< WorldObjectType > & |
types | ) |
|
- Parameters
-
types | - the vector of all possible world object types |
◆ AddActionTemplate()
void grail::planner::Domain::AddActionTemplate |
( |
const std::string & |
name, |
|
|
const std::vector< std::string > & |
paramNames, |
|
|
PreconditionFunction |
preconditionFunction, |
|
|
EffectFunction |
effectFunction, |
|
|
CostFunction |
costFunction |
|
) |
| |
◆ GetTypeIndex()
unsigned int grail::planner::Domain::GetTypeIndex |
( |
const std::string & |
typeName | ) |
const |
- Returns
- The generated type index for a given type name
The documentation for this struct was generated from the following files:
- GrailPlanners/Planner/Domain.hh
- GrailPlanners/Planner/Domain.cpp