bioprocessing
5.1.2
|
Base class for edges. More...
#include <bioprocessing/graph/baseedge.h>
Public Types | |
typedef V | Vertex |
Vertex type. More... | |
typedef BaseEdgeRef< V > | Edge |
Usable Edge type (RC) More... | |
typedef BaseEdgeRef< V > | Ref |
Reference type. More... | |
Public Member Functions | |
virtual | ~BaseEdge () |
virtual Vertex | x () |
access the first vertex (arbitrary choice for non oriented edges) More... | |
virtual const Vertex | x () const |
access the first vertex (arbitrary choice for non oriented edges) More... | |
virtual Vertex | y () |
access the second vertex (arbitrary choice for non oriented edges) More... | |
virtual const Vertex | y () const |
access the second vertex (arbitrary choice for non oriented edges) More... | |
virtual Vertex | other (const Vertex &v) |
access the vertex that is not v More... | |
virtual const Vertex | other (const Vertex &v) const |
access the vertex that is not v More... | |
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 |
Protected Types | |
typedef BaseEdge< V > | This |
Type of *this. More... | |
Friends | |
class | BaseEdgeRef< V > |
Base class for edges.
This class is only a base defining classic methods for edge manipulation. Implementation class derive from it and are then usable. An edge is defined by a couple of vertices. Oriented edges embed additionaly an order (a->b != b->a)
It is templated on a vertex type (prefer a VertexRef type)
Definition at line 35 of file baseedge.h.
typedef BaseEdgeRef<V> bio::BaseEdge< V >::Edge |
Usable Edge type (RC)
Definition at line 42 of file baseedge.h.
typedef BaseEdgeRef<V> bio::BaseEdge< V >::Ref |
Reference type.
Definition at line 43 of file baseedge.h.
|
protected |
Type of *this.
Definition at line 39 of file baseedge.h.
typedef V bio::BaseEdge< V >::Vertex |
Vertex type.
Definition at line 41 of file baseedge.h.
|
inlinevirtual |
Definition at line 47 of file baseedge.h.
|
inlinevirtual |
Reimplemented in bio::SetEdge< V >.
Definition at line 67 of file baseedge.h.
|
inlinevirtual |
Reimplemented in bio::SetEdge< V >.
Definition at line 69 of file baseedge.h.
|
inlinevirtual |
Reimplemented in bio::SetEdge< V >.
Definition at line 71 of file baseedge.h.
|
inlinevirtual |
Reimplemented in bio::SetEdge< V >.
Definition at line 66 of file baseedge.h.
|
inlinevirtual |
Reimplemented in bio::SetEdge< V >.
Definition at line 68 of file baseedge.h.
|
inlinevirtual |
Reimplemented in bio::SetEdge< V >.
Definition at line 70 of file baseedge.h.
|
inlinevirtual |
access the vertex that is not v
Reimplemented in bio::SetEdge< V >.
Definition at line 60 of file baseedge.h.
|
inlinevirtual |
access the vertex that is not v
Reimplemented in bio::SetEdge< V >.
Definition at line 62 of file baseedge.h.
|
inlinevirtual |
access the first vertex (arbitrary choice for non oriented edges)
Reimplemented in bio::SetEdge< V >.
Definition at line 52 of file baseedge.h.
Referenced by operator<<().
|
inlinevirtual |
access the first vertex (arbitrary choice for non oriented edges)
Reimplemented in bio::SetEdge< V >.
Definition at line 54 of file baseedge.h.
|
inlinevirtual |
access the second vertex (arbitrary choice for non oriented edges)
Reimplemented in bio::SetEdge< V >.
Definition at line 56 of file baseedge.h.
Referenced by operator<<().
|
inlinevirtual |
access the second vertex (arbitrary choice for non oriented edges)
Reimplemented in bio::SetEdge< V >.
Definition at line 58 of file baseedge.h.
|
friend |
Definition at line 71 of file baseedge.h.