Struct ReversedGraph<TNode>
Assembly: AnyPath.dll
Syntax
public struct ReversedGraph<TNode> : IGraph<TNode>, IDisposable where TNode : unmanaged, IEquatable<TNode>
Type Parameters
Constructors
ReversedGraph(Allocator)
Declaration
public ReversedGraph(Allocator allocator)
Parameters
Type |
Name |
Description |
Allocator |
allocator |
|
Methods
Compute<TGraph, TEnumerator>(TGraph, TEnumerator)
Declaration
public void Compute<TGraph, TEnumerator>(TGraph source, TEnumerator nodeEnumerator) where TGraph : struct, IGraph<TNode> where TEnumerator : struct, IEnumerator<TNode>
Parameters
Type |
Name |
Description |
TGraph |
source |
|
TEnumerator |
nodeEnumerator |
|
Type Parameters
Name |
Description |
TGraph |
|
TEnumerator |
|
Compute<TGraph, TEnumerator>(TGraph, TEnumerator, Allocator)
Declaration
public static ReversedGraph<TNode> Compute<TGraph, TEnumerator>(TGraph source, TEnumerator nodeEnumerator, Allocator allocator) where TGraph : struct, IGraph<TNode> where TEnumerator : struct, IEnumerator<TNode>
Parameters
Type |
Name |
Description |
TGraph |
source |
|
TEnumerator |
nodeEnumerator |
|
Allocator |
allocator |
|
Returns
Type Parameters
Name |
Description |
TGraph |
|
TEnumerator |
|
ScheduleCompute<TGraph, TEnumerator>(TGraph, TEnumerator, JobHandle)
Declaration
public JobHandle ScheduleCompute<TGraph, TEnumerator>(TGraph source, TEnumerator nodeEnumerator, JobHandle dependsOn = default) where TGraph : struct, IGraph<TNode> where TEnumerator : struct, IEnumerator<TNode>
Parameters
Type |
Name |
Description |
TGraph |
source |
|
TEnumerator |
nodeEnumerator |
|
JobHandle |
dependsOn |
|
Returns
Type |
Description |
JobHandle |
|
Type Parameters
Name |
Description |
TGraph |
|
TEnumerator |
|
Implements
Extension Methods