NDEVR
API Documentation
HyperGraph::HGVertex

abstract Vertex, your types must derive from that one More...

Inheritance diagram for HyperGraph::HGVertex:
[legend]
Collaboration diagram for HyperGraph::HGVertex:
[legend]

Public Member Functions

 HGVertex (int id=-1)
 creates a vertex having an ID specified by the argument
Buffer< HGEdge * > & edges ()
 returns the set of hyper-edges that are leaving/entering in this vertex
const Buffer< HGEdge * > & edges () const
 returns the set of hyper-edges that are leaving/entering in this vertex
int id () const
 returns the id
void setId (int newId)
 sets the id of this vertex

Protected Attributes

Buffer< HGEdge * > _edges
 Set of edges connected to this vertex.
int _id
 Unique identifier for this vertex.

Detailed Description

abstract Vertex, your types must derive from that one

Definition at line 27 of file hyper_graph.h.


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