|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcalhoun.analysis.crf.SemiMarkovSetup
public class SemiMarkovSetup
holds additional configuration information used in semi-Markov CRFs.
| Constructor Summary | |
|---|---|
SemiMarkovSetup()
default constructor used by Spring during automatic configuration |
|
SemiMarkovSetup(short[] lengths)
constructs using this set of maximum lengths. |
|
SemiMarkovSetup(short[] lengths,
boolean ignore)
constructs using this set of maximum lengths and value for the ignore flag. |
|
SemiMarkovSetup(short[] minLen,
short[] maxLen,
boolean ignore)
constructs will all parameters. |
|
| Method Summary | |
|---|---|
short[] |
getMaxLengths()
gets the maximum lengths for each state. |
short[] |
getMinLengths()
gets the minimum lengths for each state. |
boolean |
isIgnoreSemiMarkovSelfTransitions()
gets the flag indicating that self-transition edges for the semi-Markov states should be ignored. |
void |
setIgnoreSemiMarkovSelfTransitions(boolean ignoreSemiMarkovSelfTransitions)
sets the flag indicating that self-transition edges for the semi-Markov states should be ignored. |
void |
setMaxLengths(short[] lengths)
sets the maximum lengths for each state. |
void |
setMinLengths(short[] lengths)
sets the minimum lengths for each state. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SemiMarkovSetup()
public SemiMarkovSetup(short[] lengths)
public SemiMarkovSetup(short[] lengths,
boolean ignore)
public SemiMarkovSetup(short[] minLen,
short[] maxLen,
boolean ignore)
| Method Detail |
|---|
public short[] getMinLengths()
public void setMinLengths(short[] lengths)
lengths - an array of the minimum lengths of each state.public short[] getMaxLengths()
public void setMaxLengths(short[] lengths)
lengths - an array of the minimum lengths of each state.public boolean isIgnoreSemiMarkovSelfTransitions()
This flag does not affect Markov states, those with a max length of 1. This means that a state may legally occur in consecutive positions if the maximum length for that state is one and the graph contains a self-transition for that state.
public void setIgnoreSemiMarkovSelfTransitions(boolean ignoreSemiMarkovSelfTransitions)
ignoreSemiMarkovSelfTransitions - true if self-transition edges for the semi-Markov states should be ignored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||