AdjacencyList
public struct AdjacencyList<Node> where Node : Hashable
Undocumented
-
Undocumented
Declaration
Swift
public let adjacencies: [Node : Set<Node>]
-
Undocumented
Declaration
Swift
public init(_ adjacencies: [Node : Set<Node>])
-
Undocumented
Declaration
Swift
public init(safe adjacencies: [Node : Set<Node>])
-
Undocumented
Declaration
Swift
public func DAGify() -> AdjacencyList<Set<Node>>
-
Undocumented
Declaration
Swift
public func containsCycle() -> Bool