ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
ADS::lemon_interop::StaticDigraphView< W, L >::WeightMap Struct Reference

the weights of the arcs, a ReadMap of LEMON More...

#include <ADS/interop/lemon/Digraphs.h>

Public types

using Key = typename P::Arc
 the arcs
using Value = W
 the weights

Public member functions

W operator[] (Key a) const
 the weight of the arc \( a \)

Public attributes

const StaticDigraphView * g
 the view

Detailed description

template<class W, ArcLayout L = ArcLayout::Separate>
struct ADS::lemon_interop::StaticDigraphView< W, L >::WeightMap

the weights of the arcs, a ReadMap of LEMON

Member typedef documentation

◆ Key

template<class W, ArcLayout L = ArcLayout::Separate>
using ADS::lemon_interop::StaticDigraphView< W, L >::WeightMap::Key = typename P::Arc

the arcs

◆ Value

template<class W, ArcLayout L = ArcLayout::Separate>
using ADS::lemon_interop::StaticDigraphView< W, L >::WeightMap::Value = W

the weights

Member function documentation

◆ operator[]()

template<class W, ArcLayout L = ArcLayout::Separate>
W ADS::lemon_interop::StaticDigraphView< W, L >::WeightMap::operator[] ( Key a) const
inline

the weight of the arc \( a \)

Member data documentation

◆ g

template<class W, ArcLayout L = ArcLayout::Separate>
const StaticDigraphView* ADS::lemon_interop::StaticDigraphView< W, L >::WeightMap::g

the view


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