Aikido
aikido::planner::World::State Struct Reference

#include <aikido/planner/World.hpp>

Public Member Functions

bool operator== (const State &other) const
 Returns true if two world states have the same skeletons with same configurations. More...
 
bool operator!= (const State &other) const
 Returns true if two world states are not the same. More...
 

Public Attributes

std::unordered_map< std::string, dart::dynamics::Skeleton::Configuration > configurations
 

Member Function Documentation

◆ operator!=()

bool aikido::planner::World::State::operator!= ( const State other) const

Returns true if two world states are not the same.

Parameters
otherState to compare against.
Returns
bool True if the two states are not the same.

◆ operator==()

bool aikido::planner::World::State::operator== ( const State other) const

Returns true if two world states have the same skeletons with same configurations.

Parameters
otherState to compare against.
Returns
bool True if the two states are the same.

Member Data Documentation

◆ configurations

std::unordered_map<std::string, dart::dynamics::Skeleton::Configuration> aikido::planner::World::State::configurations