Package jline.opt.objectives
Class MaximizePerformance
java.lang.Object
jline.opt.objectives.Objective
jline.opt.objectives.MaximizePerformance
Maximize a weighted combination of throughput, 1/response-time and
1/queue-length, subject to an optional budget constraint. Because the DE
solver minimizes,
evaluate(jline.opt.results.EvaluationResult, java.util.Map<java.lang.String, java.lang.Object>) returns the negated performance. Mirrors
native-Python MaximizePerformance.-
Field Summary
Fields inherited from class jline.opt.objectives.Objective
constraints -
Constructor Summary
ConstructorsConstructorDescriptionMaximizePerformance(double throughputWeight, double responseTimeWeight) MaximizePerformance(double throughputWeight, double responseTimeWeight, double queueLengthWeight, List<Station> stations, Double budget, Map<String, Double> budgetTerms) -
Method Summary
Modifier and TypeMethodDescriptiondoubleevaluate(EvaluationResult result, Map<String, Object> variableValues) The scalar to minimize (before constraint penalties).booleanMethods inherited from class jline.opt.objectives.Objective
evaluateWithPenalty, getConstraints
-
Constructor Details
-
MaximizePerformance
-
MaximizePerformance
public MaximizePerformance(double throughputWeight, double responseTimeWeight)
-
-
Method Details
-
isMinimization
public boolean isMinimization()- Specified by:
isMinimizationin classObjective
-
evaluate
Description copied from class:ObjectiveThe scalar to minimize (before constraint penalties).
-