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

Node info for SSP algorithm. More...

#include <tpl_mincost.H>

Public Member Functions

void reset ()
 

Public Attributes

Flow_Type potential {0}
 Node potential for reduced costs.
 
Flow_Type distance {0}
 Shortest path distance.
 
bool in_tree {false}
 Is node in shortest path tree?
 
voidparent_arc {nullptr}
 Parent arc in shortest path tree.
 
voidparent_node {nullptr}
 Parent node.
 
bool forward {true}
 Direction of parent arc.
 

Detailed Description

template<typename Flow_Type>
struct Aleph::SSP_Node_Info< Flow_Type >

Node info for SSP algorithm.

Stores potential (dual variable) and shortest path information.

Definition at line 94 of file tpl_mincost.H.

Member Function Documentation

◆ reset()

Member Data Documentation

◆ distance

Shortest path distance.

Definition at line 97 of file tpl_mincost.H.

Referenced by Aleph::SSP_Node_Info< Flow_Type >::reset().

◆ forward

Direction of parent arc.

Definition at line 101 of file tpl_mincost.H.

◆ in_tree

Is node in shortest path tree?

Definition at line 98 of file tpl_mincost.H.

Referenced by Aleph::SSP_Node_Info< Flow_Type >::reset().

◆ parent_arc

Parent arc in shortest path tree.

Definition at line 99 of file tpl_mincost.H.

Referenced by Aleph::SSP_Node_Info< Flow_Type >::reset().

◆ parent_node

Parent node.

Definition at line 100 of file tpl_mincost.H.

Referenced by Aleph::SSP_Node_Info< Flow_Type >::reset().

◆ potential

Node potential for reduced costs.

Definition at line 96 of file tpl_mincost.H.


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