Uses of Class
org.jacop.constraints.knapsack.Tree
Packages that use Tree
-
Uses of Tree in org.jacop.constraints.knapsack
Fields in org.jacop.constraints.knapsack declared as TreeModifier and TypeFieldDescriptionKnapsack.treeThe tree for the storing information about the maximalWeight, sum of weights and sum of profits.Methods in org.jacop.constraints.knapsack that return TreeModifier and TypeMethodDescriptionA merge method for trees, it added a new root from the ancientsMethods in org.jacop.constraints.knapsack with parameters of type TreeModifier and TypeMethodDescriptionA merge method for trees, it added a new root from the ancientsvoidTreeLeaf.recomputeDown(Tree tree) voidTreeNode.recomputeDown(Tree tree) This function recomputes the attributes of this node after recomputing the left and right subtree.voidTreeLeaf.recomputeUp(Tree tree) voidTreeNode.recomputeUp(Tree tree) This function is used to recompute the attributes of all nodes on the way to root from this node.voidTreeLeaf.updateInternalValues(Tree tree) Only used in removeLevelLate(), update the internal value like previous and slice.Constructors in org.jacop.constraints.knapsack with parameters of type Tree