Package pal.treesearch
Interface ConstrainedNode
- All Superinterfaces:
GeneralTreeComponent
- All Known Implementing Classes:
ConstrainedInternalNode
,ConstrainedLeafNode
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionBuild node model base units (eg years)buildDescendentPALNodeES
(ConstraintModel.GroupManager groupConstraints) Build node with Expected Substitution UnitsgetDescendentExtendedConditionals
(double extensionHeight, GeneralConstructionTool tool, boolean allowCaching) getDescendentExtendedConditionalsWithAdjustedInternalHeights
(double adjustedExtensionHeight, GeneralConstructionTool tool, ConstrainedNode.HeightAdjustment internalNodeHeightAdjuster, boolean allowCaching) getDescendentFlatConditionals
(GeneralConstructionTool tool, boolean allowCaching) double
double
getMinimumChildSeperation
(double currentSeperation) double
double
getMinimumLeafChildSeperation
(double parentHeight) double
double
void
getNonSubTreeComponents
(ArrayList store, Class componentType) void
getSubTreeComponents
(ArrayList store, Class componentType) void
Obtain information regarding the current state of the leaf heights (called when first constructed).void
recursivelyAdjustNodeHeight
(ConstrainedNode.HeightAdjustment heightAdjustment) void
recursivelySetParentPivot
(PivotNode parentPivot) void
setupInternalNodeHeights
(ConstraintModel.GroupManager groupConstraints) void
toStringLengths
(double parentHeight) Methods inherited from interface pal.treesearch.GeneralTreeComponent
getAllComponents
-
Method Details
-
getLeftChild
ConstrainedNode getLeftChild() -
getRightChild
ConstrainedNode getRightChild() -
getMinimumDirectChildDistance
double getMinimumDirectChildDistance()- Returns:
- the minum distance to a child or zero if no children
-
recursivelyAdjustNodeHeight
-
recursivelySetParentPivot
-
setupInternalNodeHeights
-
getMinimumChildSeperation
double getMinimumChildSeperation(double currentSeperation) -
getMinimumLeafChildSeperation
double getMinimumLeafChildSeperation(double parentHeight) -
getMinOriginalDescendentLeafHeight
double getMinOriginalDescendentLeafHeight() -
getMaxOriginalDescendentLeafHeight
double getMaxOriginalDescendentLeafHeight() -
getDescendentPatternInfo
-
getSubTreeComponents
-
getNonSubTreeComponents
-
getNodeHeight
double getNodeHeight() -
buildDescendentPALNodeBase
Node buildDescendentPALNodeBase()Build node model base units (eg years)- Returns:
- A normal PAL node
-
buildDescendentPALNodeES
Build node with Expected Substitution Units- Parameters:
groupConstraints
- The constraints object to do the conversion with- Returns:
- A normal PAL node
-
obtainLeafInformation
Obtain information regarding the current state of the leaf heights (called when first constructed). The resulting heights will, for exampled, be averaged across components and then used as the starting height values (see setLeafHeights...())- Parameters:
user
- An object that uses the height information
-
testLikelihood
-
toStringHeights
String toStringHeights() -
toStringLengths
-
getDescendentExtendedConditionals
ConditionalProbabilityStore getDescendentExtendedConditionals(double extensionHeight, GeneralConstructionTool tool, boolean allowCaching) -
getDescendentExtendedConditionalsWithAdjustedInternalHeights
ConditionalProbabilityStore getDescendentExtendedConditionalsWithAdjustedInternalHeights(double adjustedExtensionHeight, GeneralConstructionTool tool, ConstrainedNode.HeightAdjustment internalNodeHeightAdjuster, boolean allowCaching) -
getDescendentFlatConditionals
ConditionalProbabilityStore getDescendentFlatConditionals(GeneralConstructionTool tool, boolean allowCaching)
-