Vertex Class |
Namespace: DHI.Mike1D.Generic.Graph
The Vertex type exposes the following members.
| Name | Description | |
|---|---|---|
| Edges | List of edges connected to vertex | |
| Index |
Index of this vertex in the list of vertices in the graph.
|
| Name | Description | |
|---|---|---|
| AddEdgeTo(Vertex) | Add edge from this vertex to toVertex | |
| AddEdgeTo(Vertex, Double) | Add edge from this vertex to toVertex with provided weight | |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
| Degree |
Returns the degree of the vertex, i.e. the number of
edges connected to this vertex
(Defined by GraphExtensions.) |