edu.stanford.nlp.util
Class ScoredPair
java.lang.Object
|
+--edu.stanford.nlp.util.Pair
|
+--edu.stanford.nlp.util.ScoredPair
- All Implemented Interfaces:
- Comparable, Scored, Serializable
- public class ScoredPair
- extends Pair
- implements Scored
Scored Pair: Class for holding a scored pair of objects
- See Also:
- Serialized Form
Field Summary |
double |
score
|
score
public double score
ScoredPair
public ScoredPair()
ScoredPair
public ScoredPair(Object first,
Object second,
double score)
score
public double score()
- Description copied from interface:
Scored
- Return the score of this thing
- Specified by:
score
in interface Scored
setScore
public void setScore(double score)
toString
public String toString()
- Overrides:
toString
in class Pair
Stanford NLP Group