Package ciir.umass.edu.metric
Class ReciprocalRankScorer
- java.lang.Object
-
- ciir.umass.edu.metric.MetricScorer
-
- ciir.umass.edu.metric.ReciprocalRankScorer
-
public class ReciprocalRankScorer extends MetricScorer
- Author:
- vdang
-
-
Field Summary
-
Fields inherited from class ciir.umass.edu.metric.MetricScorer
k
-
-
Constructor Summary
Constructors Constructor Description ReciprocalRankScorer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricScorercopy()java.lang.Stringname()doublescore(RankList rl)double[][]swapChange(RankList rl)-
Methods inherited from class ciir.umass.edu.metric.MetricScorer
getK, getRelevanceLabels, loadExternalRelevanceJudgment, score, setK
-
-
-
-
Method Detail
-
score
public double score(RankList rl)
- Specified by:
scorein classMetricScorer
-
copy
public MetricScorer copy()
- Specified by:
copyin classMetricScorer
-
name
public java.lang.String name()
- Specified by:
namein classMetricScorer
-
swapChange
public double[][] swapChange(RankList rl)
- Specified by:
swapChangein classMetricScorer
-
-