Class OptimizationReport
java.lang.Object
com.yahoo.searchlib.rankingexpression.evaluation.OptimizationReport
Reports the result of optimizations of a ranking expression.
- Author:
- bratseth
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of a metric, or null if it is not setvoid
Increases the metric by the given name by increment, if the metric is not previously set, this will assign it the value increment as expectedvoid
void
toString()
Returns all the content of this report as a multiline string
-
Constructor Details
-
OptimizationReport
public OptimizationReport()
-
-
Method Details
-
setMetric
-
getMetric
Returns the value of a metric, or null if it is not set -
incMetric
Increases the metric by the given name by increment, if the metric is not previously set, this will assign it the value increment as expected -
note
-
toString
Returns all the content of this report as a multiline string
-