public class Candidate extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
actionCode
The integer representation of the predicted action
|
Constructor and Description |
---|
Candidate()
Constructs a candidate object
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getActionCode()
Returns an integer representation of the predicted action
|
int |
hashCode() |
void |
reset()
Resets the candidate object
|
void |
setActionCode(int actionCode)
Sets the integer representation of the predicted action
|
String |
toString() |
protected int actionCode
public Candidate()
public int getActionCode()
public void setActionCode(int actionCode)
actionCode
- an integer representation of the predicted actionpublic void reset()
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.