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

Arc info extension that stores capacity and flow values. More...

#include <tpl_net.H>

Inheritance diagram for Aleph::Net_Arc_Info< Arc_Info, Flow_Type >:
[legend]
Collaboration diagram for Aleph::Net_Arc_Info< Arc_Info, Flow_Type >:
[legend]

Public Member Functions

 Net_Arc_Info ()=default
 Default constructor.
 
 Net_Arc_Info (const Arc_Info &info, Flow_Type __cap, Flow_Type __flow)
 Construct from base info, capacity and flow.
 

Public Attributes

Flow_Type cap = Flow_Type{}
 Capacity value.
 
Flow_Type flow = Flow_Type{}
 Flow value.
 

Detailed Description

template<typename Arc_Info, typename Flow_Type>
struct Aleph::Net_Arc_Info< Arc_Info, Flow_Type >

Arc info extension that stores capacity and flow values.

Template Parameters
Arc_InfoBase arc info type.
Flow_TypeNumeric type for capacity/flow.

Definition at line 83 of file tpl_net.H.

Constructor & Destructor Documentation

◆ Net_Arc_Info() [1/2]

template<typename Arc_Info , typename Flow_Type >
Aleph::Net_Arc_Info< Arc_Info, Flow_Type >::Net_Arc_Info ( )
default

Default constructor.

◆ Net_Arc_Info() [2/2]

template<typename Arc_Info , typename Flow_Type >
Aleph::Net_Arc_Info< Arc_Info, Flow_Type >::Net_Arc_Info ( const Arc_Info &  info,
Flow_Type  __cap,
Flow_Type  __flow 
)
inline

Construct from base info, capacity and flow.

Definition at line 95 of file tpl_net.H.

Member Data Documentation

◆ cap

template<typename Arc_Info , typename Flow_Type >
Flow_Type Aleph::Net_Arc_Info< Arc_Info, Flow_Type >::cap = Flow_Type{}

Capacity value.

Definition at line 86 of file tpl_net.H.

◆ flow

template<typename Arc_Info , typename Flow_Type >
Flow_Type Aleph::Net_Arc_Info< Arc_Info, Flow_Type >::flow = Flow_Type{}

Flow value.

Definition at line 89 of file tpl_net.H.


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