NDEVR
API Documentation
HyperDijkstra::AdjacencyMapEntry

Entry in the adjacency map storing parent, child, edge, distance, and children set. More...

Collaboration diagram for HyperDijkstra::AdjacencyMapEntry:
[legend]

Public Member Functions

 AdjacencyMapEntry (HyperGraph::HGVertex *_child=0, HyperGraph::HGVertex *_parent=0, HyperGraph::HGEdge *_edge=0, g_type _distance=std::numeric_limits< g_type >::max())
 Constructs an adjacency map entry.
HyperGraph::HGVertexchild () const
 Returns the child vertex.
Set< HyperGraph::HGVertex * > & children ()
 Returns the mutable set of child vertices.
const Set< HyperGraph::HGVertex * > & children () const
 Returns the const set of child vertices.
g_type distance () const
 Returns the distance from the source vertex.
HyperGraph::HGEdgeedge () const
 Returns the connecting edge.
HyperGraph::HGVertexparent () const
 Returns the parent vertex.

Protected Attributes

HyperGraph::HGVertex_child
 The child vertex in the shortest-path tree.
Set< HyperGraph::HGVertex * > _children
 Set of child vertices reachable from this entry.
g_type _distance
 Accumulated distance from the source.
HyperGraph::HGEdge_edge
 The edge connecting parent to child.
HyperGraph::HGVertex_parent
 The parent vertex in the shortest-path tree.

Detailed Description

Entry in the adjacency map storing parent, child, edge, distance, and children set.

Definition at line 69 of file hyper_dijkstra.h.

Constructor & Destructor Documentation

◆ AdjacencyMapEntry()

HyperDijkstra::AdjacencyMapEntry::AdjacencyMapEntry ( HyperGraph::HGVertex * _child = 0,
HyperGraph::HGVertex * _parent = 0,
HyperGraph::HGEdge * _edge = 0,
g_type _distance = std::numeric_limits< g_type >::max() )

Constructs an adjacency map entry.

Parameters
[in]_childThe child vertex.
[in]_parentThe parent vertex.
[in]_edgeThe connecting edge.
[in]_distanceThe distance from source.

References _child, _distance, _edge, and _parent.


The documentation for this struct was generated from the following file: