Algorithms_in_C++ 1.0.0
Set of algorithms implemented in C++.
|
Public Member Functions | |
Edge (Edge &&)=default | |
Edge & | operator= (Edge &&)=default |
Edge (Edge const &)=default | |
Edge & | operator= (Edge const &)=default |
Edge (unsigned int source, unsigned int destination) | |
Public Attributes | |
int | src |
int | dst |
int | weight |
unsigned int | src |
unsigned int | dest |
Implementation of non-weighted directed edge of a graph.
The source vertex of the edge is labelled "src" and destination vertex is labelled "dest".
|
inline |
Set the source and destination of the vertex.
source | is the source vertex of the edge. |
destination | is the destination vertex of the edge. |