public final class InformationHandler
extends java.lang.Object
implements java.io.Serializable
Class for handing options.
Constructor and Description |
---|
InformationHandler(M5Instances inst)
Constructor.
|
InformationHandler(java.lang.String[] argv)
Constructs an object to store command line options and other necessary
information
|
Modifier and Type | Method and Description |
---|---|
void |
initialize(M5Instances inst)
Initializes for constucting model trees
|
void |
printValidOptions()
Prints valid command line options and simply explains the output
|
java.lang.String |
toString(M5Instances inst)
Prints information stored in an 'InformationHandler' object, basically containing
command line options
|
public InformationHandler(M5Instances inst)
inst
- datasetpublic InformationHandler(java.lang.String[] argv)
argv
- command line augumentspublic final void initialize(M5Instances inst) throws java.lang.Exception
inst
- a datasetjava.lang.Exception
- if something goes wrongpublic final java.lang.String toString(M5Instances inst) throws java.lang.Exception
inst
- a datasetjava.lang.Exception
- if something goes wrongpublic final void printValidOptions()