public abstract class SimpleFilter extends Filter implements OptionHandler
SimpleBatchFilter
,
SimpleStreamFilter
,
Serialized FormConstructor 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, numPendingOutput, output, outputPeek, toString, useFilter, wekaStaticWrapper
public abstract String globalInfo()
public Enumeration listOptions()
listOptions
in interface OptionHandler
public void setOptions(String[] options) throws Exception
setOptions
in interface OptionHandler
options
- the list of options as an array of stringsException
- if an option is not supportedreset()
public String[] getOptions()
getOptions
in interface OptionHandler
public 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 Filter
instanceInfo
- 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 © 2016 University of Waikato, Hamilton, NZ. All Rights Reserved.