Class OptimizationReport
java.lang.Object
com.yahoo.searchlib.rankingexpression.evaluation.OptimizationReport
Reports the result of optimizations of a ranking expression.
- Author:
- bratseth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of a metric, or null if it is not setvoidIncreases the metric by the given name by increment, if the metric is not previously set, this will assign it the value increment as expectedvoidvoidtoString()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
-