Class ThetaLambdaTree


  • class ThetaLambdaTree
    extends Tree
    Implements ThetaLambdaTree and operations on this tree for Cumulative constraint
    Version:
    4.8
    • Constructor Detail

      • ThetaLambdaTree

        public ThetaLambdaTree​(IntVar capacity)
    • Method Detail

      • buildTree

        public void buildTree​(TaskView[] task)
      • computeLeaveVals

        private void computeLeaveVals​(int i)
      • addToThetaInit

        private void addToThetaInit​(int i)
      • computeNodeVals

        private void computeNodeVals​(int i)
      • computeThetaNode

        private void computeThetaNode​(int i)
      • clearNode

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

        private void updateThetaTree​(int i)
      • enableNode

        void enableNode​(int i,
                        long ci)
      • disableNode

        void disableNode​(int i)
      • moveToLambda

        void moveToLambda​(int i)
      • removeFromLambda

        void removeFromLambda​(int i)
      • updateTree

        private void updateTree​(int i)
      • calcEnvlc

        long calcEnvlc​(long bound,
                       long c)
      • getCapacity

        IntVar getCapacity()
      • setCapacity

        void setCapacity​(IntVar capacity)
      • isLeaf

        private boolean isLeaf​(int i)
      • printTree

        public void printTree​(java.lang.String name)
      • toGraph

        public java.lang.String toGraph​(java.lang.String name)
      • treeToGraph

        java.lang.StringBuffer treeToGraph​(int i)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object