#include <graph.hh>
Public Member Functions | |
GraphVertex (const F Value, const int Weight=1, const int Domain=0) | |
virtual void | setValue (const F Value) |
virtual void | setWeight (const int Weight) |
virtual void | addWeight (const int Weight) |
virtual void | setNeighbours (const Sequence< F > &Neighbours) |
virtual void | addNeighbour (const F Value) |
virtual void | addWeightedNeighbour (const F Value, const int Weight=1) |
virtual void | setDomain (const int Domain) |
virtual void | clearNeighbours () |
virtual F | getValue () const |
virtual int | getWeight () const |
virtual int | getDomain () const |
virtual Sequence< F > | getNeighbours () const |
virtual std::ostream & | info (std::ostream &os) const |
Protected Attributes | |
F | Value_ |
Sequence< F > | Neighbours_ |
int | Weight_ |
int | Domain_ |
Template class to define a graph vertex
|
inline |
|
inline |
|
inline |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
protected |
|
protected |
|
protected |