Branch

public class Branch

Branch between two nodes

  • a feature value of the from node

    Declaration

    Swift

    public var label: String
  • parent node

    Declaration

    Swift

    public var from: Node
  • to

    child node

    Declaration

    Swift

    public var to: Node
  • Creates a Branch

    Declaration

    Swift

    public init(label: String, from: Node, to: Node)

    Parameters

    label

    feature value of the from node

    from

    parent node

    to

    child node

    Return Value

    Branch