Home | Documentation | Download | Platforms | Projects | Mailing Lists | Version History
00001 //========================================================================== 00002 // 00003 // node_data.h - Internal header: DO NO USE IT DIRECTLY !!! 00004 // 00005 //========================================================================== 00006 // $Id: node_data.h,v 1.7 2000/01/05 16:32:38 raitner Exp $ 00007 00008 #ifndef GTL_NODE_DATA_H 00009 #define GTL_NODE_DATA_H 00010 00011 #include <GTL/GTL.h> 00012 #include <GTL/node.h> 00013 #include <GTL/edge.h> 00014 00015 #include <list> 00016 00017 __GTL_BEGIN_NAMESPACE 00018 00019 class graph; 00020 00024 class GTL_EXTERN node_data 00025 { 00026 public: 00027 int id; // internal numbering 00028 graph *owner; // graph containing this node 00029 list<node>::iterator pos; // position in the list of all nodes 00030 list<edge> edges[2]; // edges incident to this node 00031 // edges[0] = in_edges, edges[1] = out_edges 00032 bool hidden; 00033 }; 00034 00035 __GTL_END_NAMESPACE 00036 00037 #endif // GTL_NODE_DATA_H 00038 00039 //-------------------------------------------------------------------------- 00040 // end of file 00041 //--------------------------------------------------------------------------
University of Passau - FMI - Theoretical Computer Science