37 #ifndef OMPL_CONTROL_PLANNERS_LTL_WORLD_ 38 #define OMPL_CONTROL_PLANNERS_LTL_WORLD_ 40 #include <unordered_map> 56 struct hash<
ompl::control::World>
75 World(
unsigned int numProps);
79 bool operator[](
unsigned int i)
const;
83 bool& operator[](
unsigned int i);
87 unsigned int numProps(
void)
const;
92 bool satisfies(
const World& w)
const;
96 std::string formula(
void)
const;
100 const std::unordered_map<unsigned int, bool>& props(
void)
const;
104 bool operator==(
const World& w)
const;
109 friend struct std::hash<World>;
112 unsigned int numProps_;
113 std::unordered_map<unsigned int, bool> props_;
A class to represent an assignment of boolean values to propositions. A World can be partially restri...
Main namespace. Contains everything in this library.