Class VarSpecLeafCombine
java.lang.Object
org.proforma.variability.transfer.VarSpecNode
org.proforma.variability.transfer.VarSpecLeaf
org.proforma.variability.transfer.VarSpecLeafCombine
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
protected org.proforma.variability.transfer.VarSpecNode.DefRefCollector
Can be called only when all children are present.int
dim()
getValue()
protected void
prettyPrint
(PrintStream out, String prefix) protected void
pushInheritedCVpToChildren
(CVp inheritedCVp) void
setParent
(VarSpecNode parent) void
long
protected void
validateNewChild
(VarSpecNode child) Methods inherited from class org.proforma.variability.transfer.VarSpecLeaf
getChildren, getCVp, setChildren, setCVp
Methods inherited from class org.proforma.variability.transfer.VarSpecNode
afterUnmarshal, collect, collectAndValidateAllDefsAndRefs, collectGroup, combine, combineGroup, define, deriveCollect, deriveVal, endBuild, endBuildTable, endCollectGroup, endCombineGroup, endDefine, findDef, getDebugId, getEffectiveVp, getEffectiveVpIndex, getLastChild, getNonDefineChildren, getParent, getRoot, numNonDefineChildren, prettyPrint, prettyPrint, range, range, range, ref, toString, val
-
Constructor Details
-
VarSpecLeafCombine
public VarSpecLeafCombine() -
VarSpecLeafCombine
-
-
Method Details
-
clone
- Specified by:
clone
in classVarSpecNode
-
getValue
-
setValue
-
collectDefRefs
protected org.proforma.variability.transfer.VarSpecNode.DefRefCollector collectDefRefs()Can be called only when all children are present.- Overrides:
collectDefRefs
in classVarSpecNode
-
pushInheritedCVpToChildren
- Specified by:
pushInheritedCVpToChildren
in classVarSpecNode
-
sizeLowerBound
public long sizeLowerBound()- Specified by:
sizeLowerBound
in classVarSpecNode
- Returns:
- the number of tuples in this set.
-
dim
public int dim()- Specified by:
dim
in classVarSpecNode
-
getEffectiveCVp
- Specified by:
getEffectiveCVp
in classVarSpecNode
-
setParent
- Overrides:
setParent
in classVarSpecNode
- Parameters:
parent
- parent node (or null for the root)
-
validateNewChild
- Specified by:
validateNewChild
in classVarSpecNode
- Throws:
IllegalArgumentException
-
prettyPrint
- Specified by:
prettyPrint
in classVarSpecNode
-