Classes
The following classes are available globally.
-
An implementation of Graph that has convenience methods for adding and removing WeightedEdges. All added Edges should have the same generic Comparable type W as the WeightedGraph itself.
See moreDeclaration
Swift
open class WeightedGraph<V, W> : Graph where V : Decodable, V : Encodable, V : Equatable, W : Decodable, W : Encodable, W : Equatable
-
Implements a queue - helper class that uses an array internally.
See moreDeclaration
Swift
public class Queue<T>
-
Implements a stack - helper class that uses an array internally.
See moreDeclaration
Swift
public class Stack<T>
-
An implementation Graph that ensures there are no pairs of equal vertices and no repeated edges.
See moreDeclaration