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.tree
The 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 ancientsvoid
TreeLeaf.recomputeDown
(Tree tree) void
TreeNode.recomputeDown
(Tree tree) This function recomputes the attributes of this node after recomputing the left and right subtree.void
TreeLeaf.recomputeUp
(Tree tree) void
TreeNode.recomputeUp
(Tree tree) This function is used to recompute the attributes of all nodes on the way to root from this node.void
TreeLeaf.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