Package org.jacop.constraints.cumulative
Class ThetaLambdaTree
java.lang.Object
org.jacop.constraints.cumulative.Tree
org.jacop.constraints.cumulative.ThetaLambdaTree
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) IntVar
private ThetaLambdaNode
private TaskView[]
private ThetaLambdaNode[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addToThetaInit
(int i) void
(package private) long
calcEnvlc
(long bound, long c) (package private) void
clearNode
(int i) private void
computeLeaveVals
(int i) private void
computeNodeVals
(int i) private void
computeThetaNode
(int i) (package private) void
disableNode
(int i) (package private) void
enableNode
(int i, long ci) (package private) ThetaLambdaNode
get
(int i) (package private) IntVar
private boolean
isLeaf
(int i) (package private) ThetaLambdaNode
leaf
(int i) (package private) void
moveToLambda
(int i) void
(package private) void
removeFromLambda
(int i) (package private) ThetaLambdaNode
rootNode()
(package private) void
setCapacity
(IntVar capacity) toString()
(package private) StringBuffer
treeToGraph
(int i) private void
updateThetaTree
(int i) private void
updateTree
(int i)
-
Field Details
-
tree
-
C
IntVar C -
orderedTasks
-
empty
-
-
Constructor Details
-
ThetaLambdaTree
-
-
Method Details
-
buildTree
-
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) -
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
-
leaf
-
isLeaf
private boolean isLeaf(int i) -
rootNode
ThetaLambdaNode rootNode() -
get
-
printTree
-
toGraph
-
treeToGraph
-
toString
-