|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.jhu.bme.smile.commons.optimize.test.Test1DOptimizations
public class Test1DOptimizations
Test class to test all 1D optimizers.
Field Summary | |
---|---|
static int |
iterations
|
static int |
pickedFunc
|
Constructor Summary | |
---|---|
Test1DOptimizations()
|
Method Summary | |
---|---|
static void |
BrentMethod1D()
Brent's Method |
static void |
changeFunc()
Changes the function to test. |
static void |
changeMinMax()
Changes between finding minimum and maximum. |
static void |
funcInit()
Initializes the function. |
static void |
GoldenSectionSearch1D()
Golden Section Search |
static void |
main(java.lang.String[] args)
|
static void |
NewtonMethod1D()
Newton |
static void |
printResults(java.lang.String alg,
java.lang.String status,
long time,
double tEx,
double nEx,
double error)
Prints the results. |
static void |
resetVariables()
Resets all variables. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static int iterations
public static int pickedFunc
Constructor Detail |
---|
public Test1DOptimizations()
Method Detail |
---|
public static void main(java.lang.String[] args)
public static void BrentMethod1D()
public static void GoldenSectionSearch1D()
public static void NewtonMethod1D()
public static void changeFunc()
public static void changeMinMax()
public static void funcInit()
public static void resetVariables()
public static void printResults(java.lang.String alg, java.lang.String status, long time, double tEx, double nEx, double error)
alg
- algorithm usedstatus
- status messagetime
- time spent optimizingtEx
- true extremanEx
- calculated extremaerror
- error
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |