Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
g2o::EstimatePropagator Class Reference

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, VertexIDHashFunctionAdjacencyMap
 
typedef EstimatePropagatorCost PropagateCost
 

Public Member Functions

AdjacencyMapadjacencyMap ()
 
 EstimatePropagator (OptimizableGraph *g)
 
OptimizableGraphgraph ()
 
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::VertexSetvisited ()
 

Protected Member Functions

void reset ()
 

Protected Attributes

AdjacencyMap _adjacencyMap
 
OptimizableGraph_graph
 
OptimizableGraph::VertexSet _visited
 

Detailed Description

propagation of an initial guess

Definition at line 75 of file estimate_propagator.h.

Member Typedef Documentation

Definition at line 138 of file estimate_propagator.h.

Definition at line 91 of file estimate_propagator.h.

Constructor & Destructor Documentation

g2o::EstimatePropagator::EstimatePropagator ( OptimizableGraph g)

Definition at line 66 of file estimate_propagator.cpp.

Member Function Documentation

AdjacencyMap& g2o::EstimatePropagator::adjacencyMap ( )
inline

Definition at line 143 of file estimate_propagator.h.

OptimizableGraph* g2o::EstimatePropagator::graph ( )
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.

void g2o::EstimatePropagator::reset ( )
protected

Definition at line 75 of file estimate_propagator.cpp.

OptimizableGraph::VertexSet& g2o::EstimatePropagator::visited ( )
inline

Definition at line 142 of file estimate_propagator.h.

Member Data Documentation

AdjacencyMap g2o::EstimatePropagator::_adjacencyMap
protected

Definition at line 169 of file estimate_propagator.h.

OptimizableGraph* g2o::EstimatePropagator::_graph
protected

Definition at line 171 of file estimate_propagator.h.

OptimizableGraph::VertexSet g2o::EstimatePropagator::_visited
protected

Definition at line 170 of file estimate_propagator.h.


The documentation for this class was generated from the following files:


orb_slam2_with_maps_odom
Author(s): teng zhang
autogenerated on Fri Sep 25 2020 03:24:47