Class AbstractParentableConstrainedNode

    • Method Detail

      • getMinOriginalDescendentLeafHeight

        public double getMinOriginalDescendentLeafHeight()
      • getMaxOriginalDescendentLeafHeight

        public double getMaxOriginalDescendentLeafHeight()
      • getMinimumDirectChildDistance

        public double getMinimumDirectChildDistance()
      • toStringHeights

        public final java.lang.String toStringHeights()
      • toStringLengths

        protected final java.lang.String toStringLengths()
      • toStringLengths

        public final java.lang.String toStringLengths​(double parentHeight)
      • getMinimumChildSeperation

        public double getMinimumChildSeperation()
      • getMinimumChildSeperation

        public double getMinimumChildSeperation​(double currentSeparation)
      • getMinimumLeafChildSeperation

        protected final double getMinimumLeafChildSeperation()
      • getMinimumLeafChildSeperation

        public final double getMinimumLeafChildSeperation​(double parentHeight)
      • setNodeHeight

        protected final void setNodeHeight​(double nodeHeight)
      • adjustNodeHeight

        protected final void adjustNodeHeight​(double heightDelta)
      • buildLeftDecendentPALNodeBase

        protected final Node buildLeftDecendentPALNodeBase()
      • buildRightDecendentPALNodeBase

        protected final Node buildRightDecendentPALNodeBase()
      • buildDescendentPALNodeBase

        public final Node buildDescendentPALNodeBase()
      • recursivelySetChildrenParentPivot

        protected final void recursivelySetChildrenParentPivot​(PivotNode parentPivot)
      • getLeftDescendentExtendedConditionals

        protected final ConditionalProbabilityStore getLeftDescendentExtendedConditionals​(GeneralConstructionTool tool,
                                                                                          boolean allowCaching)
        Obtain conditionals by extended left child conditionals to height of this node
        Parameters:
        tool - The construction tool
        Returns:
        the extended conditionals
      • getLeftDescendentExtendedConditionals

        protected final ConditionalProbabilityStore getLeftDescendentExtendedConditionals​(double specifiedHeight,
                                                                                          GeneralConstructionTool tool,
                                                                                          boolean allowCaching)
        Obtain conditionals by extended left child conditionals to a particular height
        Parameters:
        specifiedHeight - The desired height of extension
        tool - The construction tool
        Returns:
        the extended conditionals
      • getRightDescendentExtendedConditionals

        protected final ConditionalProbabilityStore getRightDescendentExtendedConditionals​(GeneralConstructionTool tool,
                                                                                           boolean allowCaching)
        Obtain conditionals by extended right child conditionals to height of this node
        Parameters:
        tool - The construction tool
        Returns:
        the extended conditionals
      • getRightDescendentExtendedConditionals

        protected final ConditionalProbabilityStore getRightDescendentExtendedConditionals​(double specifiedHeight,
                                                                                           GeneralConstructionTool tool,
                                                                                           boolean allowCaching)
        Obtain conditionals by extended left child conditionals to a particular height
        Parameters:
        specifiedHeight - The desired height of extension
        tool - The construction tool
        Returns:
        the extended conditionals
      • getDescendentLogLikelihood

        protected final double getDescendentLogLikelihood​(GeneralConstructionTool tool,
                                                          boolean allowCaching)
      • getMaxChildHeight

        protected final double getMaxChildHeight()
      • getSubTreeComponents

        public final void getSubTreeComponents​(java.util.ArrayList store,
                                               java.lang.Class componentType)
      • getAllComponents

        public final void getAllComponents​(java.util.ArrayList store,
                                           java.lang.Class componentType)
      • isLeftChild

        public boolean isLeftChild​(ConstrainedNode node)
        Investigate if given node is left node (and not right)
        Parameters:
        node - the node to investigate
        Returns:
        true if left, false if right
        Throws:
        java.lang.IllegalArgumentException - if node is neither left nor right
      • getNonSubTreeComponents

        public abstract void getNonSubTreeComponents​(java.util.ArrayList store,
                                                     java.lang.Class componentType)