public class Transition extends State
estimated_count_| Constructor and Description |
|---|
Transition(State previous_state,
State state,
int order) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canTransitionTo(State other) |
boolean |
check() |
State |
copy() |
boolean |
equalIndexes(State other) |
int |
getIndex() |
int |
getLevel() |
int |
getOrder() |
State |
getPreviousSubOrderState() |
State |
getSubLevel(int depth) |
State |
getSubLevelState() |
State |
getSubOrderState() |
State |
getZeroOrderState() |
void |
incrementEstimatedCounts(double d) |
void |
setSubLevelState(State sub_level_state) |
java.lang.String |
toString() |
void |
updateWeights(WeightVector weights) |
copy, getLemmaCandidates, getRealScore, getScore, getTransition, getTransitions, getVector, setLemmaCandidates, setLemmaScoreSum, setScore, setTransitions, setVectorpublic boolean canTransitionTo(State other)
canTransitionTo in class Statepublic boolean equalIndexes(State other)
equalIndexes in class Statepublic void incrementEstimatedCounts(double d)
incrementEstimatedCounts in class Statepublic void updateWeights(WeightVector weights)
updateWeights in class Statepublic State getZeroOrderState()
getZeroOrderState in class Statepublic State getPreviousSubOrderState()
getPreviousSubOrderState in class Statepublic State getSubOrderState()
getSubOrderState in class Statepublic State getSubLevelState()
getSubLevelState in class Statepublic void setSubLevelState(State sub_level_state)
setSubLevelState in class Statepublic State getSubLevel(int depth)
getSubLevel in class State