Craig's Utility Library
4.0 Beta
|
Vertex within the graph More...
Public Member Functions | |
Vertex (T data, Graph< T > graph) | |
Initializes a new instance of the Vertex<T> class. More... | |
Edge< T > | AddOutgoingEdge (Vertex< T > sink) |
Adds an outgoing edge to the vertex specified More... | |
Vertex< T > | Remove () |
Removes all edges from this vertex and removes it from the graph. More... | |
Vertex< T > | RemoveEdge (Edge< T > edge) |
Removes the edge. More... | |
Properties | |
T | Data [get, set] |
Gets or sets the data. More... | |
List< Edge< T > > | IncomingEdges [get] |
Gets the incoming edges. More... | |
List< Edge< T > > | OutgoingEdges [get] |
Gets the outgoing edges. More... | |
Vertex within the graph
T | Data type saved in the vertex |
Utilities.DataTypes.Vertex< T >.Vertex | ( | T | data, |
Graph< T > | graph | ||
) |
Edge<T> Utilities.DataTypes.Vertex< T >.AddOutgoingEdge | ( | Vertex< T > | sink | ) |
Vertex<T> Utilities.DataTypes.Vertex< T >.Remove | ( | ) |
Vertex<T> Utilities.DataTypes.Vertex< T >.RemoveEdge | ( | Edge< T > | edge | ) |
|
getset |
|
get |
|
get |