concepts::Graph< F > Class Template Reference
Template class to define a graph. More...
#include <graph.hh>
Public Member Functions | |
virtual void | addEdge (const F Value1, const F Value2) |
Add edge into graph. More... | |
virtual void | addVertex (const F Value, const int Weight=1) |
Add vertex into graph. More... | |
virtual void | addWeightedEdge (const F Value1, const F Value2, const int Weight) |
Add edge into graph (with weight modification) More... | |
void | EmptyGraph () |
virtual void | GetCompressedFormat (Sequence< int > &Cumuled, Sequence< int > &CNeighbours, Sequence< int > &Weights) const |
virtual Sequence< F > | getCompressedNeighbours () const |
virtual Sequence< F > | GetSubdomain (const int Part) const |
virtual Sequence< bool > | GetSubdomainBool (const int Part) const |
Graph () | |
virtual std::ostream & | info (std::ostream &os) const |
virtual void | SetSubdomains (const int NbParts=2) |
virtual void | SetSubdomains (const Sequence< int > &Subdomains) |
~Graph () | |
Protected Attributes | |
Sequence< GraphVertex< F > > | Vertexes_ |
Detailed Description
template<class F>
class concepts::Graph< F >
Template class to define a graph.
Constructor & Destructor Documentation
◆ Graph()
template<class F >
|
inline |
◆ ~Graph()
template<class F >
|
inline |
Member Function Documentation
◆ addEdge()
template<class F >
|
virtual |
◆ addVertex()
template<class F >
|
virtual |
◆ addWeightedEdge()
template<class F >
|
virtual |
◆ EmptyGraph()
template<class F >
|
inline |
◆ GetCompressedFormat()
template<class F >
|
virtual |
◆ getCompressedNeighbours()
template<class F >
|
virtual |
◆ GetSubdomain()
template<class F >
|
virtual |
◆ GetSubdomainBool()
template<class F >
|
virtual |
◆ info()
template<class F >
|
virtual |
◆ SetSubdomains() [1/2]
template<class F >
|
virtual |
◆ SetSubdomains() [2/2]
template<class F >
|
virtual |
Member Data Documentation
◆ Vertexes_
template<class F >
|
protected |
The documentation for this class was generated from the following file:
- toolbox/graph.hh