IEdgeT Interface

Represents an edge in a graph.

Definition

Namespace: SimpleAIPlayer
Assembly: SimpleAIPlayer (in SimpleAIPlayer.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
C#
public interface IEdge<T>
where T : Object, INode<T>

Type Parameters

T
Type of the nodes of the graph

Properties

Cost The cost (length) of the edge. For IDA* to work properly, it needs to be non-negative.
From The start node of the edge.
To The end node of the edge.

See Also