Struct ComposedGraph<TGraph, TNode>
Assembly: AnyPath.dll
Syntax
public struct ComposedGraph<TGraph, TNode> : IGraph<TNode>, IDisposable where TGraph : struct, IGraph<TNode> where TNode : unmanaged, IEquatable<TNode>
Type Parameters
| Name |
Description |
| TGraph |
|
| TNode |
|
Fields
section1
Declaration
Field Value
section2
Declaration
Field Value
section3
Declaration
Field Value
section4
Declaration
Field Value
Methods
Collect(TNode, ref NativeList<Edge<TNode>>)
Implement adding all the directed edges that go from the input node.
Declaration
public void Collect(TNode node, ref NativeList<Edge<TNode>> edgeBuffer)
Parameters
| Type |
Name |
Description |
| TNode |
node |
Input node
|
| NativeList<Edge<TNode>> |
edgeBuffer |
Add edges to other nodes to this buffer.
The buffer is automatically cleared each time before this method is called.
Warning: do not modify the edgeBuffer itself. Only add to it. The ref keyword is only used for performance reasons.
|
Dispose()
Declaration
Dispose(JobHandle)
Declaration
public JobHandle Dispose(JobHandle inputDeps)
Parameters
| Type |
Name |
Description |
| JobHandle |
inputDeps |
|
Returns
| Type |
Description |
| JobHandle |
|
Implements
Extension Methods