10 #ifndef TUNCERTAINTYPATH_H
11 #define TUNCERTAINTYPATH_H
27 namespace mrpt {
namespace graphslam {
37 template<
class GRAPH_T=
typename mrpt::graphs::CNetworkOfPoses2DInf>
44 typedef typename constraint_t::type_value
pose_t;
91 const self_t& other)
const;
107 o <<
obj.getAsString() << endl;
This class allows loading and storing values and vectors of different types from a configuration text...
This is a virtual base class for sets of options than can be loaded from and/or saved to configuratio...
This base class is used to provide a unified interface to files,memory buffers,..Please see the deriv...
GLsizei GLsizei GLuint * obj
GLsizei const GLchar ** string
GLsizei GLsizei GLchar * source
uint64_t TNodeID
The type for node IDs in graphs of different types.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
Holds the data of an information path.
void assertIsBetweenNodeIDs(const mrpt::utils::TNodeID &from, const mrpt::utils::TNodeID &to) const
Assert that the current path is between the given nodeIDs.
std::string getAsString() const
void loadFromConfigFile(const mrpt::utils::CConfigFileBase &source, const std::string §ion)
This method load the options from a ".ini"-like file or memory-stored string list.
bool operator==(const self_t &other) const
void dumpToTextStream(mrpt::utils::CStream &out) const
This method should clearly display all the contents of the structure in textual form,...
double determinant_cached
self_t & operator+=(const self_t &other)
void addToPath(const mrpt::utils::TNodeID &node, const constraint_t &edge)
add a new link in the current path.
bool operator!=(const self_t &other) const
std::vector< mrpt::utils::TNodeID > nodes_traversed
Nodes that the Path comprises of.
const mrpt::utils::TNodeID & getSource() const
Return the source node of this path.
GRAPH_T::constraint_t constraint_t
Handy typedefs.
bool determinant_is_updated
Determine whether the determinant of the Path is up-to-date and can be directly fetched or has to be ...
TUncertaintyPath< GRAPH_T > self_t
constraint_t curr_pose_pdf
Current path position + corresponding covariance.
bool hasLowerUncertaintyThan(const self_t &other) const
Test if the current path has a lower uncertainty than the other path.
constraint_t::type_value pose_t
type of underlying poses (2D/3D).
const mrpt::utils::TNodeID & getDestination() const
Return the Destination node of this path.
friend std::ostream & operator<<(std::ostream &o, const self_t &obj)