#include "defs.h"#include "cxx_graph.i"#include "graph_template.h"


Go to the source code of this file.
Classes | |
| class | VERTEX16 |
| class | EDGE16 |
Defines | |
| #define | cxx_graph_INCLUDED "cxx_graph.h" |
| #define cxx_graph_INCLUDED "cxx_graph.h" |
Revision history:
21-OCT-94 dkchen - Original Version 10-NOV-94 dkchen - Make DIRECTED_GRAPH16 a template class and move it to graph_template.h.
Description:
This interface describes vertex and edge classes used in a directed graph class. See "graph_template.h" for details on the directed graph class, DIRECTED_GRAPH16, which assumes the edges and vertices to be derived classes from EDGE16 and VERTEX16 described here.
Exported Types and Functions:
Type of a vertex in the graph.
VERTEX16()
Construct a vertex and initialize it.
~VERTEX16()
Destruct a vertex.
VERTEX16& operator=(const VERTEX16& v)
Vertex assignment operation. In/out edges are copied.
EINDEX16 Get_In_Edge() const EINDEX16 Get_Out_Edge() const
Get the first in/out edge of this vertex.
Type of an edge in the graph.
EDGE16()
Construc an edge and initialize it.
~EDGE16()
Destruct an edge.
EDGE16& operator=(const EDGE16& e)
Edge assignment operation. Source and sink vertices are copied.
VINDEX16 Get_Source() const VINDEX16 Get_Sink() const
Get the source/sink vertex of this edge.
Definition at line 103 of file cxx_graph.h.
1.5.7.1