concepts::GraphVertex< F > Class Template Reference
Template class to define a graph vertex. More...
#include <graph.hh>
Public Member Functions | |
virtual void | addNeighbour (const F Value) |
virtual void | addWeight (const int Weight) |
virtual void | addWeightedNeighbour (const F Value, const int Weight=1) |
virtual void | clearNeighbours () |
virtual int | getDomain () const |
virtual Sequence< F > | getNeighbours () const |
virtual F | getValue () const |
virtual int | getWeight () const |
GraphVertex () | |
GraphVertex (const F Value, const int Weight=1, const int Domain=0) | |
virtual std::ostream & | info (std::ostream &os) const |
virtual void | setDomain (const int Domain) |
virtual void | setNeighbours (const Sequence< F > &Neighbours) |
virtual void | setValue (const F Value) |
virtual void | setWeight (const int Weight) |
~GraphVertex () | |
Protected Attributes | |
int | Domain_ |
Sequence< F > | Neighbours_ |
F | Value_ |
int | Weight_ |
Detailed Description
template<class F>
class concepts::GraphVertex< F >
Template class to define a graph vertex.
Constructor & Destructor Documentation
◆ GraphVertex() [1/2]
template<class F >
|
inline |
◆ GraphVertex() [2/2]
template<class F >
|
inline |
◆ ~GraphVertex()
template<class F >
|
inline |
Member Function Documentation
◆ addNeighbour()
template<class F >
|
virtual |
◆ addWeight()
template<class F >
|
virtual |
◆ addWeightedNeighbour()
template<class F >
|
virtual |
◆ clearNeighbours()
template<class F >
|
virtual |
◆ getDomain()
template<class F >
|
virtual |
◆ getNeighbours()
template<class F >
|
virtual |
◆ getValue()
template<class F >
|
virtual |
◆ getWeight()
template<class F >
|
virtual |
◆ info()
template<class F >
|
virtual |
◆ setDomain()
template<class F >
|
virtual |
◆ setNeighbours()
template<class F >
|
virtual |
◆ setValue()
template<class F >
|
virtual |
◆ setWeight()
template<class F >
|
virtual |
Member Data Documentation
◆ Domain_
template<class F >
|
protected |
◆ Neighbours_
template<class F >
|
protected |
◆ Value_
template<class F >
|
protected |
◆ Weight_
template<class F >
|
protected |
The documentation for this class was generated from the following file:
- toolbox/graph.hh