Protocols
The following protocols are available globally.
-
This protocol declares the requirements for optimal pathfinding in a directed graph of nodes and implements the A* algorithm via an extension.
See moreDeclaration
Swift
public protocol Graph
-
A simplified version of the
Graph
protocol that allows optimal path finding between nodes without the need of a containingGraph
type.Use this protocol instead of
Graph
if your nodes store their outgoing edges.When your nodes do not store edge information, consider using the
See moreGraph
protocol.Declaration
Swift
public protocol GraphNode : Graph, Hashable