|
ADS
Algorithms and Data Structures
|
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...
#include "ADS/Contract.h"#include "ADS/graph/Graph.h"#include "ADS/graph/StaticGraph.h"#include <lemon/bits/graph_extender.h>#include <lemon/core.h>#include <cstddef>#include <tuple>#include <vector>Go to the source code of this file.
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... | |
| struct | ADS::lemon_interop::StaticDigraphBase< W, L >::Node |
| a node, by its name in the graph of ADS More... | |
| struct | ADS::lemon_interop::StaticDigraphBase< W, L >::Arc |
| an arc, by its place in the 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... | |
| struct | ADS::lemon_interop::StaticDigraphView< W, L >::WeightMap |
| the weights of the arcs, a ReadMap of LEMON 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... | |
Namespaces | |
| namespace | ADS |
| namespace | ADS::lemon_interop |
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 | |
The graphs of ADS as digraphs of LEMON and the digraphs of LEMON as graphs of ADS, beyond the book (see Interoperation with LEMON):
Reading a graph of LEMON from several threads is safe while nobody changes it, since its iterators and its maps only read arrays.
The contracts [see Contract.h]: the graph of ADS outlives its view; the weights of weights() exist only on a weighted StaticGraph. The classes are defined in this file.