Multigraph<TVertex, TEdge> Multigraph(Of TVertex, TEdge) Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class Multigraph<TVertex, TEdge> : Graph<TVertex>
Public Class Multigraph(Of TVertex, TEdge)
    Inherits Graph(Of TVertex)
Type Parameters
TVertex
TEdge
Inheritance
System.ObjectSystem.Object
Graph<TVertex>Graph(Of TVertex)
Multigraph<TVertex, TEdge>Multigraph(Of TVertex, TEdge)

Properties

Edges Edges

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IEnumerable<TEdge> Edges { get; }
Public Overridable ReadOnly Property Edges As IEnumerable(Of TEdge)
Value
System.Collections.Generic.IEnumerable<TEdge> System.Collections.Generic.IEnumerable(Of TEdge)

Vertices Vertices

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override IEnumerable<TVertex> Vertices { get; }
Public Overrides ReadOnly Property Vertices As IEnumerable(Of TVertex)
Value
System.Collections.Generic.IEnumerable<TVertex> System.Collections.Generic.IEnumerable(Of TVertex)
Overrides
Microsoft.EntityFrameworkCore.Internal.Graph<TVertex>.VerticesMicrosoft.EntityFrameworkCore.Internal.Graph<TVertex>.Vertices

Methods

AddEdge(TVertex, TVertex, TEdge) AddEdge(TVertex, TVertex, TEdge)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void AddEdge(TVertex from, TVertex to, TEdge edge)
Public Overridable Sub AddEdge(from As TVertex, to As TVertex, edge As TEdge)
Parameters
from
TVertex TVertex
to
TVertex TVertex
edge
TEdge TEdge

AddEdges(TVertex, TVertex, IEnumerable) AddEdges(TVertex, TVertex, IEnumerable(Of TEdge))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void AddEdges(TVertex from, TVertex to, IEnumerable<TEdge> edges)
Public Overridable Sub AddEdges(from As TVertex, to As TVertex, edges As IEnumerable(Of TEdge))
Parameters
from
TVertex TVertex
to
TVertex TVertex
edges
System.Collections.Generic.IEnumerable<TEdge> System.Collections.Generic.IEnumerable(Of TEdge)

AddVertex(TVertex) AddVertex(TVertex)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void AddVertex(TVertex vertex)
Public Overridable Sub AddVertex(vertex As TVertex)
Parameters
vertex
TVertex TVertex

AddVertices(IEnumerable) AddVertices(IEnumerable(Of TVertex))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void AddVertices(IEnumerable<TVertex> vertices)
Public Overridable Sub AddVertices(vertices As IEnumerable(Of TVertex))
Parameters
vertices
System.Collections.Generic.IEnumerable<TVertex> System.Collections.Generic.IEnumerable(Of TVertex)

BatchingTopologicalSort() BatchingTopologicalSort()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IReadOnlyList<List<TVertex>> BatchingTopologicalSort()
Public Overridable Function BatchingTopologicalSort As IReadOnlyList(Of List(Of TVertex))
Returns
System.Collections.Generic.IReadOnlyList<System.Collections.Generic.List<TVertex>> System.Collections.Generic.IReadOnlyList(Of System.Collections.Generic.List(Of TVertex))

BatchingTopologicalSort(Func<><>>>, String>) BatchingTopologicalSort(Func(Of IEnumerable(Of Tuple(Of TVertex, TVertex, IEnumerable(Of TEdge))), String))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IReadOnlyList<List<TVertex>> BatchingTopologicalSort(Func<IEnumerable<Tuple<TVertex, TVertex, IEnumerable<TEdge>>>, string> formatCycle)
Public Overridable Function BatchingTopologicalSort(formatCycle As Func(Of IEnumerable(Of Tuple(Of TVertex, TVertex, IEnumerable(Of TEdge))), String)) As IReadOnlyList(Of List(Of TVertex))
Parameters
formatCycle
System.Func<System.Collections.Generic.IEnumerable<System.Tuple<TVertex, TVertex, System.Collections.Generic.IEnumerable<TEdge>>>, System.String> System.Func(Of System.Collections.Generic.IEnumerable(Of System.Tuple(Of TVertex, TVertex, System.Collections.Generic.IEnumerable(Of TEdge))), System.String)
Returns
System.Collections.Generic.IReadOnlyList<System.Collections.Generic.List<TVertex>> System.Collections.Generic.IReadOnlyList(Of System.Collections.Generic.List(Of TVertex))

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetEdges(TVertex, TVertex) GetEdges(TVertex, TVertex)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IEnumerable<TEdge> GetEdges(TVertex from, TVertex to)
Public Overridable Function GetEdges(from As TVertex, to As TVertex) As IEnumerable(Of TEdge)
Parameters
from
TVertex TVertex
to
TVertex TVertex
Returns
System.Collections.Generic.IEnumerable<TEdge> System.Collections.Generic.IEnumerable(Of TEdge)

GetHashCode() GetHashCode()

Inherited from System.Object

GetIncomingNeighbours(TVertex) GetIncomingNeighbours(TVertex)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override IEnumerable<TVertex> GetIncomingNeighbours(TVertex to)
Public Overrides Function GetIncomingNeighbours(to As TVertex) As IEnumerable(Of TVertex)
Parameters
to
TVertex TVertex
Returns
System.Collections.Generic.IEnumerable<TVertex> System.Collections.Generic.IEnumerable(Of TVertex)
Overrides
Microsoft.EntityFrameworkCore.Internal.Graph<TVertex>.GetIncomingNeighbours(TVertex)Microsoft.EntityFrameworkCore.Internal.Graph<TVertex>.GetIncomingNeighbours(TVertex)

GetOutgoingNeighbours(TVertex) GetOutgoingNeighbours(TVertex)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public override IEnumerable<TVertex> GetOutgoingNeighbours(TVertex from)
Public Overrides Function GetOutgoingNeighbours(from As TVertex) As IEnumerable(Of TVertex)
Parameters
from
TVertex TVertex
Returns
System.Collections.Generic.IEnumerable<TVertex> System.Collections.Generic.IEnumerable(Of TVertex)
Overrides
Microsoft.EntityFrameworkCore.Internal.Graph<TVertex>.GetOutgoingNeighbours(TVertex)Microsoft.EntityFrameworkCore.Internal.Graph<TVertex>.GetOutgoingNeighbours(TVertex)

GetType() GetType()

Inherited from System.Object

GetUnreachableVertices(IReadOnlyList) GetUnreachableVertices(IReadOnlyList(Of TVertex))

Inherited from Microsoft.EntityFrameworkCore.Internal.Graph<TVertex>

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

TopologicalSort() TopologicalSort()

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IReadOnlyList<TVertex> TopologicalSort()
Public Overridable Function TopologicalSort As IReadOnlyList(Of TVertex)
Returns
System.Collections.Generic.IReadOnlyList<TVertex> System.Collections.Generic.IReadOnlyList(Of TVertex)

TopologicalSort(Func<><>>>, String>) TopologicalSort(Func(Of IEnumerable(Of Tuple(Of TVertex, TVertex, IEnumerable(Of TEdge))), String))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IReadOnlyList<TVertex> TopologicalSort(Func<IEnumerable<Tuple<TVertex, TVertex, IEnumerable<TEdge>>>, string> formatCycle)
Public Overridable Function TopologicalSort(formatCycle As Func(Of IEnumerable(Of Tuple(Of TVertex, TVertex, IEnumerable(Of TEdge))), String)) As IReadOnlyList(Of TVertex)
Parameters
formatCycle
System.Func<System.Collections.Generic.IEnumerable<System.Tuple<TVertex, TVertex, System.Collections.Generic.IEnumerable<TEdge>>>, System.String> System.Func(Of System.Collections.Generic.IEnumerable(Of System.Tuple(Of TVertex, TVertex, System.Collections.Generic.IEnumerable(Of TEdge))), System.String)
Returns
System.Collections.Generic.IReadOnlyList<TVertex> System.Collections.Generic.IReadOnlyList(Of TVertex)

TopologicalSort(Func, Boolean>) TopologicalSort(Func(Of TVertex, TVertex, IEnumerable(Of TEdge), Boolean))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IReadOnlyList<TVertex> TopologicalSort(Func<TVertex, TVertex, IEnumerable<TEdge>, bool> canBreakEdge)
Public Overridable Function TopologicalSort(canBreakEdge As Func(Of TVertex, TVertex, IEnumerable(Of TEdge), Boolean)) As IReadOnlyList(Of TVertex)
Parameters
canBreakEdge
System.Func<TVertex, TVertex, System.Collections.Generic.IEnumerable<TEdge>, System.Boolean> System.Func(Of TVertex, TVertex, System.Collections.Generic.IEnumerable(Of TEdge), System.Boolean)
Returns
System.Collections.Generic.IReadOnlyList<TVertex> System.Collections.Generic.IReadOnlyList(Of TVertex)

TopologicalSort(Func, Boolean>, Func<><>>>, String>) TopologicalSort(Func(Of TVertex, TVertex, IEnumerable(Of TEdge), Boolean), Func(Of IEnumerable(Of Tuple(Of TVertex, TVertex, IEnumerable(Of TEdge))), String))

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual IReadOnlyList<TVertex> TopologicalSort(Func<TVertex, TVertex, IEnumerable<TEdge>, bool> canBreakEdge, Func<IEnumerable<Tuple<TVertex, TVertex, IEnumerable<TEdge>>>, string> formatCycle)
Public Overridable Function TopologicalSort(canBreakEdge As Func(Of TVertex, TVertex, IEnumerable(Of TEdge), Boolean), formatCycle As Func(Of IEnumerable(Of Tuple(Of TVertex, TVertex, IEnumerable(Of TEdge))), String)) As IReadOnlyList(Of TVertex)
Parameters
canBreakEdge
System.Func<TVertex, TVertex, System.Collections.Generic.IEnumerable<TEdge>, System.Boolean> System.Func(Of TVertex, TVertex, System.Collections.Generic.IEnumerable(Of TEdge), System.Boolean)
formatCycle
System.Func<System.Collections.Generic.IEnumerable<System.Tuple<TVertex, TVertex, System.Collections.Generic.IEnumerable<TEdge>>>, System.String> System.Func(Of System.Collections.Generic.IEnumerable(Of System.Tuple(Of TVertex, TVertex, System.Collections.Generic.IEnumerable(Of TEdge))), System.String)
Returns
System.Collections.Generic.IReadOnlyList<TVertex> System.Collections.Generic.IReadOnlyList(Of TVertex)

ToString() ToString()

Inherited from System.Object

ToString(TVertex) ToString(TVertex)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

protected virtual string ToString(TVertex vertex)
Protected Overridable Function ToString(vertex As TVertex) As String
Parameters
vertex
TVertex TVertex
Returns
System.String System.String