Class AbstractGeneticFloatDiscoveryHandlerResolution

    • Field Detail

      • m_Splits

        protected int m_Splits
        the number of splits.
    • Constructor Detail

      • AbstractGeneticFloatDiscoveryHandlerResolution

        public AbstractGeneticFloatDiscoveryHandlerResolution()
    • Method Detail

      • getDefaultSplits

        protected abstract int getDefaultSplits()
        Returns the default splits.
        Returns:
        the default
      • setSplits

        public void setSplits​(int value)
        Sets the splits.
        Parameters:
        value - the splits
      • getSplits

        public int getSplits()
        Returns the minimum.
        Returns:
        the minimum
      • splitsTipText

        public String splitsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • calcNumBits

        protected int calcNumBits()
        Calculates the number of bits to use.
        Returns:
        the number of bits
      • getValue

        protected abstract float getValue​(PropertyPath.PropertyContainer cont)
        Returns the float value from the property container.
        Parameters:
        cont - the container
        Returns:
        the value
      • setValue

        protected abstract void setValue​(PropertyPath.PropertyContainer cont,
                                         float value)
        Sets the float value in the property container.
        Parameters:
        cont - the container
        value - the value to set