propagation of an initial guess More...
#include <estimate_propagator.h>
Classes | |
| class | AdjacencyMapEntry |
| data structure for loopuk during Dijkstra More... | |
| class | PriorityQueue |
| priority queue for AdjacencyMapEntry More... | |
| struct | PropagateAction |
| Applying the action for propagating. More... | |
| class | VertexIDHashFunction |
| hash function for a vertex More... | |
Public Types | |
| typedef std::tr1::unordered_map< OptimizableGraph::Vertex *, AdjacencyMapEntry, VertexIDHashFunction > | AdjacencyMap |
| typedef EstimatePropagatorCost | PropagateCost |
Public Member Functions | |
| AdjacencyMap & | adjacencyMap () |
| EstimatePropagator (OptimizableGraph *g) | |
| OptimizableGraph * | graph () |
| void | propagate (OptimizableGraph::Vertex *v, const EstimatePropagator::PropagateCost &cost, const EstimatePropagator::PropagateAction &action=PropagateAction(), double maxDistance=std::numeric_limits< double >::max(), double maxEdgeCost=std::numeric_limits< double >::max()) |
| void | propagate (OptimizableGraph::VertexSet &vset, const EstimatePropagator::PropagateCost &cost, const EstimatePropagator::PropagateAction &action=PropagateAction(), double maxDistance=std::numeric_limits< double >::max(), double maxEdgeCost=std::numeric_limits< double >::max()) |
| OptimizableGraph::VertexSet & | visited () |
Protected Member Functions | |
| void | reset () |
Protected Attributes | |
| AdjacencyMap | _adjacencyMap |
| OptimizableGraph * | _graph |
| OptimizableGraph::VertexSet | _visited |
propagation of an initial guess
Definition at line 75 of file estimate_propagator.h.
| typedef std::tr1::unordered_map<OptimizableGraph::Vertex*, AdjacencyMapEntry, VertexIDHashFunction> g2o::EstimatePropagator::AdjacencyMap |
Definition at line 138 of file estimate_propagator.h.
Definition at line 91 of file estimate_propagator.h.
| g2o::EstimatePropagator::EstimatePropagator | ( | OptimizableGraph * | g | ) |
Definition at line 66 of file estimate_propagator.cpp.
|
inline |
Definition at line 143 of file estimate_propagator.h.
|
inline |
Definition at line 144 of file estimate_propagator.h.
| void g2o::EstimatePropagator::propagate | ( | OptimizableGraph::Vertex * | v, |
| const EstimatePropagator::PropagateCost & | cost, | ||
| const EstimatePropagator::PropagateAction & | action = PropagateAction(), |
||
| double | maxDistance = std::numeric_limits<double>::max(), |
||
| double | maxEdgeCost = std::numeric_limits<double>::max() |
||
| ) |
propagate an initial guess starting from v. The function computes a spanning tree whereas the cost for each edge is determined by calling cost() and the action applied to each vertex is action().
Definition at line 86 of file estimate_propagator.cpp.
| void g2o::EstimatePropagator::propagate | ( | OptimizableGraph::VertexSet & | vset, |
| const EstimatePropagator::PropagateCost & | cost, | ||
| const EstimatePropagator::PropagateAction & | action = PropagateAction(), |
||
| double | maxDistance = std::numeric_limits<double>::max(), |
||
| double | maxEdgeCost = std::numeric_limits<double>::max() |
||
| ) |
same as above but starting to propagate from a set of vertices instead of just a single one.
Definition at line 97 of file estimate_propagator.cpp.
|
protected |
Definition at line 75 of file estimate_propagator.cpp.
|
inline |
Definition at line 142 of file estimate_propagator.h.
|
protected |
Definition at line 169 of file estimate_propagator.h.
|
protected |
Definition at line 171 of file estimate_propagator.h.
|
protected |
Definition at line 170 of file estimate_propagator.h.