Public Member Functions | Private Attributes | Friends

OA::Graph::Node Class Reference

#include <Graph.hpp>

Collaboration diagram for OA::Graph::Node:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Node ()
virtual ~Node ()

Private Attributes

OA_ptr< std::list< OA_ptr
< Edge > > > 
incident_edges

Friends

class Graph
class Graph::Edge

Detailed Description

An node in an undirected graph has a list of neighboring nodes and a list of incident edges.

Definition at line 51 of file Graph.hpp.


Constructor & Destructor Documentation

OA::Graph::Node::Node (  )  [inline]

Definition at line 53 of file Graph.hpp.

References incident_edges.

virtual OA::Graph::Node::~Node (  )  [inline, virtual]

Definition at line 55 of file Graph.hpp.

References incident_edges.


Friends And Related Function Documentation

friend class Graph [friend]

Definition at line 58 of file Graph.hpp.

friend class Graph::Edge [friend]

Definition at line 59 of file Graph.hpp.


Member Data Documentation

Definition at line 57 of file Graph.hpp.

Referenced by Node(), and ~Node().


The documentation for this class was generated from the following file: