4 #include "ActionTemplate.hh"
17 bool IsLegal(
const WorldState& worldState)
const;
18 double GetCost(
const WorldState& worldState)
const;
19 const std::vector<unsigned int>& GetArgumentIndices()
const;
20 void ApplyToState(
WorldState& worldState)
const;
21 const std::string& GetName()
const;
27 std::vector<unsigned int> argumentIndices{};
28 static thread_local std::vector<WorldObject*> effectFunctionArguments;
29 static thread_local std::vector<const WorldObject*> preconditionFunctionArguments;
A class representing an action that can be simulated by grail planner.
Definition: ActionTemplate.hh:21
A class representing planner world state.
Definition: WorldState.hh:15