Enum Individual.State

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      DECODING
      Individual is currently being decoded.
      EMPTY
      Initial state.
      EVALUATED
      Individual is evaluated.
      EVALUATING
      Individual is currently being evaluated.
      GENOTYPED
      Individual has a Genotype.
      PHENOTYPED
      Individual has a Phenotype, i.e. it is decoded.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isDecoded()
      Returns true if the individual is decoded in the current state.
      boolean isEvaluated()
      Returns true if the individual is evaluated in the current state.
      boolean isProcessing()
      Returns true if the individual is processing in the current state.
      java.lang.String toString()
      Returns the specific name of the state.
      static Individual.State valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Individual.State[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • DECODING

        public static final Individual.State DECODING
        Individual is currently being decoded.
      • PHENOTYPED

        public static final Individual.State PHENOTYPED
        Individual has a Phenotype, i.e. it is decoded.
      • EVALUATING

        public static final Individual.State EVALUATING
        Individual is currently being evaluated.
      • EVALUATED

        public static final Individual.State EVALUATED
        Individual is evaluated.
    • Method Detail

      • values

        public static Individual.State[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Individual.State c : Individual.State.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Individual.State valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • toString

        public java.lang.String toString()
        Returns the specific name of the state.
        Overrides:
        toString in class java.lang.Enum<Individual.State>
        Returns:
        the specific name of the state
      • isDecoded

        public boolean isDecoded()
        Returns true if the individual is decoded in the current state.
        Returns:
        true if the individual is decoded in the current state
      • isEvaluated

        public boolean isEvaluated()
        Returns true if the individual is evaluated in the current state.
        Returns:
        true if the individual is evaluated in the current state
      • isProcessing

        public boolean isProcessing()
        Returns true if the individual is processing in the current state.
        Returns:
        true if the individual is processing in the current state