F - The type to apply scores to.public class FieldScore<F> extends Object implements Comparable<FieldScore<F>>
| Constructor and Description |
|---|
FieldScore(F field) |
FieldScore(F field,
boolean detailed) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(FieldScore<F> other) |
F |
getField()
Get the field represented by this
FieldScore |
double |
getNormalized()
Get this field's normalized score
|
int |
getRank()
Get this field's rank.
|
double |
getScore() |
Map<Scorer,Double> |
getScoreMap()
Get detailed information about which scorer gave what score to this field
|
String |
toString() |
public FieldScore(F field)
public FieldScore(F field, boolean detailed)
field - Field to scoredetailed - If true, details about how much score is given from each scorer will be savedpublic int compareTo(FieldScore<F> other)
compareTo in interface Comparable<FieldScore<F>>public double getScore()
public F getField()
FieldScorepublic int getRank()
public double getNormalized()
public Map<Scorer,Double> getScoreMap()
Copyright © 2014. All rights reserved.