Enum Class RawSheetCol

java.lang.Object
java.lang.Enum<RawSheetCol>
es.urjc.etsii.grafo.io.serializers.excel.RawSheetCol
All Implemented Interfaces:
Serializable, Comparable<RawSheetCol>, Constable

public enum RawSheetCol extends Enum<RawSheetCol>
Column types in raw sheet
  • Enum Constant Details

    • INSTANCE_NAME

      public static final RawSheetCol INSTANCE_NAME
      Instance name
    • ALG_NAME

      public static final RawSheetCol ALG_NAME
      Algorithm name
    • ITERATION

      public static final RawSheetCol ITERATION
      Iteration
    • SCORE

      public static final RawSheetCol SCORE
      Score
    • TOTAL_TIME

      public static final RawSheetCol TOTAL_TIME
      Total time in seconds
    • TTB

      public static final RawSheetCol TTB
      Time to best in seconds
    • IS_BEST_KNOWN

      public static final RawSheetCol IS_BEST_KNOWN
      True if score is best known for instance
    • DEV_TO_BEST

      public static final RawSheetCol DEV_TO_BEST
      %Dev to best value. Should be 0 if is best known.
    • BEST_KNOWN_FOR_INSTANCE

      public static final RawSheetCol BEST_KNOWN_FOR_INSTANCE
      Best known value for instance name in same row
  • Method Details

    • values

      public static RawSheetCol[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static RawSheetCol valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getIndex

      public int getIndex()
      Get column index for ordering
      Returns:
      column index as int
    • getExcelColIndex

      public String getExcelColIndex()
      Get column index as Excel letters
      Returns:
      column index as string (i.e AB)
    • getName

      public String getName()
      Get column name
      Returns:
      column name
    • getCType

      public RawSheetWriter.CType getCType()
      Get column type hint
      Returns:
      column type hint
    • getCTypeForIndex

      public static RawSheetWriter.CType getCTypeForIndex(int index)
      Get enum value for a given column index
      Parameters:
      index - index to search
      Returns:
      enum value for given index