Graph Class |
Namespace: DHI.Mike1D.Generic.Graph
The Graph type exposes the following members.
Name | Description | |
---|---|---|
Graph |
Create a new empty graph.
| |
Graph(Int32) |
Create new graph with the specified number of vertices allocated.
|
Name | Description | |
---|---|---|
AddEdge(Int32, Int32) | Add edge between two vertices in graph. Vertices must already be part of graph | |
AddEdge(Vertex, Vertex) | Add edge between from and to vertices | |
AddEdge(Int32, Int32, Double) | Add edge between two vertices in graph, with specified weight. Vertices must already be part of graph | |
AddVertex | Add vertex to graph, its index is the position in the list of vertices | |
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.) |