10 #ifndef TUNCERTAINTYPATH_H 11 #define TUNCERTAINTYPATH_H 28 template <
class GRAPH_T =
typename mrpt::graphs::CNetworkOfPoses2DInf>
36 using pose_t =
typename constraint_t::type_value;
97 o <<
obj.getAsString() << endl;
const mrpt::graphs::TNodeID & getSource() const
Return the source node of this path.
bool determinant_is_updated
Determine whether the determinant of the Path is up-to-date and can be directly fetched or has to be ...
std::string getAsString() const
Holds the data of an information path.
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
typename constraint_t::type_value pose_t
type of underlying poses (2D/3D).
GLsizei GLsizei GLuint * obj
const mrpt::graphs::TNodeID & getDestination() const
Return the Destination node of this path.
SLAM methods related to graphs of pose constraints.
This class allows loading and storing values and vectors of different types from a configuration text...
constraint_t curr_pose_pdf
Current path position + corresponding covariance.
friend std::ostream & operator<<(std::ostream &o, const self_t &obj)
GLsizei const GLchar ** string
bool hasLowerUncertaintyThan(const self_t &other) const
Test if the current path has a lower uncertainty than the other path.
void addToPath(const mrpt::graphs::TNodeID &node, const constraint_t &edge)
add a new link in the current path.
double determinant_cached
bool operator==(const self_t &other) const
bool operator!=(const self_t &other) const
GLsizei GLsizei GLchar * source
void loadFromConfigFile(const mrpt::config::CConfigFileBase &source, const std::string §ion)
This method load the options from a ".ini"-like file or memory-stored string list.
uint64_t TNodeID
A generic numeric type for unique IDs of nodes or entities.
self_t & operator+=(const self_t &other)
std::vector< mrpt::graphs::TNodeID > nodes_traversed
Nodes that the Path comprises of.
void assertIsBetweenNodeIDs(const mrpt::graphs::TNodeID &from, const mrpt::graphs::TNodeID &to) const
Assert that the current path is between the given nodeIDs.
typename GRAPH_T::constraint_t constraint_t
Handy typedefs.
void dumpToTextStream(std::ostream &out) const
This method should clearly display all the contents of the structure in textual form, sending it to a std::ostream.