Class Enumerator.Builder
- java.lang.Object
-
- org.apache.sysds.resource.enumeration.Enumerator.Builder
-
- Enclosing class:
- Enumerator
public static class Enumerator.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
withRuntimeProgram
public Enumerator.Builder withRuntimeProgram(Program program)
-
withEnumerationStrategy
public Enumerator.Builder withEnumerationStrategy(Enumerator.EnumerationStrategy strategy)
-
withOptimizationStrategy
public Enumerator.Builder withOptimizationStrategy(Enumerator.OptimizationStrategy strategy)
-
withTimeLimit
public Enumerator.Builder withTimeLimit(double time)
-
withBudget
public Enumerator.Builder withBudget(double price)
-
withNumberExecutorsRange
public Enumerator.Builder withNumberExecutorsRange(int min, int max)
-
withInstanceTypeRange
public Enumerator.Builder withInstanceTypeRange(String[] instanceTypes)
-
withInstanceSizeRange
public Enumerator.Builder withInstanceSizeRange(String[] instanceSizes)
-
withStepSizeExecutor
public Enumerator.Builder withStepSizeExecutor(int stepSize)
-
withFitDriverMemory
public Enumerator.Builder withFitDriverMemory(boolean fitDriverMemory)
-
withFitBroadcastMemory
public Enumerator.Builder withFitBroadcastMemory(boolean fitBroadcastMemory)
-
withCheckSingleNodeExecution
public Enumerator.Builder withCheckSingleNodeExecution(boolean checkSingleNodeExecution)
-
withFitCheckpointMemory
public Enumerator.Builder withFitCheckpointMemory(boolean fitCheckpointMemory)
-
withExpBaseExecutors
public Enumerator.Builder withExpBaseExecutors(int expBaseExecutors)
-
build
public Enumerator build()
-
-