Struct Edge<TNode>
Namespace: AnyPath.Native
Assembly: AnyPath.dll
Syntax
public readonly struct Edge<TNode> where TNode : unmanaged, IEquatable<TNode>
Type Parameters
Name | Description |
---|---|
TNode |
Constructors
Edge(TNode, float)
Declaration
public Edge(TNode next, float cost)
Parameters
Type | Name | Description |
---|---|---|
TNode | next | |
float | cost |
Fields
Cost
Declaration
public readonly float Cost
Field Value
Type | Description |
---|---|
float |
Next
Declaration
public readonly TNode Next
Field Value
Type | Description |
---|---|
TNode |