Class UnorientedGraph<TNodeValue>
Defines an unoriented graph with value nodes.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Kephas.Graphs
Assembly: Kephas.Core.dll
Syntax
public class UnorientedGraph<TNodeValue> : Graph<TNodeValue>
Type Parameters
Name | Description |
---|---|
TNodeValue | Type of the node value. |
Methods
| Improve this Doc View SourceCreateEdge(GraphNode, GraphNode)
Creates an edge between two nodes.
Declaration
protected override GraphEdge CreateEdge(GraphNode from, GraphNode to)
Parameters
Type | Name | Description |
---|---|---|
GraphNode | from | The starting node. |
GraphNode | to | The ending node. |
Returns
Type | Description |
---|---|
GraphEdge | The new edge. |
Overrides
Kephas.Graphs.Graph<TNodeValue>.CreateEdge(Kephas.Graphs.GraphNode, Kephas.Graphs.GraphNode)
|
Improve this Doc
View Source
CreateSubgraph()
Creates a subgraph.
Declaration
protected override Graph CreateSubgraph()
Returns
Type | Description |
---|---|
Graph | The new subgraph. |
Overrides
Kephas.Graphs.Graph<TNodeValue>.CreateSubgraph()