|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.udo.cs.yale.operator.AbstractIOObject
edu.udo.cs.yale.operator.ResultObjectAdapter
edu.udo.cs.yale.operator.postprocessing.Threshold
public class Threshold
A threshold for soft2crisp classifying.
| Field Summary | |
|---|---|
private java.lang.String |
oneClass
The second class. |
private double |
threshold
The threshold. |
private java.lang.String |
zeroClass
The first class. |
| Constructor Summary | |
|---|---|
Threshold(double threshold,
java.lang.String zeroClass,
java.lang.String oneClass)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getExtension()
Returns the default extension in file choosers. |
java.lang.String |
getFileDescription()
Returns the file description used in file choosers. |
java.lang.String |
getOneClass()
|
double |
getThreshold()
|
java.lang.String |
getZeroClass()
|
void |
save(java.io.File file)
Writes the object into the given file. |
java.lang.String |
toString()
|
void |
writeThresholdFile(java.io.File thresholdFile)
|
| Methods inherited from class edu.udo.cs.yale.operator.ResultObjectAdapter |
|---|
addAction, getActions, getName, getVisualisationComponent, toHTML, toResultString |
| Methods inherited from class edu.udo.cs.yale.operator.AbstractIOObject |
|---|
copy, read, read, read, write, write |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.udo.cs.yale.operator.IOObject |
|---|
copy, write, write |
| Field Detail |
|---|
private double threshold
private java.lang.String zeroClass
private java.lang.String oneClass
| Constructor Detail |
|---|
public Threshold(double threshold,
java.lang.String zeroClass,
java.lang.String oneClass)
| Method Detail |
|---|
public double getThreshold()
public java.lang.String getZeroClass()
public java.lang.String getOneClass()
public void save(java.io.File file)
throws java.io.IOException
Saveable
save in interface Saveablejava.io.IOExceptionpublic java.lang.String getExtension()
Saveable
getExtension in interface Saveablepublic java.lang.String getFileDescription()
Saveable
getFileDescription in interface Saveable
public void writeThresholdFile(java.io.File thresholdFile)
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||