EdgeConstraint

public enum EdgeConstraint

This is used to represent domain knowledge about a particular edge between a pair of nodes. Such knowledge can be used to constrain the set of networks that can be learned from data. The knowledge is used by the structure learning algorithm to resolve ambiguities (e.g., deciding the direction of a edge). Concretely, the knowledge can express the direction of a edge, the presence or absence of a edge, or both.

  • Represents that no domain knowledge is available for a particular pair of Nodes.

    Declaration

    Swift

    case none
  • Represents the domain knowledge that an edge is required for a particular pair of Nodes.

    Declaration

    Swift

    case edgeRequired
  • Represents the domain knowledge that a directed edge is required from the first to the second Node in an ordered pair of Nodes.

    Declaration

    Swift

    case forwardEdgeRequired
  • Represents the domain knowledge that a directed edge is required from the second to the first Node in an ordered pair of Nodes.

    Declaration

    Swift

    case backwardEdgeRequired
  • Represents the domain knowledge that an edge is forbidden between a particular pair of Nodes.

    Declaration

    Swift

    case edgeForbidden
  • Represents the domain knowledge that a directed edge is forbidden from the first to the second Node in an ordered pair of Nodes.

    Declaration

    Swift

    case forwardEdgeForbidden
  • Represents the domain knowledge that a directed edge is forbidden from the second to the first Node in an ordered pair of Nodes.

    Declaration

    Swift

    case backwardEdgeForbidden