|
bioprocessing 6.0.4
|
Edges: set implementation of non-oriented edges. More...
#include <bioprocessing/graph/setedge.h>


Public Types | |
| typedef V | Vertex |
| Usable vertex type. | |
| typedef SetEdgeRef< V > | Edge |
| Usable edge type. | |
| typedef SetEdgeRef< V > | Ref |
| Reference type. | |
| typedef VertexSet::const_iterator | const_iterator |
| typedef VertexSet::iterator | iterator |
Public Types inherited from bio::BaseEdge< V > | |
| typedef V | Vertex |
| Vertex type. | |
| typedef BaseEdgeRef< V > | Edge |
| Usable Edge type (RC) | |
| typedef BaseEdgeRef< V > | Ref |
| Reference type. | |
Public Member Functions | |
| SetEdge (const Vertex &x, const Vertex &y) | |
| Constructor from a pair of vertices. | |
| SetEdge (const This &other) | |
| Copy constructor. | |
| SetEdge (const Base &other) | |
| Copy constructor from base class. | |
| virtual | ~SetEdge () |
| const_iterator | begin () const |
| const_iterator | end () const |
| iterator | begin () |
| iterator | end () |
| Vertex | x () |
| access the first vertex (x is the smaller vertex) | |
| const Vertex | x () const |
| access the first vertex (x is the smaller vertex) | |
| Vertex | y () |
| access the second vertex (y is the bigger vertex) | |
| const Vertex | y () const |
| access the second vertex (y is the bigger vertex) | |
| Vertex | other (const Vertex &v) |
| access the vertex that is not v | |
| const Vertex | other (const Vertex &v) const |
| access the vertex that is not v | |
| virtual bool | operator== (const This &other) const |
| there is equality if both vertices are equal | |
| virtual bool | operator!= (const This &other) const |
| there is equality if both vertices are equal | |
| virtual bool | operator> (const This &other) const |
| For inequality we first look at x, and if they are equal, we look at y. | |
| virtual bool | operator< (const This &other) const |
| For inequality we first look at x, and if they are equal, we look at y. | |
| virtual bool | operator>= (const This &other) const |
| For inequality we first look at x, and if they are equal, we look at y. | |
| virtual bool | operator<= (const This &other) const |
| For inequality we first look at x, and if they are equal, we look at y. | |
Public Member Functions inherited from bio::BaseEdge< V > | |
| virtual | ~BaseEdge () |
| virtual bool | operator== (const This &other) const |
| virtual bool | operator!= (const This &other) const |
| virtual bool | operator> (const This &other) const |
| virtual bool | operator< (const This &other) const |
| virtual bool | operator>= (const This &other) const |
| virtual bool | operator<= (const This &other) const |
Public Attributes | |
| VertexSet | _set |
Protected Types | |
| typedef SetEdge< V > | This |
| Type of *this. | |
| typedef BaseEdge< V > | Base |
| Base class type. | |
| typedef std::set< V > | VertexSet |
| Vertex set type. | |
Protected Types inherited from bio::BaseEdge< V > | |
| typedef BaseEdge< V > | This |
| Type of *this. | |
Friends | |
| class | SetEdgeRef< V > |
Edges: set implementation of non-oriented edges.
This class implements an edge with a set of Vertex. By construction, this et is always of size 2.
It is templated on a vertex type (prefer a VertexRef type)
|
protected |
| typedef VertexSet::const_iterator bio::SetEdge< V >::const_iterator |
| typedef SetEdgeRef<V> bio::SetEdge< V >::Edge |
| typedef VertexSet::iterator bio::SetEdge< V >::iterator |
| typedef SetEdgeRef<V> bio::SetEdge< V >::Ref |
|
protected |
| typedef V bio::SetEdge< V >::Vertex |
|
protected |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 72 of file setedge.h.
References _set.
Referenced by operator<(), and operator>().
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
access the vertex that is not v
Reimplemented from bio::BaseEdge< V >.
Definition at line 87 of file setedge.h.
References begin().
Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), SetEdge(), and SetEdge().
|
inlinevirtual |
access the vertex that is not v
Reimplemented from bio::BaseEdge< V >.
Definition at line 93 of file setedge.h.
References begin().
|
inlinevirtual |
access the first vertex (x is the smaller vertex)
Reimplemented from bio::BaseEdge< V >.
Definition at line 79 of file setedge.h.
References begin().
Referenced by operator!=(), operator==(), and SetEdge().
|
inlinevirtual |
access the first vertex (x is the smaller vertex)
Reimplemented from bio::BaseEdge< V >.
Definition at line 81 of file setedge.h.
References begin().
|
inlinevirtual |
access the second vertex (y is the bigger vertex)
Reimplemented from bio::BaseEdge< V >.
Definition at line 83 of file setedge.h.
References begin().
Referenced by operator!=(), operator==(), and SetEdge().
|
inlinevirtual |
access the second vertex (y is the bigger vertex)
Reimplemented from bio::BaseEdge< V >.
Definition at line 85 of file setedge.h.
References begin().
|
friend |
| VertexSet bio::SetEdge< V >::_set |