|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuserinterface.cmdline.CmdLinearRegression
public class CmdLinearRegression
Serves as interface between command line input and tools for calculation of linear regression
Field Summary | |
---|---|
static java.lang.String |
STANDARD
|
Constructor Summary | |
---|---|
CmdLinearRegression()
|
Method Summary | |
---|---|
static void |
extractFlags(java.lang.String[] input)
Translates the flags of the options array into values for the variables used for calculation |
static Data |
getData(java.lang.String[] input)
Uses the complete options array to split it and forward the necessary information to the interface for data manipulation |
static boolean |
isValid()
checks whether all essential variables have been set |
static void |
main(java.lang.String[] args)
Contains all necessary methods to calculate linear regression from an options array |
static CorrectionFactors |
prepareLR(Data data)
Contains all the methods for calculation of linear regression |
static java.lang.String[] |
split(java.lang.String[] input)
Splits the options array into one array that provides input for the data manipulation and one array that provides needed input for calculation of linear regression |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String STANDARD
Constructor Detail |
---|
public CmdLinearRegression()
Method Detail |
---|
public static boolean isValid()
public static java.lang.String[] split(java.lang.String[] input)
input
- complete options array
public static void extractFlags(java.lang.String[] input)
input
- options array containing only the important informationpublic static CorrectionFactors prepareLR(Data data)
data
- A data object for which the calculation should be done
public static Data getData(java.lang.String[] input) throws InvalidFlagException
input
- The complete options array
InvalidFlagException
public static void main(java.lang.String[] args)
args
- The options array
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |