9 #ifndef CHierarchicalMapMHPartition_H
10 #define CHierarchicalMapMHPartition_H
25 namespace poses {
class CPose3DPDFParticles; }
70 size_t nodeCount()
const;
74 size_t arcCount()
const;
79 CHMHMapNodePtr getFirstNode();
114 void saveAreasDiagramForMATLAB(
124 void saveAreasDiagramWithEllipsedForMATLAB(
128 float uncertaintyExagerationFactor = 1.0f,
129 bool drawArcs =
false,
130 unsigned int numberOfIterationsForOptimalGlobalPoses = 4
138 void saveGlobalMapForMATLAB(
147 void findPathBetweenNodes(
152 bool direction=
false)
const;
159 void computeCoordinatesTransformationBetweenNodes(
164 unsigned int particlesCount = 100,
165 float additionalNoiseXYratio = 0.02,
172 float computeMatchProbabilityBetweenNodes(
178 unsigned int monteCarloSamplesPose = 300
183 void findArcsBetweenNodes(
191 void findArcsOfTypeBetweenNodes(
201 CHMHMapArcPtr findArcOfTypeBetweenNodes(
206 bool &isInverted )
const;
210 bool areNodesNeightbour(
214 const char *requiredAnnotation=NULL )
const;
221 void computeGloballyConsistentNodeCoordinates(
225 const unsigned int &numberOfIterations = 2)
const;
234 const unsigned int &numberOfIterationsForOptimalGlobalPoses = 5,
235 const bool &showRobotPoseIDs =
true
247 double computeOverlapProbabilityBetweenNodes(
251 const size_t &monteCarloSamples = 100,
252 const float margin_to_substract = 6
mrpt::utils::TNodeID TNodeID
The type of the IDs of nodes.
Represents a set of nodes and arcs, posibly only a part of the whole hierarchical,...
iterator begin()
Returns an iterator to the first node in the graph.
iterator end()
Returns an iterator to the end of the list of nodes in the graph.
const_iterator begin() const
Returns an iterator to the first node in the graph.
const_iterator end() const
Returns an iterator to the end of the list of nodes in the graph.
TNodeList::const_iterator const_iterator
TNodeList m_nodes
The internal list of nodes and arcs in the whole hierarchical model.
TNodeList::iterator iterator
CHierarchicalMapMHPartition()
std::vector< CHMHMapNode::TNodeID > TNodeIDsList
A type that reprensents a sequence of node IDs.
A class for storing a sequence of arcs (a path).
This class allows the user to create, load, save, and render 3D scenes using OpenGL primitives.
Declares a class that represents a Probability Density function (PDF) of a 3D pose .
Declares a class that represents a Probability Density function (PDF) of a 3D pose.
Declares a class that represents a Probability Density function (PDF) of a 3D(6D) pose .
A class for storing a list of text lines.
const Scalar * const_iterator
GLsizei const GLchar ** string
std::map< CHMHMapNode::TNodeID, CHMHMapNodePtr > TNodeList
A map between node IDs and nodes (used in HMT-SLAM).
int64_t THypothesisID
An integer number uniquely identifying each of the concurrent hypotheses for the robot topological pa...
double DEG2RAD(const double x)
Degrees to radians.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.