Annotation Interface OrdinalParam


@Target(PARAMETER) @Retention(RUNTIME) @Documented public @interface OrdinalParam
Declares an ordinal tunable parameter using the same ordinal parameter type as irace. Values are provided as strings and converted at runtime to the constructor parameter type when possible. At least one value must be provided, ordered from lowest to highest according to the domain, except for enum parameters where omitting values uses all enum constants in declaration order. See section 5.1.1 Parameter Types in the official irace manual for more details.
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Ordered candidate values for this parameter.
  • Element Details

    • strings

      String[] strings
      Ordered candidate values for this parameter.
      Returns:
      ordered list of ordinal values, or empty to use all enum constants in declaration order if parameter is an enum
      Default:
      {}