public abstract class PotentialClassIgnorer extends Filter implements OptionHandler
Constructor and Description |
---|
PotentialClassIgnorer() |
Modifier and Type | Method and Description |
---|---|
boolean |
getIgnoreClass()
Gets the IgnoreClass value.
|
java.lang.String[] |
getOptions()
Gets the current settings of the filter.
|
Instances |
getOutputFormat()
Gets the format of the output instances.
|
java.lang.String |
ignoreClassTipText()
Returns the tip text for this property
|
java.util.Enumeration<Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setIgnoreClass(boolean newIgnoreClass)
Set the IgnoreClass value.
|
boolean |
setInputFormat(Instances instanceInfo)
Sets the format of the input instances.
|
void |
setOptions(java.lang.String[] options)
Parses a list of options for this object.
|
batchFilterFile, batchFinished, debugTipText, doNotCheckCapabilitiesTipText, filterFile, getCapabilities, getCapabilities, getCopyOfInputFormat, getDebug, getDoNotCheckCapabilities, getRevision, input, isFirstBatchDone, isNewBatch, isOutputFormatDefined, main, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputPeek, postExecution, preExecution, run, runFilter, setDebug, setDoNotCheckCapabilities, toString, useFilter, wekaStaticWrapper
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
makeCopy
public java.util.Enumeration<Option> listOptions()
listOptions
in interface OptionHandler
listOptions
in class Filter
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
setOptions
in class Filter
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class Filter
public boolean setInputFormat(Instances instanceInfo) throws java.lang.Exception
super.setInputFormat(Instances)
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).java.lang.Exception
- if the inputFormat can't be set successfullypublic Instances getOutputFormat()
getOutputFormat
in class Filter
java.lang.NullPointerException
- if no input structure has been defined (or the
output format hasn't been determined yet)public java.lang.String ignoreClassTipText()
public void setIgnoreClass(boolean newIgnoreClass)
newIgnoreClass
- The new IgnoreClass value.public boolean getIgnoreClass()