Category

public enum Category

The category of a node indicates whether the node is a chance node, a decison node, a utility node, a (real-valued or a discrete) function node, or a class instance node (representing an instance of a class in an OOBN).

  • Chance nodes: discrete or continuous

    Declaration

    Swift

    case chance
  • Decision nodes in LIMIDs: Only discrete decision nodes are supported

    Declaration

    Swift

    case decision
  • Utility nodes in LIMIDs (other)

    Declaration

    Swift

    case utility
  • Function nodes: Real-valued (other) or discrete

    Declaration

    Swift

    case function
  • Instance nodes (other): Represents instances of classes in OOBNs

    Declaration

    Swift

    case instance