Class UnorientedGraph
Defines an unoriented graph.
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 : Graph
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
| Improve this Doc View SourceCreateSubgraph()
Creates a subgraph.
Declaration
protected override Graph CreateSubgraph()
Returns
| Type | Description |
|---|---|
| Graph | The new subgraph. |