|
|||||||||
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.TestNDOptimizations
public class TestNDOptimizations
Test class to test the ND optimizers.
Field Summary | |
---|---|
static int |
iterations
|
static int |
pickedFunc
|
Constructor Summary | |
---|---|
TestNDOptimizations()
|
Method Summary | |
---|---|
static void |
BrentMethod1D()
Line Search using Brent's Method |
static void |
changeFunc()
Changes the function to optimize. |
static void |
changeMinMax()
Changes between finding the minimum and maximum. |
static void |
DownhillSimplex()
Downhill Simplex |
static void |
funcInit()
Initializes the function. |
static void |
GoldenSectionSearch()
Line Search using Golden Section Search |
static void |
LM()
LM |
static void |
main(java.lang.String[] args)
|
static void |
NewtonMethod()
Line Search using 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 the 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 TestNDOptimizations()
Method Detail |
---|
public static void main(java.lang.String[] args)
public static void LM()
public static void BrentMethod1D()
public static void GoldenSectionSearch()
public static void NewtonMethod()
public static void DownhillSimplex()
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 |