home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume43 / gen / part02 / Graph.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-07-24  |  510 b   |  35 lines

  1. /*
  2. File: Graph.h
  3.  
  4. Author: Bruce Kritt
  5.  
  6. Description:
  7. */
  8.  
  9. class Graph
  10. {
  11. private:
  12.         // attributes
  13.  
  14.         VertexTree main_vertex_tree;
  15.         String* prime_vertex;
  16.  
  17.         // helper functions
  18.  
  19.         Vertex* operator()(String name){return Find(name,main_vertex_tree);}
  20. public:
  21.         // constructor
  22.  
  23.         Graph(void);
  24.  
  25.         // destructor
  26.  
  27.         ~Graph();
  28.  
  29.         // public services
  30.  
  31.         StringQueue GetActiveVertices(void);
  32.         void GenerateMakefile(void);
  33.  
  34. };      // end class Graph
  35.