Protocols
The following protocols are available globally.
-
The protocol for all graphs. You should generally use one of its two canonical class implementations, UnweightedGraph and WeightedGraph
See moreDeclaration
Swift
public protocol Graph : Collection, CustomStringConvertible, Decodable, Encodable
-
A protocol that all edges in a graph must conform to.
See moreDeclaration
Swift
public protocol Edge : CustomStringConvertible, Decodable, Encodable
-
Undocumented
See moreDeclaration
Swift
public protocol WeightedEdgeProtocol