WeightedEdge

public struct WeightedEdge<W> : Edge, CustomStringConvertible, Equatable where W : Decodable, W : Encodable, W : Equatable

A weighted edge, who’s weight subscribes to Comparable.

  • Declaration

    Swift

    public static func == <W>(lhs: WeightedEdge<W>, rhs: WeightedEdge<W>) -> Bool where W : Decodable, W : Encodable, W : Equatable
  • Declaration

    Swift

    public static func < (lhs: WeightedEdge, rhs: WeightedEdge) -> Bool