public class ConstrainedLeafNode extends AbstractLeafNode implements ConstrainedNode
ConstrainedNode.HeightAdjustment| Constructor and Description |
|---|
ConstrainedLeafNode(ParentableConstrainedNode parentNode,
Node peer,
double height,
GeneralConstructionTool tool,
ConstraintModel.GroupManager parentGroup) |
createNewConstrainedLeafCalculator, createNewFreeLeafCalculator, getLabel, getNumberOfPatterns, getPatternInfopublic ConstrainedLeafNode(ParentableConstrainedNode parentNode, Node peer, double height, GeneralConstructionTool tool, ConstraintModel.GroupManager parentGroup)
public void recursivelySetParentPivot(PivotNode parentPivot)
recursivelySetParentPivot in interface ConstrainedNodepublic void setupInternalNodeHeights(ConstraintModel.GroupManager groupConstraints)
setupInternalNodeHeights in interface ConstrainedNodepublic double getMinOriginalDescendentLeafHeight()
getMinOriginalDescendentLeafHeight in interface ConstrainedNodepublic double getMaxOriginalDescendentLeafHeight()
getMaxOriginalDescendentLeafHeight in interface ConstrainedNodepublic ConstrainedNode getLeftChild()
getLeftChild in interface ConstrainedNodepublic ConstrainedNode getRightChild()
getRightChild in interface ConstrainedNodepublic void recursivelyAdjustNodeHeight(ConstrainedNode.HeightAdjustment heightDelta)
recursivelyAdjustNodeHeight in interface ConstrainedNodepublic java.lang.String toStringHeights()
toStringHeights in interface ConstrainedNodepublic java.lang.String toStringLengths(double parentHeight)
toStringLengths in interface ConstrainedNodepublic double getMinimumDirectChildDistance()
getMinimumDirectChildDistance in interface ConstrainedNodepublic Node buildDescendentPALNodeBase()
ConstrainedNodebuildDescendentPALNodeBase in interface ConstrainedNodepublic final Node buildDescendentPALNodeES(ConstraintModel.GroupManager groupManager)
ConstrainedNodebuildDescendentPALNodeES in interface ConstrainedNodegroupManager - The constraints object to do the conversion withpublic final double getMinimumLeafChildSeperation(double parentHeight)
getMinimumLeafChildSeperation in interface ConstrainedNodepublic void rebuildDescendentPattern(GeneralConstructionTool tool)
public PatternInfo getDescendentPatternInfo(GeneralConstructionTool tool)
getDescendentPatternInfo in interface ConstrainedNodepublic void getSubTreeComponents(java.util.ArrayList store,
java.lang.Class componentType)
getSubTreeComponents in interface ConstrainedNodepublic void getNonSubTreeComponents(java.util.ArrayList store,
java.lang.Class componentType)
getNonSubTreeComponents in interface ConstrainedNodepublic void getAllComponents(java.util.ArrayList store,
java.lang.Class componentType)
getAllComponents in interface GeneralTreeComponentpublic final double getNodeHeight()
getNodeHeight in interface ConstrainedNodepublic double getMinimumChildSeperation(double currentSeperation)
getMinimumChildSeperation in interface ConstrainedNodepublic void obtainLeafInformation(HeightInformationUser user)
ConstrainedNodeobtainLeafInformation in interface ConstrainedNodeuser - An object that uses the height informationpublic ConditionalProbabilityStore getDescendentExtendedConditionals(double extensionHeight, GeneralConstructionTool tool, boolean allowCaching)
getDescendentExtendedConditionals in interface ConstrainedNodepublic ConditionalProbabilityStore getDescendentExtendedConditionalsWithAdjustedInternalHeights(double extensionHeight, GeneralConstructionTool tool, ConstrainedNode.HeightAdjustment internalNodeHeightAdjuster, boolean allowCaching)
getDescendentExtendedConditionalsWithAdjustedInternalHeights in interface ConstrainedNodepublic ConditionalProbabilityStore getDescendentFlatConditionals(GeneralConstructionTool tool, boolean allowCaching)
getDescendentFlatConditionals in interface ConstrainedNodepublic void testLikelihood(GeneralConstructionTool tool)
testLikelihood in interface ConstrainedNodepublic java.lang.String toString(FreeBranch caller)