Show / Hide Table of Contents

Class GraphExtensions

Extension methods for graphs.

Inheritance
System.Object
GraphExtensions
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 static class GraphExtensions

Methods

| Improve this Doc View Source

GetConnectedSubgraphs<TGraph>(TGraph)

Gets the connected subgraphs.

Declaration
public static ICollection<TGraph> GetConnectedSubgraphs<TGraph>(this TGraph graph)

    where TGraph : Graph
Parameters
Type Name Description
TGraph graph

The graph to act on.

Returns
Type Description
System.Collections.Generic.ICollection<TGraph>

The connected subgraphs.

Type Parameters
Name Description
TGraph

Type of the graph.

| Improve this Doc View Source

Merge<TGraph>(TGraph, TGraph)

Merges the source graph into this graph.

Declaration
public static TGraph Merge<TGraph>(this TGraph graph, TGraph sourceGraph)

    where TGraph : Graph
Parameters
Type Name Description
TGraph graph

The graph to act on.

TGraph sourceGraph

The source graph.

Returns
Type Description
TGraph

This graph.

Type Parameters
Name Description
TGraph

Type of the graph.

  • Improve this Doc
  • View Source
Back to top Generated by DocFX