WeightedGraphSchemeProtocol

public protocol WeightedGraphSchemeProtocol : GraphSchemeProtocol

Undocumented

  • Undocumented

    Declaration

    Swift

    associatedtype Weight
  • Undocumented

    Declaration

    Swift

    var weight: (Edge) -> Weight? { get }
  • Undocumented

    Declaration

    Swift

    init (_ weight: @escaping (Edge) -> Weight?)
  • Undocumented

    Declaration

    Swift

    func weight(from start: Node, to end: Node) -> Weight?