Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
Loading...
Searching...
No Matches
Aleph::K_Shortest_Path_Item< GT, Cost_Type > Struct Template Reference

A shortest-path item returned by k-shortest algorithms. More...

#include <K_Shortest_Paths.H>

Public Attributes

Cost_Type total_cost = Cost_Type{0}
 Total path cost.
 
Path< GT > path
 Path from source to target.
 

Detailed Description

template<AlephGraph GT, typename Cost_Type>
struct Aleph::K_Shortest_Path_Item< GT, Cost_Type >

A shortest-path item returned by k-shortest algorithms.

Template Parameters
GTGraph type.
Cost_TypeNumeric type used for path cost.

Definition at line 94 of file K_Shortest_Paths.H.

Member Data Documentation

◆ path

template<AlephGraph GT, typename Cost_Type >
Path<GT> Aleph::K_Shortest_Path_Item< GT, Cost_Type >::path

Path from source to target.

Definition at line 97 of file K_Shortest_Paths.H.

◆ total_cost

template<AlephGraph GT, typename Cost_Type >
Cost_Type Aleph::K_Shortest_Path_Item< GT, Cost_Type >::total_cost = Cost_Type{0}

Total path cost.

Definition at line 96 of file K_Shortest_Paths.H.


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