Aleph-w 7.10.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT > Class Template Reference

Spanning tree calculation of all shortest paths from a given node according to Dijkstra's algorithm. More...

#include <Dijkstra.H>

Inheritance diagram for Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >:
[legend]
Collaboration diagram for Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >:
[legend]

Public Member Functions

 Dijkstra_Min_Paths (Distance dist=Distance(), SA __sa=SA())
 Constructor.
 
GT::Node * compute_min_paths_tree (const GT &g, typename GT::Node *start, GT &tree)
 Computes the spanning tree of all shortest paths from the start node.
 
void compute_partial_min_paths_tree (const GT &g, typename GT::Node *start, typename GT::Node *end, GT &tree)
 Computes the partial spanning tree of all shortest paths from start that contains the path from start to end.
 
bool paint_partial_min_paths_tree (const GT &g, typename GT::Node *start, typename GT::Node *end)
 Paints on graph g the partial shortest paths tree starting from start and stopping when the end node is found.
 
void paint_min_paths_tree (const GT &g, typename GT::Node *start)
 Paints on graph g the spanning tree of all shortest paths starting from start.
 
Distance::Distance_Type find_min_path (const GT &g, typename GT::Node *start, typename GT::Node *end, Path< GT > &min_path)
 Computes the shortest path between start and end by painting the graph.
 
void operator() (const GT &g, typename GT::Node *s, GT &tree)
 Computes the spanning tree of all shortest paths from a given node according to Dijkstra's algorithm.
 
Distance::Distance_Type operator() (const GT &g, typename GT::Node *s, typename GT::Node *e, Path< GT > &path)
 See find_min_path().
 
bool has_computation () const noexcept
 Check if a computation has been performed.
 
bool is_painted () const noexcept
 Check if the graph has been painted.
 
GT::Node * get_start_node () const noexcept
 Get the start node of the last computation.
 
GT * get_graph () const noexcept
 Get the graph of the last computation.
 
Distance::Distance_Type get_distance (typename GT::Node *node)
 Gets the accumulated distance to a node after painting.
 
Distance::Distance_Type get_min_path (typename GT::Node *end, Path< GT > &path)
 Extracts a shortest path to end from a previously painted graph.
 
Distance::Distance_Type get_min_path (const GT &tree, typename GT::Node *end, Path< GT > &path)
 Extracts path from tree to end node.
 
Distance::Distance_Type copy_painted_min_paths_tree (GT &g, GT &tree)
 Extracts the painted shortest paths tree and puts it in tree.
 
- Public Member Functions inherited from Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >
 Shortest_Path_Base (Distance dist=Distance(), SA __sa=SA())
 Default constructor.
 
bool has_computation () const noexcept
 Check if a computation has been performed.
 
bool is_painted () const noexcept
 Check if the graph has been painted.
 
GT::Node * get_start_node () const noexcept
 Get the start node of the last computation.
 
GT * get_graph () const noexcept
 Get the graph of the last computation.
 
Distance::Distance_Type get_distance (typename GT::Node *node)
 Gets the accumulated distance to a node after painting.
 
Distance::Distance_Type get_min_path (typename GT::Node *end, Path< GT > &path)
 Extracts a shortest path to end from a previously painted graph.
 
Distance::Distance_Type copy_painted_min_paths_tree (GT &g, GT &tree)
 Extracts the painted shortest paths tree and puts it in tree.
 
Distance::Distance_Type get_min_path (const GT &tree, typename GT::Node *end, Path< GT > &path)
 Extracts path from tree to end node.
 

Private Types

using Base = Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >
 

Private Attributes

SA sa
 Arc filter.
 
Heap heap
 Priority queue.
 
bool painted
 Whether graph has been painted.
 
GT * ptr_g
 Pointer to the graph.
 
GT::Node * s
 Start node.
 

Additional Inherited Members

- Public Types inherited from Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >
using Heap = HeapT< GT, Get_Potential_Arc, Heap_Info >
 
- Protected Member Functions inherited from Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >
template<class IN , class IA >
void init (const GT &g, typename GT::Node *start)
 Initialize algorithm state.
 
template<class DN , class DA >
auto uninit_on_exit ()
 Returns a guard that calls uninit() when it goes out of scope.
 
template<class DN , class DA >
void uninit ()
 Cleanup algorithm state.
 
bool add_if_fits (const typename Distance::Distance_Type &a, const typename Distance::Distance_Type &b, typename Distance::Distance_Type &out)
 Adds a tentative distance that may go beyond max().
 
void check_beyond_max (const GT &g, typename GT::Node *start, typename GT::Node *end=nullptr) const
 After a painting in which a sum went beyond max(), throws if a node that start reaches was left out, or end if it is given.
 
Distance::Distance_Type checked_add (const typename Distance::Distance_Type &a, const typename Distance::Distance_Type &b) const
 Checked addition to prevent integer overflow.
 
- Protected Attributes inherited from Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >
SA sa
 Arc filter.
 
Distance distance
 Arc weights.
 
Get_Potential_Arc get_pot
 Potential accessor.
 
Heap heap
 Priority queue.
 
bool painted = false
 Whether graph has been painted.
 
GT * ptr_g = nullptr
 Pointer to the graph.
 
GT::Node * s = nullptr
 Start node.
 
bool beyond_max = false
 A sum of the painting went beyond max()
 
bool leave_out_beyond_max = false
 Whether a painting leaves out without throwing the nodes whose distance does not fit.
 

Detailed Description

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
class Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >

Spanning tree calculation of all shortest paths from a given node according to Dijkstra's algorithm.

This class handles Dijkstra's algorithm to compute a tree containing of all shortest paths from a node s of a graph g.

The algorithm uses an internal queue whose length is proportional to the number of nodes in the graph.

Dijkstra's algorithm does not work for graphs with negative weights.

The class receives the following template parameters:

  1. GT: graph type.
  2. Distance<GT>: class reading the weight. It should export the following attributes:
  3. typedef Distance<GT>::Distance_Type: Data type. It represents a weight on an arc.
  4. Distance<GT>::Distance_Type operator()(typename GT::Arc *a): returns the weight of arc a.
  5. Itor<GT, SA>: arc iterator type (defaults to Node_Arc_Iterator).
  6. SA: arc filter for internal iterators.
  7. HeapT<GT, Distance, Access>: priority-queue adapter used by the algorithm (defaults to ArcHeap). It must provide put_arc, get_min_arc, is_empty, and empty, and accept an access functor that maps nodes to heap handles.
Note
To use a Fibonacci heap, pass ArcFibonacciHeap as HeapT.
If a method throws (for lack of memory, an overflow of the distances or an exception of Distance or of the filter), the cookies it set are freed and the graph can be used again; a tree being built keeps the part already built. With a filter that can throw (see nothrow_arc_filter_v), a method marks with the bit Min the arcs to which it gives a cookie, and frees them by that mark, without calling the filter again; the mark stays.
With an integral Distance_Type, a tentative sum beyond max() does not throw by itself, since no distance that fits goes through it: std::overflow_error comes only when the distance to a node that the start reaches, or to the end of a partial painting, does not fit.
Warning
This class is not thread-safe. Concurrent calls from multiple threads on the same instance require external synchronization.
See also
Find_Path_Depth_First Floyd_All_Shortest_Paths Bellman_Ford_Min_Spanning_Tree AStar_Min_Path

Definition at line 115 of file Dijkstra.H.

Member Typedef Documentation

◆ Base

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
using Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::Base = Shortest_Path_Base<GT, Distance, Itor, SA, HeapT>
private

Definition at line 118 of file Dijkstra.H.

Constructor & Destructor Documentation

◆ Dijkstra_Min_Paths()

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::Dijkstra_Min_Paths ( Distance  dist = Distance(),
SA  __sa = SA() 
)
inline

Constructor.

Parameters
[in]distDistance functor for arc weights.
[in]__saArc filter for iterators.

Definition at line 157 of file Dijkstra.H.

Member Function Documentation

◆ compute_min_paths_tree()

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
GT::Node * Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::compute_min_paths_tree ( const GT &  g,
typename GT::Node *  start,
GT &  tree 
)
inline

Computes the spanning tree of all shortest paths from the start node.

Parameters
[in]gThe graph.
[in]startThe starting node for all shortest paths.
[out]treeThe spanning tree of all shortest paths starting from start, mapped via cookies to the graph g.
Returns
Pointer to the tree node corresponding to the start node.
Note
For disconnected graphs, the resulting tree spans only the component reachable from start.
Exceptions
bad_allocIf there is not enough memory.
domain_errorIf start is nullptr or g is empty.

Definition at line 185 of file Dijkstra.H.

References ACC, Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::add_if_fits(), ah_domain_error_if, Aleph::and, ARC_BITS, ARC_DIST, Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::beyond_max, Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::check_beyond_max(), Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::checked_add(), Aleph::clear_graph(), GTNodeCommon< NodeInfo >::get_info(), GraphCommon< GT, Node, Arc >::get_num_nodes(), GraphCommon< GT, Node, Arc >::get_src_node(), GraphCommon< GT, Node, Arc >::get_tgt_node(), Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::heap, Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_arc(), Aleph::List_Graph< _Graph_Node, _Graph_Arc >::insert_node(), IS_ARC_VISITED, IS_NODE_VISITED, NODE_BITS, NODE_COOKIE, POT, Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::sa, Aleph::Spanning_Tree, TREEARC, and TREENODE.

Referenced by main(), Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::operator()(), TEST_F(), TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), and TYPED_TEST().

◆ compute_partial_min_paths_tree()

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
void Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::compute_partial_min_paths_tree ( const GT &  g,
typename GT::Node *  start,
typename GT::Node *  end,
GT &  tree 
)
inline

◆ copy_painted_min_paths_tree()

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
Distance::Distance_Type Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::copy_painted_min_paths_tree ( GT &  g,
GT &  tree 
)
inline

Extracts the painted shortest paths tree and puts it in tree.

Only the nodes that the painting reaches are copied, as compute_min_paths_tree() does. The nodes and arcs of g and of tree are mapped through their cookies; the cookies of the nodes that are not reached are null. Since the cookies held the painting, the painting cannot be used afterwards and is_painted() becomes false.

Parameters
[in]gThe previously painted graph.
[out]treeThe graph where the spanning tree will be copied.
Returns
The total distance of the spanning tree.
Exceptions
bad_allocIf there is not enough memory.
domain_errorIf the graph has not been previously painted.

Definition at line 863 of file shortest_path_common.H.

Referenced by TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), and TYPED_TEST().

◆ find_min_path()

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
Distance::Distance_Type Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::find_min_path ( const GT &  g,
typename GT::Node *  start,
typename GT::Node *  end,
Path< GT > &  min_path 
)
inline

Computes the shortest path between start and end by painting the graph.

This is the version with the lowest memory consumption and probably also the fastest.

Parameters
[in]gThe graph.
[in]startThe starting node of the path.
[in]endThe destination node of the path.
[out]min_pathThe shortest path.
Returns
The total cost of the path from start to end.
Exceptions
bad_allocIf there is not enough memory.

Definition at line 536 of file Dijkstra.H.

References Aleph::Path< GT >::empty(), Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::get_min_path(), and Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::paint_partial_min_paths_tree().

Referenced by main(), Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::operator()(), TEST(), TEST(), TEST(), TEST_F(), TEST_F(), TYPED_TEST(), TYPED_TEST(), and TYPED_TEST().

◆ get_distance()

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
Distance::Distance_Type Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::get_distance ( typename GT::Node *  node)
inline

Gets the accumulated distance to a node after painting.

After painting the graph with a shortest path tree, this method traverses the path from the start node to the given node and computes the total distance.

Parameters
[in]nodeThe destination node.
Returns
The accumulated distance from start to node.
Exceptions
domain_errorIf the graph has not been painted or if node is not reachable from the start node.
Note
Time complexity: O(path_length)

Definition at line 730 of file shortest_path_common.H.

Referenced by Aleph::k_shortest_paths_detail::build_suffix_index_with_itor(), TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), and TYPED_TEST().

◆ get_graph()

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
GT * Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::get_graph ( ) const
inlinenoexcept

Get the graph of the last computation.

Returns
Pointer to the graph, or nullptr if no computation done.

Definition at line 710 of file shortest_path_common.H.

Referenced by TYPED_TEST().

◆ get_min_path() [1/2]

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
Distance::Distance_Type Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::get_min_path ( const GT &  tree,
typename GT::Node *  end,
Path< GT > &  path 
)
inline

Extracts path from tree to end node.

Parameters
[in]treeThe spanning tree built by compute_min_paths_tree.
[in]endDestination node (in original graph).
[out]pathPath where result will be stored (in original graph), made of the arcs of g that those of the tree map to.
Returns
The total cost of the path, by the distance of the arcs of g.
Exceptions
domain_errorIf the minimum paths tree has not been computed, or end is not in the tree, nor reached in it from the start.
bad_allocIf there is not enough memory.

Definition at line 901 of file shortest_path_common.H.

◆ get_min_path() [2/2]

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
Distance::Distance_Type Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::get_min_path ( typename GT::Node *  end,
Path< GT > &  path 
)
inline

Extracts a shortest path to end from a previously painted graph.

Takes a graph on which shortest paths have been painted and extracts the shortest path to end, storing it in path.

Parameters
[in]endDestination node of the path.
[out]pathPath where the shortest path will be stored.
Returns
The total cost of the path.
Exceptions
bad_allocIf there is not enough memory.
domain_errorIf the graph has not been previously painted.

Definition at line 781 of file shortest_path_common.H.

Referenced by Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::find_min_path(), main(), TEST_F(), TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), and TYPED_TEST().

◆ get_start_node()

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
GT::Node * Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::get_start_node ( ) const
inlinenoexcept

Get the start node of the last computation.

Returns
Pointer to the start node, or nullptr if no computation done.

Definition at line 705 of file shortest_path_common.H.

Referenced by TYPED_TEST().

◆ has_computation()

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
bool Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::has_computation ( ) const
inlinenoexcept

Check if a computation has been performed.

Returns
true if a graph has been processed, false otherwise.

Definition at line 690 of file shortest_path_common.H.

Referenced by TYPED_TEST().

◆ is_painted()

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
bool Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::is_painted ( ) const
inlinenoexcept

Check if the graph has been painted.

Every computation resets the bits and cookies of the previous one, so only a painting that ended normally can be used.

Returns
true if the last computation was a painting and ended normally, false otherwise.

Definition at line 700 of file shortest_path_common.H.

Referenced by TEST_F(), TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), TYPED_TEST(), and TYPED_TEST().

◆ operator()() [1/2]

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
void Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::operator() ( const GT &  g,
typename GT::Node *  s,
GT &  tree 
)
inline

Computes the spanning tree of all shortest paths from a given node according to Dijkstra's algorithm.

Parameters
[in]gThe graph.
[in]sThe starting node.
[out]treeThe spanning tree.
Exceptions
bad_allocIf there is not enough memory.

Definition at line 555 of file Dijkstra.H.

References Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::compute_min_paths_tree(), and Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::s.

◆ operator()() [2/2]

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
Distance::Distance_Type Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::operator() ( const GT &  g,
typename GT::Node *  s,
typename GT::Node *  e,
Path< GT > &  path 
)
inline

◆ paint_min_paths_tree()

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
void Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::paint_min_paths_tree ( const GT &  g,
typename GT::Node *  start 
)
inline

◆ paint_partial_min_paths_tree()

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
bool Aleph::Dijkstra_Min_Paths< GT, Distance, Itor, SA, HeapT >::paint_partial_min_paths_tree ( const GT &  g,
typename GT::Node *  start,
typename GT::Node *  end 
)
inline

Member Data Documentation

◆ heap

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
Heap Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::heap
private

◆ painted

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
bool Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::painted
private

◆ ptr_g

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
GT* Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::ptr_g
private

Pointer to the graph.

Definition at line 435 of file shortest_path_common.H.

◆ s

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
GT::Node* Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::s
private

◆ sa

template<AlephGraph GT, ArcDistance< GT > Distance = Dft_Dist<GT>, template< typename, class > class Itor = Node_Arc_Iterator, ArcFilter< GT > SA = Dft_Show_Arc<GT>, template< class, class, class > class HeapT = ArcHeap>
SA Aleph::Shortest_Path_Base< GT, Distance, Itor, SA, HeapT >::sa
private

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