Class AbstractGeneticIntegerDiscoveryHandler

    • Field Detail

      • m_Minimum

        protected int m_Minimum
        the minimum.
      • m_Maximum

        protected int m_Maximum
        the maximum.
      • m_List

        protected int[] m_List
        the list of values.
    • Constructor Detail

      • AbstractGeneticIntegerDiscoveryHandler

        public AbstractGeneticIntegerDiscoveryHandler()
    • Method Detail

      • getDefaultType

        protected NumericValueType getDefaultType()
        Returns the default type.
        Returns:
        the default
      • setType

        public void setType​(NumericValueType value)
        Sets the type.
        Parameters:
        value - the type
      • getType

        public NumericValueType getType()
        Returns the type.
        Returns:
        the type
      • typeTipText

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

        protected abstract int getDefaultMinimum()
        Returns the default minimum.
        Returns:
        the default
      • setMinimum

        public void setMinimum​(int value)
        Sets the minimum.
        Parameters:
        value - the minimum
      • getMinimum

        public int getMinimum()
        Returns the minimum.
        Returns:
        the minimum
      • minimumTipText

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

        protected abstract int getDefaultMaximum()
        Returns the default maximum.
        Returns:
        the default
      • setMaximum

        public void setMaximum​(int value)
        Sets the maximum.
        Parameters:
        value - the maximum
      • getMaximum

        public int getMaximum()
        Returns the maximum.
        Returns:
        the maximum
      • maximumTipText

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

        protected abstract String getDefaultList()
        Returns the default list.
        Returns:
        the default
      • setList

        public void setList​(String value)
        Sets the list of values to use (blank-separated).
        Parameters:
        value - the list
      • getList

        public String getList()
        Returns the list of values to use (blank-separated).
        Returns:
        the list
      • listTipText

        public String listTipText()
        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.
        Returns:
        the number of bits
      • getValue

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

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