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
Graphprotocol that allows optimal path finding between nodes without the need of a containingGraphtype.Use this protocol instead of
Graphif your nodes store their outgoing edges.When your nodes do not store edge information, consider using the
See moreGraphprotocol.Declaration
Swift
public protocol GraphNode : Graph, Hashable
View on GitHub
Protocols Reference