pal.treesearch
public class ConstrainedInternalNode extends AbstractParentableConstrainedNode implements ConstrainedNode, GeneralOptimisable
ConstrainedNode.HeightAdjustment
Constructor and Description |
---|
ConstrainedInternalNode(Node peer,
ParentableConstrainedNode parentNode,
GeneralConstructionTool tool,
GeneralConstraintGroupManager.Store store,
GeneralConstraintGroupManager groupManager) |
Modifier and Type | Method and Description |
---|---|
double |
calculateLogLikelihood(GeneralConstructionTool tool) |
ConditionalProbabilityStore |
getAscendentExtended(double baseHeight,
ConstrainedNode childCaller,
GeneralConstructionTool tool,
boolean allowCaching) |
ConditionalProbabilityStore |
getAscendentFlat(ConstrainedNode childCaller,
GeneralConstructionTool tool,
boolean allowCaching) |
PatternInfo |
getAscendentPatternInfo(ConstrainedNode childCaller,
GeneralConstructionTool tool) |
PatternInfo |
getCenterPattern(GeneralConstructionTool tool)
For center pattern, left is ascendent component, right is descendent component
|
void |
getNonSubTreeComponents(java.util.ArrayList store,
java.lang.Class componentType) |
int |
getNumberOfOptimisationTypes() |
double |
optimise(int optimisationType,
UnivariateMinimum minimiser,
GeneralConstructionTool tool,
int fracDigits) |
void |
recursivelySetParentPivot(PivotNode parentPivot) |
void |
testLikelihood(GeneralConstructionTool tool) |
adjustNodeHeight, buildDescendentPALNodeBase, buildDescendentPALNodeES, buildLeftDecendentPALNodeBase, buildRightDecendentPALNodeBase, getAllComponents, getConstrainedInternal, getDescendentExtendedConditionals, getDescendentExtendedConditionalsWithAdjustedInternalHeights, getDescendentFlatConditionals, getDescendentLogLikelihood, getDescendentPatternInfo, getLeftChild, getLeftChildPatternInfo, getLeftDescendentExtendedConditionals, getLeftDescendentExtendedConditionals, getMaxChildHeight, getMaxOriginalDescendentLeafHeight, getMinimumChildSeperation, getMinimumChildSeperation, getMinimumDirectChildDistance, getMinimumLeafChildSeperation, getMinimumLeafChildSeperation, getMinOriginalDescendentLeafHeight, getNodeHeight, getNonSubTreeOfChildComponents, getRightChild, getRightChildPatternInfo, getRightDescendentExtendedConditionals, getRightDescendentExtendedConditionals, getSubTreeComponents, isLeftChild, obtainConstrainedExternalCalculator, obtainLeafInformation, rebuildDescendentPattern, recursivelyAdjustNodeHeight, recursivelySetChildrenParentPivot, setNodeHeight, setupInternalNodeHeights, toStringHeights, toStringLengths, toStringLengths
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildDescendentPALNodeBase, buildDescendentPALNodeES, getDescendentExtendedConditionals, getDescendentExtendedConditionalsWithAdjustedInternalHeights, getDescendentFlatConditionals, getDescendentPatternInfo, getLeftChild, getMaxOriginalDescendentLeafHeight, getMinimumChildSeperation, getMinimumDirectChildDistance, getMinimumLeafChildSeperation, getMinOriginalDescendentLeafHeight, getNodeHeight, getRightChild, getSubTreeComponents, obtainLeafInformation, recursivelyAdjustNodeHeight, setupInternalNodeHeights, toStringHeights, toStringLengths
getAllComponents
public ConstrainedInternalNode(Node peer, ParentableConstrainedNode parentNode, GeneralConstructionTool tool, GeneralConstraintGroupManager.Store store, GeneralConstraintGroupManager groupManager)
public void recursivelySetParentPivot(PivotNode parentPivot)
recursivelySetParentPivot
in interface ConstrainedNode
public void getNonSubTreeComponents(java.util.ArrayList store, java.lang.Class componentType)
getNonSubTreeComponents
in interface ConstrainedNode
getNonSubTreeComponents
in class AbstractParentableConstrainedNode
public double calculateLogLikelihood(GeneralConstructionTool tool)
public PatternInfo getCenterPattern(GeneralConstructionTool tool)
tool
- The consturction toolpublic ConditionalProbabilityStore getAscendentExtended(double baseHeight, ConstrainedNode childCaller, GeneralConstructionTool tool, boolean allowCaching)
getAscendentExtended
in interface ParentableConstrainedNode
public ConditionalProbabilityStore getAscendentFlat(ConstrainedNode childCaller, GeneralConstructionTool tool, boolean allowCaching)
getAscendentFlat
in interface ParentableConstrainedNode
public void testLikelihood(GeneralConstructionTool tool)
testLikelihood
in interface ConstrainedNode
public PatternInfo getAscendentPatternInfo(ConstrainedNode childCaller, GeneralConstructionTool tool)
getAscendentPatternInfo
in interface ParentableConstrainedNode
public int getNumberOfOptimisationTypes()
getNumberOfOptimisationTypes
in interface GeneralOptimisable
public double optimise(int optimisationType, UnivariateMinimum minimiser, GeneralConstructionTool tool, int fracDigits)
optimise
in interface GeneralOptimisable
minimiser
- The single dimensional minimisation tooltool
- The construction toolfracDigits
- the number of fractional digits to converge to