g2o
|
#include <hyper_dijkstra.h>
Classes | |
struct | AdjacencyMapEntry |
struct | CostFunction |
struct | TreeAction |
Public Types | |
typedef std::map< HyperGraph::Vertex *, AdjacencyMapEntry > | AdjacencyMap |
Public Member Functions | |
HyperDijkstra (HyperGraph *g) | |
HyperGraph::VertexSet & | visited () |
AdjacencyMap & | adjacencyMap () |
HyperGraph * | graph () |
void | shortestPaths (HyperGraph::Vertex *v, HyperDijkstra::CostFunction *cost, double maxDistance=std::numeric_limits< double >::max(), double comparisonConditioner=1e-3, bool directed=false, double maxEdgeCost=std::numeric_limits< double >::max()) |
void | shortestPaths (HyperGraph::VertexSet &vset, HyperDijkstra::CostFunction *cost, double maxDistance=std::numeric_limits< double >::max(), double comparisonConditioner=1e-3, bool directed=false, double maxEdgeCost=std::numeric_limits< double >::max()) |
Static Public Member Functions | |
static void | computeTree (AdjacencyMap &amap) |
static void | visitAdjacencyMap (AdjacencyMap &amap, TreeAction *action, bool useDistance=false) |
static void | connectedSubset (HyperGraph::VertexSet &connected, HyperGraph::VertexSet &visited, HyperGraph::VertexSet &startingSet, HyperGraph *g, HyperGraph::Vertex *v, HyperDijkstra::CostFunction *cost, double distance, double comparisonConditioner, double maxEdgeCost=std::numeric_limits< double >::max()) |
Protected Member Functions | |
void | reset () |
Protected Attributes | |
AdjacencyMap | _adjacencyMap |
HyperGraph::VertexSet | _visited |
HyperGraph * | _graph |
Definition at line 38 of file hyper_dijkstra.h.
typedef std::map<HyperGraph::Vertex*, AdjacencyMapEntry> g2o::HyperDijkstra::AdjacencyMap |
Definition at line 70 of file hyper_dijkstra.h.
g2o::HyperDijkstra::HyperDijkstra | ( | HyperGraph * | g | ) |
Definition at line 61 of file hyper_dijkstra.cpp.
References _adjacencyMap, _graph, g2o::HyperDijkstra::AdjacencyMapEntry::child(), and g2o::HyperGraph::vertices().
|
inline |
Definition at line 73 of file hyper_dijkstra.h.
Referenced by g2o::computeSimpleStars(), and g2o::SolverSLAM2DLinear::solveOrientation().
|
static |
Definition at line 157 of file hyper_dijkstra.cpp.
References g2o::HyperDijkstra::AdjacencyMapEntry::_children, g2o::HyperDijkstra::AdjacencyMapEntry::child(), and g2o::HyperDijkstra::AdjacencyMapEntry::parent().
Referenced by g2o::computeSimpleStars(), and g2o::SolverSLAM2DLinear::solveOrientation().
|
static |
|
inline |
Definition at line 74 of file hyper_dijkstra.h.
|
protected |
Definition at line 69 of file hyper_dijkstra.cpp.
References _adjacencyMap, and _visited.
Referenced by shortestPaths().
void g2o::HyperDijkstra::shortestPaths | ( | HyperGraph::Vertex * | v, |
HyperDijkstra::CostFunction * | cost, | ||
double | maxDistance = std::numeric_limits< double >::max() , |
||
double | comparisonConditioner = 1e-3 , |
||
bool | directed = false , |
||
double | maxEdgeCost = std::numeric_limits< double >::max() |
||
) |
Definition at line 149 of file hyper_dijkstra.cpp.
Referenced by g2o::computeSimpleStars(), connectedSubset(), main(), and g2o::SolverSLAM2DLinear::solveOrientation().
void g2o::HyperDijkstra::shortestPaths | ( | HyperGraph::VertexSet & | vset, |
HyperDijkstra::CostFunction * | cost, | ||
double | maxDistance = std::numeric_limits< double >::max() , |
||
double | comparisonConditioner = 1e-3 , |
||
bool | directed = false , |
||
double | maxEdgeCost = std::numeric_limits< double >::max() |
||
) |
Definition at line 86 of file hyper_dijkstra.cpp.
References __PRETTY_FUNCTION__, _adjacencyMap, _visited, g2o::HyperDijkstra::AdjacencyMapEntry::child(), g2o::HyperGraph::Vertex::edges(), g2o::HyperGraph::Vertex::id(), reset(), g2o::HyperGraph::Edge::vertex(), and g2o::HyperGraph::Edge::vertices().
|
static |
Definition at line 179 of file hyper_dijkstra.cpp.
References g2o::HyperDijkstra::AdjacencyMapEntry::parent(), and g2o::HyperDijkstra::TreeAction::perform().
Referenced by g2o::computeSimpleStars(), and g2o::SolverSLAM2DLinear::solveOrientation().
|
inline |
|
protected |
Definition at line 102 of file hyper_dijkstra.h.
Referenced by HyperDijkstra(), reset(), and shortestPaths().
|
protected |
Definition at line 104 of file hyper_dijkstra.h.
Referenced by HyperDijkstra().
|
protected |
Definition at line 103 of file hyper_dijkstra.h.
Referenced by reset(), and shortestPaths().