Package org.jacop.constraints.cumulative
Class ThetaLambdaUnaryTree
java.lang.Object
org.jacop.constraints.cumulative.Tree
org.jacop.constraints.cumulative.ThetaTree
org.jacop.constraints.cumulative.ThetaLambdaUnaryTree
Implements ThetaLambdaUnaryTree and operations on this tree for Cumulative constraint
- Version:
- 4.8
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) ThetaLambdaUnaryNode
(package private) TaskView[]
(package private) ThetaLambdaUnaryNode[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
addToThetaInit
(int i) void
(package private) void
clearNode
(int i) (package private) void
computeLeaveVals
(int i) (package private) void
computeNodeVals
(int i) (package private) int
ect()
(package private) int
(package private) ThetaLambdaUnaryNode
get
(int i) (package private) boolean
isLeaf
(int i) (package private) ThetaLambdaUnaryNode
leaf
(int i) (package private) void
moveToLambda
(int i) void
(package private) void
removeFromLambda
(int i) (package private) ThetaLambdaUnaryNode
rootNode()
toString()
(package private) StringBuffer
treeToGraph
(int i) (package private) void
updateTree
(int i) Methods inherited from class org.jacop.constraints.cumulative.ThetaTree
clearTree, ect, enableNode, initTree
-
Field Details
-
tree
ThetaLambdaUnaryNode[] tree -
orderedTasks
TaskView[] orderedTasks -
empty
ThetaLambdaUnaryNode empty
-
-
Constructor Details
-
ThetaLambdaUnaryTree
public ThetaLambdaUnaryTree()
-
-
Method Details
-
buildTree
-
computeLeaveVals
void computeLeaveVals(int i) - Overrides:
computeLeaveVals
in classThetaTree
-
addToThetaInit
void addToThetaInit(int i) - Overrides:
addToThetaInit
in classThetaTree
-
computeNodeVals
void computeNodeVals(int i) - Overrides:
computeNodeVals
in classThetaTree
-
ect
int ect() -
ectLambda
int ectLambda() -
clearNode
void clearNode(int i) -
moveToLambda
void moveToLambda(int i) -
removeFromLambda
void removeFromLambda(int i) -
updateTree
void updateTree(int i) - Overrides:
updateTree
in classThetaTree
-
leaf
-
isLeaf
boolean isLeaf(int i) -
rootNode
ThetaLambdaUnaryNode rootNode() -
get
-
printTree
-
toGraph
-
treeToGraph
- Overrides:
treeToGraph
in classThetaTree
-
toString
-