Represents an undirected graph.
Declaration Syntax
Members
All Members | Constructors | Methods | Properties | Fields | Events |
Icon | Member | Description |
---|---|---|
UndirectedGraph(IGraphFactory) |
Initializes a new instance of the UndirectedGraph class
| |
AddEdge(Edge) |
Adds an edge to the graph.
(Overrides Graph.AddEdge(Edge).) | |
AddVertex(Vertex) |
Adds a vertex to the graph.
(Inherited from Graph.) | |
Description |
Gets or sets the desciption of the graph.
(Inherited from Graph.) | |
Dispose()()() |
Disposes the graph.
(Inherited from Graph.) | |
EdgeAdded |
Occurs when an edge is added to the graph.
(Inherited from Graph.) | |
EdgeCount |
Gets the number of edges currently on the graph.
(Inherited from Graph.) | |
EdgeLabels |
Gets or sets a boolean value indicating whether or not to regard edge labels.
(Inherited from Graph.) | |
EdgeRemoved |
Occurs when an edge is removed from the graph.
(Inherited from Graph.) | |
Equals(Object) |
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.) | |
Finalize()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetAdjacentVertices(Vertex) |
Retrieves all vertices adjacent to a specifiv vertex
(Overrides Graph.GetAdjacentVertices(Vertex).) | |
GetAllEdges()()() |
Retrieves all edges belonging to the graph.
(Inherited from Graph.) | |
GetEdgesFrom(Vertex) |
Retrieves all edges starting from a specific vertex
(Overrides Graph.GetEdgesFrom(Vertex).) | |
GetEdgesTo(Vertex) |
Retrieves all edges ending at a specific vertex
(Overrides Graph.GetEdgesTo(Vertex).) | |
GetHashCode()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
GetType()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
gf |
The graph factory used by this graph instance.
(Inherited from Graph.) | |
Item[([(Vertex, Vertex])]) |
Gets a specific edge by its two ends.
(Overrides Graph.Item[([(Vertex, Vertex])]).) | |
Item[([(Int32])]) |
Gets a specific vertex by its index.
(Inherited from Graph.) | |
MemberwiseClone()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
OnEdgeAdded(EdgeEventArgs) |
This method supports the Flexivert infrastructure and is not intended to be used directly from your code.
(Inherited from Graph.) | |
OnEdgeRemoved(EdgeEventArgs) |
This method supports the Flexivert infrastructure and is not intended to be used directly from your code.
(Inherited from Graph.) | |
OnVertexAdded(VertexEventArgs) |
This method supports the Flexivert infrastructure and is not intended to be used directly from your code.
(Inherited from Graph.) | |
OnVertexRemoved(VertexEventArgs) |
This method supports the Flexivert infrastructure and is not intended to be used directly from your code.
(Inherited from Graph.) | |
RemoveEdge(Vertex, Vertex) |
Removes an edge from the graph, identified by its two ends.
(Overrides Graph.RemoveEdge(Vertex, Vertex).) | |
RemoveVertex(Vertex) |
Removes a vertex from the graph.
(Inherited from Graph.) | |
ToString()()() |
Returns a String that represents the current Object.
(Inherited from Object.) | |
Type |
Gets the type of this graph, which is undirected.
(Overrides Graph.Type.) | |
VertexAdded |
Occurs when a new vertex is added to the graph.
(Inherited from Graph.) | |
VertexCount |
Gets the number of vertices currently on the graph.
(Inherited from Graph.) | |
VertexLabels |
Gets or sets a boolean value indicating whether or not to regard vertex labels.
(Inherited from Graph.) | |
VertexRemoved |
Occurs when a vertex is removed from the graph.
(Inherited from Graph.) |
Inheritance Hierarchy
Object | ||
Graph | ||
UndirectedGraph |