|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.gui.explorer.AbstractPlotInstances
public abstract class AbstractPlotInstances
Abstract superclass for generating plottable instances.
Constructor Summary | |
---|---|
AbstractPlotInstances()
Initializes the container. |
Method Summary | |
---|---|
void |
cleanUp()
For freeing up memory. |
Instances |
getInstances()
Returns the training data. |
java.lang.String[] |
getOptions()
Gets the current option settings for the OptionHandler. |
PlotData2D |
getPlotData(java.lang.String name)
Assembles and returns the plot. |
Instances |
getPlotInstances()
Returns the generated plot instances. |
java.util.Enumeration |
listOptions()
Returns an enumeration of all the available options. |
void |
setInstances(Instances value)
Sets the instances that are the basis for the plot instances. |
void |
setOptions(java.lang.String[] options)
Sets the OptionHandler's options using the given list. |
void |
setUp()
Performs checks, sets up the structure for the plot instances. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractPlotInstances()
Method Detail |
---|
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
public void setOptions(java.lang.String[] options) throws java.lang.Exception
setOptions
in interface OptionHandler
options
- the list of options as an array of strings
java.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
public void setInstances(Instances value)
value
- the training data to initialize withpublic Instances getInstances()
public void setUp()
public Instances getPlotInstances()
public PlotData2D getPlotData(java.lang.String name) throws java.lang.Exception
name
- the name of the plot
java.lang.Exception
- if plot generation failspublic void cleanUp()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |