Class IraceConfig

java.lang.Object
es.urjc.etsii.grafo.autoconfig.irace.IraceConfig

@Configuration @ConfigurationProperties(prefix="irace") public class IraceConfig extends Object
This class is used to configure irace by the properties specified in the application.yml section irace
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Decide if we should use the objective function directly or if we should calculate the AUC over the objective function
    boolean
    Is irace enabled?
    boolean
    Execute Irace in shell or using GraalVM?
    void
    setAuc(boolean auc)
    Decide if we should use the objective function directly or if we should calculate the AUC over the objective function
    void
    setEnabled(boolean enabled)
    Is irace enabled?
    void
    setShell(boolean shell)
    Execute Irace in shell or using GraalVM?

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IraceConfig

      public IraceConfig()
  • Method Details

    • isEnabled

      public boolean isEnabled()
      Is irace enabled?
      Returns:
      true if irace is enabled, false otherwise
    • setEnabled

      public void setEnabled(boolean enabled)
      Is irace enabled?
      Parameters:
      enabled - true to enable irace, false to disable
    • isShell

      public boolean isShell()
      Execute Irace in shell or using GraalVM?
      Returns:
      true if irace should be executed using ShellRLangRunner, false to use GraalRLangRunner
    • setShell

      public void setShell(boolean shell)
      Execute Irace in shell or using GraalVM?
      Parameters:
      shell - true to execute irace using ShellRLangRunner, false to use GraalRLangRunner
    • isAuc

      public boolean isAuc()
      Decide if we should use the objective function directly or if we should calculate the AUC over the objective function
      Returns:
      trye if we should calculate the AUC, false to use the objective function applied to the solution
    • setAuc

      public void setAuc(boolean auc)
      Decide if we should use the objective function directly or if we should calculate the AUC over the objective function
      Parameters:
      auc - true to calculate the AUC, false to use the objective function applied to the solution