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

The step from a graph built one edge at a time to the static GRAPHs in compressed rows, beyond the book. More...

Files

file  ADS/graph/GraphBuilder.h
 The step from a graph built one edge at a time to the static GRAPHs in compressed rows, beyond the book [see StaticGraph.h and ArrayGraph.h]: a GraphBuilder collects the nodes and the weighted edges as they come, with no row to keep, and freezes them into a StaticGraph or an ArrayGraph in \( \Theta( n + a ) \) time, \( a \) the number of arcs, by the counting sort by tail of their constructors.

Classes

class  ADS::GraphBuilder< W >
 the nodes and the edges of a graph collected one at a time, then frozen into a StaticGraph or an ArrayGraph More...

Detailed description

The step from a graph built one edge at a time to the static GRAPHs in compressed rows, beyond the book.

The definitions, the invariants and the costs of the area are in Theory of graphs.