public abstract class SimpleFilter extends Filter implements OptionHandler
SimpleBatchFilter,
SimpleStreamFilter,
Serialized Form| Constructor and Description |
|---|
SimpleFilter() |
| Modifier and Type | Method and Description |
|---|---|
String |
debugTipText()
Returns the tip text for this property
|
boolean |
getDebug()
Returns the current debugging mode state.
|
String[] |
getOptions()
Gets the current settings of the filter.
|
abstract String |
globalInfo()
Returns a string describing this classifier.
|
Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
void |
setDebug(boolean value)
Sets the debugging mode
|
boolean |
setInputFormat(Instances instanceInfo)
Sets the format of the input instances.
|
void |
setOptions(String[] options)
Parses a list of options for this object.
|
batchFilterFile, batchFinished, filterFile, getCapabilities, getCapabilities, getOutputFormat, getRevision, input, isFirstBatchDone, isNewBatch, isOutputFormatDefined, main, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputPeek, runFilter, toString, useFilter, wekaStaticWrapperpublic abstract String globalInfo()
public Enumeration listOptions()
listOptions in interface OptionHandlerpublic void setOptions(String[] options) throws Exception
setOptions in interface OptionHandleroptions - the list of options as an array of stringsException - if an option is not supportedreset()public String[] getOptions()
getOptions in interface OptionHandlerpublic void setDebug(boolean value)
value - if true, debugging information is outputpublic boolean getDebug()
public String debugTipText()
public boolean setInputFormat(Instances instanceInfo) throws Exception
setInputFormat in class FilterinstanceInfo - an Instances object containing the input instance
structure (any instances contained in the object
are ignored - only the structure is required).Exception - if the inputFormat can't be set successfullyreset()Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.