Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-03 08:19:37

0001 /* This software is distributed under the GNU Lesser General Public License */
0002 //==========================================================================
0003 //
0004 //   node_data.h - Internal header: DO NO USE IT DIRECTLY !!!
0005 //
0006 //==========================================================================
0007 // $Id: node_data.h,v 1.7 2000/01/05 16:32:38 raitner Exp $
0008 
0009 #ifndef GTL_NODE_DATA_H
0010 #define GTL_NODE_DATA_H
0011 
0012 #include <GTL/GTL.h>
0013 #include <GTL/node.h>
0014 #include <GTL/edge.h>
0015 
0016 #include <list>
0017 
0018 __GTL_BEGIN_NAMESPACE
0019 
0020 class graph;
0021 
0022 /**
0023  * @internal
0024  */
0025 class GTL_EXTERN node_data
0026 {
0027 public:
0028     int id;         // internal numbering
0029     graph *owner;       // graph containing this node
0030     list<node>::iterator pos;   // position in the list of all nodes
0031     list<edge> edges[2];    // edges incident to this node
0032                 // edges[0] = in_edges, edges[1] = out_edges
0033     bool hidden;
0034 };
0035     
0036 __GTL_END_NAMESPACE
0037 
0038 #endif // GTL_NODE_DATA_H
0039 
0040 //--------------------------------------------------------------------------
0041 //   end of file
0042 //--------------------------------------------------------------------------