|
| WorldState (MemoryPool &memory) |
|
| WorldState (const std::shared_ptr< Domain > &domain, const std::vector< WorldObject > &worldObjects, MemoryPool &memory) |
|
| WorldState (const WorldState &other) |
|
| WorldState (WorldState &&other)=default |
|
WorldState & | operator= (const WorldState &other) |
|
WorldState & | operator= (WorldState &&other)=default |
|
bool | operator== (const WorldState &other) const |
|
std::vector< class Action > | GetLegalActions () const |
|
std::vector< std::vector< unsigned int > > | GenerateParameterLists (const std::vector< std::vector< unsigned int >> &precedingParameterLists, unsigned int searchedTypeIndex) const |
|
const WorldObject * | GetObjectByIndex (unsigned int index) const |
|
WorldObject * | GetObjectByIndex (unsigned int index) |
|
const std::map< unsigned int, WorldObject > & | GetObjectMap () const |
|
std::shared_ptr< Domain > | GetDomain () const |
|
WorldObject & | AddObject (const std::string &typeName) |
|
void | RemoveObject (unsigned int objectIndex) |
|
void | AddQueuedObjects () |
|
void | RemoveQueuedObjects () |
|
std::vector< const WorldObject * > | GetObjectsOfType (const std::string &typeName) const |
|
std::vector< WorldObject * > | GetObjectsOfType (const std::string &typeName) |
|
int | CountObjectsOfType (const std::string &typeName) const |
|
void | MergeParameters (const ParametrizedObject &other) |
|
std::size_t | GetParametersSize () const |
|
bool | Contains (const std::string ¶mName) const |
|
template<typename ParameterType > |
void | SetParameter (const std::string ¶mName, const ParameterType ¶mValue) |
|
template<typename ParameterType > |
ParameterType | GetParameterValue (const std::string ¶mName) const |
|
bool | CollectionContains (const std::string &collectionName, unsigned int objectIndex) const |
|
void | AddCollection (const std::string &collectionName) |
| Creates a new id collection under the given name.
|
|
std::set< unsigned int > * | GetCollection (const std::string &name) |
|
const std::set< unsigned int > * | GetCollection (const std::string &name) const |
|
bool | HasEqualParams (const ParametrizedObject &other) const |
|
void | SerializeForGUI (std::map< std::string, std::string > &nameValues) const |
|
void | SetSerializeForGUIFunction (std::function< void(const ParametrizedObject &object, std::map< std::string, std::string > &nameValues)> function) |
|
ParametrizedObject & | operator= (const ParametrizedObject &other) |
|
ParametrizedObject & | operator= (ParametrizedObject &&other)=delete |
|
A class representing planner world state.