|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.optimization.minmax.LeastPth
public class LeastPth
The least p-th minmax algorithm solves the minmax problem in this form:
minimize max e(x, ω)
x ω∈S
e(x, ω) is the error or loss function.
In other words, the objective of the minmax algorithm is to minimize the maximal error/loss (function).
The least p-th minmax algorithm assumes the set S is discrete and finite.
To use this implementation to solve a continuous S set, a sampling of S is required.
| Field Summary | |
|---|---|
MinMaxProblem |
problem
the minmax problem to be solved |
| Constructor Summary | |
|---|---|
LeastPth(MinMaxProblem problem)
Construct an instance of the LeastPth to solve a minmax problem. |
|
| Method Summary | |
|---|---|
Vector |
search(Vector initial,
java.util.List<java.lang.Object> omegas,
double threshold,
int maxIterations)
Search for a minmax solution. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final MinMaxProblem problem
| Constructor Detail |
|---|
public LeastPth(MinMaxProblem problem)
problem - the minmax problem to be solved| Method Detail |
|---|
public Vector search(Vector initial,
java.util.List<java.lang.Object> omegas,
double threshold,
int maxIterations)
initial - an initial guess of the minimizeromegas - the S setthreshold - the convergence criterionmaxIterations - the maximum number of iterations
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||