Interface ConstrainedNode

    • Method Detail

      • getMinimumDirectChildDistance

        double getMinimumDirectChildDistance()
        Returns:
        the minum distance to a child or zero if no children
      • recursivelySetParentPivot

        void recursivelySetParentPivot​(PivotNode parentPivot)
      • getMinimumChildSeperation

        double getMinimumChildSeperation​(double currentSeperation)
      • getMinimumLeafChildSeperation

        double getMinimumLeafChildSeperation​(double parentHeight)
      • getMinOriginalDescendentLeafHeight

        double getMinOriginalDescendentLeafHeight()
      • getMaxOriginalDescendentLeafHeight

        double getMaxOriginalDescendentLeafHeight()
      • getSubTreeComponents

        void getSubTreeComponents​(java.util.ArrayList store,
                                  java.lang.Class componentType)
      • getNonSubTreeComponents

        void getNonSubTreeComponents​(java.util.ArrayList store,
                                     java.lang.Class componentType)
      • getNodeHeight

        double getNodeHeight()
      • buildDescendentPALNodeBase

        Node buildDescendentPALNodeBase()
        Build node model base units (eg years)
        Returns:
        A normal PAL node
      • buildDescendentPALNodeES

        Node buildDescendentPALNodeES​(ConstraintModel.GroupManager groupConstraints)
        Build node with Expected Substitution Units
        Parameters:
        groupConstraints - The constraints object to do the conversion with
        Returns:
        A normal PAL node
      • obtainLeafInformation

        void obtainLeafInformation​(HeightInformationUser user)
        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
      • toStringHeights

        java.lang.String toStringHeights()
      • toStringLengths

        java.lang.String toStringLengths​(double parentHeight)