|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecthyspirit.engines.HyEngine
hyspirit.engines.HyFreq2MDSEngine
public class HyFreq2MDSEngine
Created on 14-Feb-2006 01:15:04
| Field Summary |
|---|
| Fields inherited from class hyspirit.engines.HyEngine |
|---|
argumentString, LOG, stdin, TIME_PREFIX |
| Constructor Summary | |
|---|---|
HyFreq2MDSEngine()
This constructor tries to determine the HySpirit environment automatically |
|
HyFreq2MDSEngine(HySpiritProperties hyspirit)
This constructor must be used if you are going to start your own engine process (client/server mode). |
|
| Method Summary | |
|---|---|
void |
addColumn(int column)
Adds a column forming the frequency key. |
void |
addLambda(float lambda)
Adds a lambda value. |
void |
addMDSFile(java.lang.String filename)
Add a file to read the MDS data from. |
void |
assumeApoissonDistribution()
Assume an apoisson distribution for the probability estimation. |
void |
assumeDisjointDistribution()
Assume a disjoint distribution for the probability estimation. |
void |
assumeExponentialDistribution()
Assume an exponential distribution for the probability estimation. |
void |
assumeIndependentDistribution()
Assume an independent distribution for the probability estimation. |
void |
assumePivotedDistribution()
Assume a pivoted distribution for the probability estimation. |
void |
assumePoissonDistribution()
Assume a poisson distribution for the probability estimation. |
void |
assumeSumDistribution()
Same as assumeDisjointDistribution. |
protected java.lang.String[] |
buildCommand()
Builds the command from the parameters. |
void |
reset()
Resets all parameters of the engine after destroying a possibly running process. |
void |
setAvg(boolean avg)
Whether or not to use average for Poisson estimations. |
void |
setExponent(float exponent)
The exponent applied to the probability. |
void |
setIntervalExponent(float intervalExp)
Sets the interval exponent for Poisson distribution. |
void |
setStream(boolean stream)
Sets or unsets the -stream option. |
void |
useMaxIDFNorm()
Use max_idf norm. |
void |
useMaxMinIDFNorm()
Use maxmin_idf norm. |
void |
useMaxMinNorm()
Use maxmin norm. |
void |
useMaxNorm()
Use max norm. |
void |
usePivotedNorm()
Use pivoted norm. |
void |
useSumIDFNorm()
Use sum_idf norm. |
void |
useSumNorm()
Use sum norm. |
| Methods inherited from class hyspirit.engines.HyEngine |
|---|
closeSTDIN, destroy, echoSpecial, exitValue, getCommand, getEngineName, getInputReader, getOutputWriter, getPercentageCPU, getRealTime, getSTDERR, getSTDIN, getSTDOUT, getStreamEndMessage, getSysTime, getUserTime, hasNext, isInClientMode, isRunning, kb, kb, kb, next, readFromSTDIN, restart, run, send, send, sendAndReceive, sendFile, setArgumentString, setLogger, start, suppressSTDERR, takesTime, takeTime, waitFor, waitTillRunning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HyFreq2MDSEngine()
throws HySpiritException
HySpiritException - if the HySiprit environment cannot be
determined
public HyFreq2MDSEngine(HySpiritProperties hyspirit)
throws HySpiritException
hyspirit - the HySpirit properties containing the environment
HySpiritException - if we can't determine the environment| Method Detail |
|---|
public void addColumn(int column)
column - the columnpublic void useMaxNorm()
public void useMaxIDFNorm()
public void useSumNorm()
public void useSumIDFNorm()
public void useMaxMinNorm()
public void useMaxMinIDFNorm()
public void usePivotedNorm()
public void setExponent(float exponent)
exponent - public void assumeDisjointDistribution()
public void assumeSumDistribution()
public void assumeApoissonDistribution()
public void assumePivotedDistribution()
public void assumeIndependentDistribution()
public void assumeExponentialDistribution()
public void assumePoissonDistribution()
public void addLambda(float lambda)
lambda - public void setAvg(boolean avg)
avg - public void setIntervalExponent(float intervalExp)
intervalExp - the interval exponentpublic void setStream(boolean stream)
stream - true if stream option should be set, false for nostream
optionpublic void addMDSFile(java.lang.String filename)
filename - the name of the MDS filepublic void reset()
run().
reset in class HyEngineprotected java.lang.String[] buildCommand()
buildCommand in class HyEngine
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||