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, toStringLengthsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildDescendentPALNodeBase, buildDescendentPALNodeES, getDescendentExtendedConditionals, getDescendentExtendedConditionalsWithAdjustedInternalHeights, getDescendentFlatConditionals, getDescendentPatternInfo, getLeftChild, getMaxOriginalDescendentLeafHeight, getMinimumChildSeperation, getMinimumDirectChildDistance, getMinimumLeafChildSeperation, getMinOriginalDescendentLeafHeight, getNodeHeight, getRightChild, getSubTreeComponents, obtainLeafInformation, recursivelyAdjustNodeHeight, setupInternalNodeHeights, toStringHeights, toStringLengthsgetAllComponentspublic ConstrainedInternalNode(Node peer, ParentableConstrainedNode parentNode, GeneralConstructionTool tool, GeneralConstraintGroupManager.Store store, GeneralConstraintGroupManager groupManager)
public void recursivelySetParentPivot(PivotNode parentPivot)
recursivelySetParentPivot in interface ConstrainedNodepublic void getNonSubTreeComponents(java.util.ArrayList store,
java.lang.Class componentType)
getNonSubTreeComponents in interface ConstrainedNodegetNonSubTreeComponents in class AbstractParentableConstrainedNodepublic 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 ParentableConstrainedNodepublic ConditionalProbabilityStore getAscendentFlat(ConstrainedNode childCaller, GeneralConstructionTool tool, boolean allowCaching)
getAscendentFlat in interface ParentableConstrainedNodepublic void testLikelihood(GeneralConstructionTool tool)
testLikelihood in interface ConstrainedNodepublic PatternInfo getAscendentPatternInfo(ConstrainedNode childCaller, GeneralConstructionTool tool)
getAscendentPatternInfo in interface ParentableConstrainedNodepublic int getNumberOfOptimisationTypes()
getNumberOfOptimisationTypes in interface GeneralOptimisablepublic double optimise(int optimisationType,
UnivariateMinimum minimiser,
GeneralConstructionTool tool,
int fracDigits)
optimise in interface GeneralOptimisableminimiser - The single dimensional minimisation tooltool - The construction toolfracDigits - the number of fractional digits to converge to