//==========================================================================
//
// node_data.h - Internal header: DO NO USE IT DIRECTLY !!!
//
//==========================================================================
// $Id: node_data.h,v 1.7 2000/01/05 16:32:38 raitner Exp $
#ifndef GTL_NODE_DATA_H
#define GTL_NODE_DATA_H
#include <GTL/GTL.h>
#include <GTL/node.h>
#include <GTL/edge.h>
#include <list>
__GTL_BEGIN_NAMESPACE
class graph;
/**
* @internal
*/
class GTL_EXTERN node_data
{
public:
int id; // internal numbering
graph *owner; // graph containing this node
list<node>::iterator pos; // position in the list of all nodes
list<edge> edges[2]; // edges incident to this node
// edges[0] = in_edges, edges[1] = out_edges
bool hidden;
};
__GTL_END_NAMESPACE
#endif // GTL_NODE_DATA_H
//--------------------------------------------------------------------------
// end of file
//--------------------------------------------------------------------------
Documentation generated by raitner@hyperion on Tue Mar 7 09:40:04 CET 2000
|
Kdoc |