Class EnumType

java.lang.Object
unifeat.featureSelection.EnumType
Direct Known Subclasses:
ClassifierType, CrossOverType, EmbeddedType, FilterType, HybridType, MultivariateMethodType, MutationType, ReplacementType, ResultType, SelectionType, SelectModeType, SVMKernelType, TreeType, WrapperType

public abstract class EnumType extends Object
The abstract class contains the main methods and fields that are used in all enumerable types.
Author:
Sina Tabakhi
  • Field Details

    • name

      protected String name
    • value

      protected int value
  • Constructor Details

    • EnumType

      public EnumType(String name)
      Initializes the parameters
      Parameters:
      name - the name of object
    • EnumType

      public EnumType(String name, int value)
      Initializes the parameters
      Parameters:
      name - the name of object
      value - the value of object
  • Method Details

    • toString

      public String toString()
      Converts the object name to string
      Overrides:
      toString in class Object
      Returns:
      the name of object
    • getValue

      public int getValue()
      Returns value of the object
      Returns:
      value of the object