Class OptimizerHeuristic
- java.lang.Object
-
- org.apache.sysds.runtime.controlprogram.parfor.opt.Optimizer
-
- org.apache.sysds.runtime.controlprogram.parfor.opt.OptimizerRuleBased
-
- org.apache.sysds.runtime.controlprogram.parfor.opt.OptimizerHeuristic
-
public class OptimizerHeuristic extends OptimizerRuleBased
Heuristic ParFor Optimizer: This optimizer extends the rule-based optimizer by a time-based cost estimate for execution type decisions.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.sysds.runtime.controlprogram.parfor.opt.Optimizer
Optimizer.CostModelType
-
-
Field Summary
Fields Modifier and Type Field Description static double
EXEC_TIME_THRESHOLD
-
Fields inherited from class org.apache.sysds.runtime.controlprogram.parfor.opt.OptimizerRuleBased
ALLOW_REMOTE_NESTED_PARALLELISM, FUNCTION_UNFOLD_NAMEPREFIX, MAX_REPLICATION_FACTOR_EXPORT, MAX_REPLICATION_FACTOR_PARTITIONING, PAR_K_FACTOR, PAR_K_MR_FACTOR, PROB_SIZE_THRESHOLD_MB, PROB_SIZE_THRESHOLD_PARTITIONING, PROB_SIZE_THRESHOLD_REMOTE
-
-
Constructor Summary
Constructors Constructor Description OptimizerHeuristic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optimizer.CostModelType
getCostModelType()
ParForProgramBlock.POptMode
getOptMode()
-
Methods inherited from class org.apache.sysds.runtime.controlprogram.parfor.opt.OptimizerRuleBased
allowsBinaryCellPartitions, isInMemoryResultMerge, optimize, toMB
-
Methods inherited from class org.apache.sysds.runtime.controlprogram.parfor.opt.Optimizer
getNumEvaluatedPlans, getNumTotalPlans
-
-
-
-
Field Detail
-
EXEC_TIME_THRESHOLD
public static final double EXEC_TIME_THRESHOLD
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCostModelType
public Optimizer.CostModelType getCostModelType()
- Overrides:
getCostModelType
in classOptimizerRuleBased
-
getOptMode
public ParForProgramBlock.POptMode getOptMode()
- Overrides:
getOptMode
in classOptimizerRuleBased
-
-