Class IraceConfig
java.lang.Object
es.urjc.etsii.grafo.autoconfig.irace.IraceConfig
This class is used to configure irace by the properties specified in the application.yml
section irace
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isAuc()
Decide if we should use the objective function directly or if we should calculate the AUC over the objective functionboolean
Is irace enabled?boolean
isShell()
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 functionvoid
setEnabled
(boolean enabled) Is irace enabled?void
setShell
(boolean shell) Execute Irace in shell or using GraalVM?
-
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
-