Vertex. More...

#include <rvertex.h>

Inheritance diagram for RVertex:
[legend]
Collaboration diagram for RVertex:
[legend]

Public Member Functions

int Compare (const RVertex &v) const
 
 RVertex (size_t id, size_t nb=10)
 
 RVertex (const RVertex &v)
 
- Public Member Functions inherited from RGenericVertex< RVertex, REdge >
int Compare (const RGenericVertex &v) const
 
int Compare (const size_t i) const
 
void GetAdjacentVertices (RContainer< RVertex, false, bOrder > &vertices, bool verify=false) const
 
REdgeGetEdge (size_t id) const
 
REdgeGetEdgeFrom (size_t id) const
 
RCursor< REdgeGetEdges (void) const
 
REdgeGetEdgeTo (size_t id) const
 
size_t GetId (void) const
 
size_t GetNbEdges (void) const
 
 RGenericVertex (size_t id, size_t nb=10)
 
 RGenericVertex (const RGenericVertex &v)
 
virtual ~RGenericVertex (void)
 

Additional Inherited Members

- Protected Attributes inherited from RGenericVertex< RVertex, REdge >
RContainer< REdge, false, false > Edges
 
size_t Id
 

Detailed Description

Vertex.

The RVertex class provides a representation for a vertex.

Constructor & Destructor Documentation

RVertex ( size_t  id,
size_t  nb = 10 
)

Constructor of the vertex.

Parameters
idIdentifier.
nbSupposed number of edges.
RVertex ( const RVertex v)

Copy constructor.

Parameters
vVertex used.

Member Function Documentation

int Compare ( const RVertex v) const

Is used to compare two vertices. The function returns the same type of information than the strcmp function from the standard C library.

Parameters
vVertex used for the comparison.