Tulip
5.3.0
Large graphs analysis and drawing
|
#include <Edge.h>
Public Member Functions | |
edge () | |
edge (unsigned int j) | |
bool | isValid () const |
operator unsigned int () const | |
bool | operator!= (const edge e) const |
bool | operator== (const edge e) const |
Public Attributes | |
unsigned int | id |
The edge struct represents an edge in a Graph object.
This structure only contains an identifier, and a function to check if the edge is valid. A edge is considered invalid when its id has the UINT_MAX value.
Most operations performed on an edge (getting the source, target, etc) are available into the tlp::Graph object.
|
inlineexplicit |
edge Create an edge of given identifier. It is your responsibility to make sure an edge of this ID exists when you create the edge. If you want to make sure this edge exists, use Graph::isElement(), as isValid() will only tell is the edge was correctly initialized.
j | the identifier this edge will use. |
|
inline |
|
inline |
|
inline |
|
inline |