Class EdgePathExtensions
Extension method for the edge path.
Inheritance
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public static class EdgePathExtensions
Methods
Expand<T>(EdgePath<T>, DirectedDynamicGraph, WeightHandler<T>, Boolean)
Expands all edges in the given edge path.
Declaration
public static EdgePath<T> Expand<T>(this EdgePath<T> edgePath, DirectedDynamicGraph graph, WeightHandler<T> weightHandler, bool direction)where T : struct
Parameters
EdgePath<T>
edgePath
|
DirectedDynamicGraph
graph
|
WeightHandler<T>
weightHandler
|
System.Boolean
direction
|
Returns
EdgePath<T>
|
Type Parameters
T
|
Expand<T>(EdgePath<T>, DirectedDynamicGraph.EdgeEnumerator, WeightHandler<T>, Boolean)
Expands all edges in the given edge path.
Declaration
public static EdgePath<T> Expand<T>(this EdgePath<T> edgePath, DirectedDynamicGraph.EdgeEnumerator enumerator, WeightHandler<T> weightHandler, bool direction)where T : struct
Parameters
EdgePath<T>
edgePath
|
DirectedDynamicGraph.EdgeEnumerator
enumerator
|
WeightHandler<T>
weightHandler
|
System.Boolean
direction
|
Returns
EdgePath<T>
|
Type Parameters
T
|
GetSequence1<T>(EdgePath<T>, DirectedDynamicGraph.EdgeEnumerator)
Gets sequence 1, the first vertices right after the start vertex.
Declaration
public static uint[] GetSequence1<T>(this EdgePath<T> path, DirectedDynamicGraph.EdgeEnumerator enumerator)where T : struct
Parameters
EdgePath<T>
path
|
DirectedDynamicGraph.EdgeEnumerator
enumerator
|
Returns
System.UInt32[]
|
Type Parameters
T
|
GetSequence1<T>(EdgePath<T>, DirectedDynamicGraph.EdgeEnumerator, Int32)
Gets sequence 1, the first vertices right after the start vertex with a maximum of n.
Declaration
public static uint[] GetSequence1<T>(this EdgePath<T> path, DirectedDynamicGraph.EdgeEnumerator enumerator, int n)where T : struct
Parameters
EdgePath<T>
path
|
DirectedDynamicGraph.EdgeEnumerator
enumerator
|
System.Int32
n
|
Returns
System.UInt32[]
|
Type Parameters
T
|
GetSequence2<T>(EdgePath<T>, DirectedDynamicGraph.EdgeEnumerator)
Gets sequence 2, the last vertices right before the end vertex.
Declaration
public static uint[] GetSequence2<T>(this EdgePath<T> path, DirectedDynamicGraph.EdgeEnumerator enumerator)where T : struct
Parameters
EdgePath<T>
path
|
DirectedDynamicGraph.EdgeEnumerator
enumerator
|
Returns
System.UInt32[]
|
Type Parameters
T
|
GetSequence2<T>(EdgePath<T>, DirectedDynamicGraph.EdgeEnumerator, Int32)
Gets sequence 2, the last vertices right before the end vertex with a maximum of n.
Declaration
public static uint[] GetSequence2<T>(this EdgePath<T> path, DirectedDynamicGraph.EdgeEnumerator enumerator, int n)where T : struct
Parameters
EdgePath<T>
path
|
DirectedDynamicGraph.EdgeEnumerator
enumerator
|
System.Int32
n
|
Returns
System.UInt32[]
|
Type Parameters
T
|
GetSequence2<T>(EdgePath<T>, DirectedDynamicGraph.EdgeEnumerator, Int32, List<UInt32>)
Gets sequence 2, the last vertices right before the end vertex with a maximum of n.
Declaration
public static uint[] GetSequence2<T>(this EdgePath<T> path, DirectedDynamicGraph.EdgeEnumerator enumerator, int n, List<uint> s)where T : struct
Parameters
EdgePath<T>
path
|
DirectedDynamicGraph.EdgeEnumerator
enumerator
|
System.Int32
n
|
List<System.UInt32>
s
|
Returns
System.UInt32[]
|
Type Parameters
T
|
IsOriginal<T>(EdgePath<T>, DirectedDynamicGraph.EdgeEnumerator)
Returns true if the last edge in this path is an original edge.
Declaration
public static bool IsOriginal<T>(this EdgePath<T> path, DirectedDynamicGraph.EdgeEnumerator enumerator)where T : struct
Parameters
EdgePath<T>
path
|
DirectedDynamicGraph.EdgeEnumerator
enumerator
|
Returns
System.Boolean
|
Type Parameters
T
|