public static class MRRTopNMetric.Builder extends TopNMetricBuilder<MRRTopNMetric>
candidates, exclude, listSize, prefix, suffix
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MRRTopNMetric |
build() |
ItemSelector |
getGoodItems() |
void |
setGoodItems(ItemSelector goodItems)
Set the set of items that will be considered ‘good’ by the evaluation.
|
getCandidates, getExclude, getListSize, getPrefix, getSuffix, setCandidates, setExclude, setListSize, setPrefix, setSuffix
public ItemSelector getGoodItems()
public void setGoodItems(ItemSelector goodItems)
goodItems
- A selector for good items.public MRRTopNMetric build()
build
in interface org.apache.commons.lang3.builder.Builder<MRRTopNMetric>
build
in class TopNMetricBuilder<MRRTopNMetric>