Class ThetaTree

java.lang.Object
org.jacop.constraints.cumulative.Tree
org.jacop.constraints.cumulative.ThetaTree
Direct Known Subclasses:
ThetaLambdaUnaryTree

class ThetaTree extends Tree
Implements ThetaTree and operations on this tree for Cumulative constraint
Version:
4.8
  • Field Details

  • Constructor Details

    • ThetaTree

      public ThetaTree()
  • Method Details

    • buildTree

      public void buildTree(TaskView[] task)
    • initTree

      public void initTree(TaskView[] task)
    • addLeave

      private void addLeave(int i)
    • computeLeaveVals

      void computeLeaveVals(int i)
    • addToThetaInit

      void addToThetaInit(int i)
    • computeNodeVals

      void computeNodeVals(int i)
    • addNode

      private void addNode(int i)
    • computeNode

      private void computeNode(int i)
    • clearNode

      void clearNode(int i)
      Specified by:
      clearNode in class Tree
    • clearTree

      void clearTree()
      Overrides:
      clearTree in class Tree
    • updateTree

      void updateTree(int i)
    • enableNode

      void enableNode(int i)
    • disableNode

      private void disableNode(int i)
    • ect

      int ect(int i)
    • leaveIndex

      private int leaveIndex(int i)
    • leaf

      ThetaNode leaf(int i)
    • isLeaf

      boolean isLeaf(int i)
    • rootNode

      ThetaNode rootNode()
    • get

      ThetaNode get(int i)
    • printTree

      public void printTree(String name)
    • toGraph

      public String toGraph(String name)
    • treeToGraph

      StringBuffer treeToGraph(int i)
    • toString

      public String toString()
      Overrides:
      toString in class Object