Represents a vertex in a graph.
The following tables list the members exposed by the Vertex type.
Name | Description | |
---|---|---|
Initializes a new instance of the Vertex class. |
Name | Description | |
---|---|---|
A list containing all edges incident with this vertex. |
||
A list containing all incoming edges. |
||
A list containing all outgoing edges. |
||
The relative weight of this vertex. |
Name | Description | |
---|---|---|
Checks if there is an edge connecting this vertex with the specified vertex. |
||
Returns the number of incident edges. |
||
Finds the edge connecting the current vertex with the specified vertex. |
||
Returns an array containing all vertices adjacent to the current vertex. |
||
Checks if the current vertex is incident with the specified edge. |