Next
Previous
Contents
4.1 Abstract class ARGLoader
Defined in: argraph.h
Extends: -
Overview:
This class is used to construct a Graph / ARGraph object.
Implementations of this class could, for example, load
the graph data from a file. Two implementation
strategies are possible:
- the ARGLoader loads or generates the graph data in memory
when it is allocated.
- graph data are loaded/generated when the program ask for it
calling one of the methods of ARGLoader. In this case, the
implementor may rely on the fact that the information for
the nodes (method GetNodeAttr) is requested once per node, and
sequentially; the information for the edges
(methods OutEdgeCount and
GetOutEdge) is requested after all
the node information has been collected,
and in a sequential order depending on the start node of the edges.
Next
Previous
Contents