ADS
Algorithms and Data Structures
Loading...
Searching...
No Matches
Digraphs.h

The graphs of ADS as digraphs of LEMON and the digraphs of LEMON as graphs of ADS, beyond the book (see Interoperation with LEMON). More...

Files

file  ADS/interop/lemon/Digraphs.h
 The graphs of ADS as digraphs of LEMON and the digraphs of LEMON as graphs of ADS, beyond the book (see Interoperation with LEMON):

Classes

class  ADS::lemon_interop::StaticDigraphBase< W, L >
 the base of lemon::DigraphExtender on a StaticGraph< W , L >: the arcs are the places of its compressed rows More...
class  ADS::lemon_interop::StaticDigraphView< W, L >
 a StaticGraph< W , L > of ADS as a digraph of LEMON, with no copy of its rows More...
class  ADS::lemon_interop::GraphView< GR, LM >
 a digraph of LEMON and a length map as a GRAPH of ADS, with no copy, the names of the nodes their ids More...

Functions

template<class GR, class LM>
StaticGraph< typename LM::Value > ADS::lemon_interop::toStatic (const GR &g, const LM &l)
 the copy of the digraph \( g \) of LEMON with the lengths \( l \) into a StaticGraph of ADS, the nodes by their ids and the loops left out, in \( \Theta( n + m ) \) time

Detailed description

The graphs of ADS as digraphs of LEMON and the digraphs of LEMON as graphs of ADS, beyond the book (see Interoperation with LEMON).

Function documentation

◆ toStatic()

template<class GR, class LM>
StaticGraph< typename LM::Value > ADS::lemon_interop::toStatic ( const GR & g,
const LM & l )
nodiscard

the copy of the digraph \( g \) of LEMON with the lengths \( l \) into a StaticGraph of ADS, the nodes by their ids and the loops left out, in \( \Theta( n + m ) \) time