27#ifndef G2O_ESTIMATE_PROPAGATOR_H
28#define G2O_ESTIMATE_PROPAGATOR_H
33#include <unordered_map>
53 virtual std::string_view
name()
const {
return "spanning tree"; }
72 std::string_view
name()
const override {
return "odometry"; }
145 VertexIDHashFunction>
163 double maxDistance = std::numeric_limits<double>::max(),
164 double maxEdgeCost = std::numeric_limits<double>::max());
174 double maxDistance = std::numeric_limits<double>::max(),
175 double maxEdgeCost = std::numeric_limits<double>::max());
cost for traversing only odometry edges.
std::string_view name() const override
cost for traversing along active edges in the optimizer
virtual std::string_view name() const
data structure for loopuk during Dijkstra
int frontierLevel() const
PriorityQueue::iterator queueIt
OptimizableGraph::VertexSet _parent
OptimizableGraph::Edge * _edge
const OptimizableGraph::VertexSet & parent() const
OptimizableGraph::Vertex * _child
OptimizableGraph::Edge * edge() const
OptimizableGraph::Vertex * child() const
priority queue for AdjacencyMapEntry
hash function for a vertex
size_t operator()(const OptimizableGraph::Vertex *v) const
propagation of an initial guess
OptimizableGraph::VertexSet _visited
AdjacencyMap & adjacencyMap()
OptimizableGraph * graph()
OptimizableGraph::VertexSet & visited()
EstimatePropagatorCost PropagateCost
std::unordered_map< OptimizableGraph::Vertex *, AdjacencyMapEntry, VertexIDHashFunction > AdjacencyMap
OptimizableGraph * _graph
AdjacencyMap _adjacencyMap
int id() const
returns the id
std::set< Vertex * > VertexSet
virtual void initialEstimate(const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to)=0
A general case Vertex for optimization.
bool fixed() const
true => this node is fixed during the optimization
Applying the action for propagating.
virtual void operator()(OptimizableGraph::Edge *e, const OptimizableGraph::VertexSet &from, OptimizableGraph::Vertex *to) const