public class ScoredCandidate extends Candidate
| Modifier and Type | Field and Description |
|---|---|
protected float |
score
The candidate score
|
actionCode| Constructor and Description |
|---|
ScoredCandidate()
Constructs a candidate object
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
float |
getScore()
Returns the score for this candidate if it is available, otherwise Double.NaN
|
int |
hashCode() |
void |
reset()
Resets the candidate object
|
void |
setScore(java.lang.Float score)
Sets the score for this candidate.
|
java.lang.String |
toString() |
getActionCode, setActionCodeprotected float score
public ScoredCandidate()
public float getScore()
public void setScore(java.lang.Float score)
score - a scoreCopyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.