|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--gov.sns.tools.optimizer.SearchAlgorithm
|
+--gov.sns.tools.optimizer.SimplexSearchAlgorithm
| Constructor Summary | |
SimplexSearchAlgorithm()
Creates a new instance of SimplexSearchAlgorithm |
|
| Method Summary | |
protected boolean |
acceptProxyForFitting(ParameterProxy pr)
returns true if the step of finding is more than 0. |
protected double |
getBestScore()
returns the best score after step |
double |
getContraction()
|
double |
getExpansion()
|
double |
getReflection()
|
double |
getShinkage()
|
int |
getShrinkageMax()
|
int |
getType()
returns the type of the algorithm - SearchAlgorithmConstants.SIMPLEX_ALGORITHM. |
protected boolean |
makeStep()
make one step in the search. |
protected void |
reset()
reset for searching from scratch; forget history |
void |
setContraction(double gamma)
|
void |
setExpansion(double chi)
|
void |
setReflection(double rho)
|
void |
setShinkage(double sigma)
|
void |
setShrinkageMax(int nShrinkMax)
|
| Methods inherited from class gov.sns.tools.optimizer.SearchAlgorithm |
accept, getBestSolutionMap, getNumVariables, getScorer, getVariables, getWantToStop, setScorer, setVariables, setWantToStop |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimplexSearchAlgorithm()
| Method Detail |
protected void reset()
reset in class SearchAlgorithmprotected boolean acceptProxyForFitting(ParameterProxy pr)
acceptProxyForFitting in class SearchAlgorithmprotected boolean makeStep()
makeStep in class SearchAlgorithmprotected double getBestScore()
getBestScore in class SearchAlgorithmpublic int getType()
getType in class SearchAlgorithmpublic void setReflection(double rho)
public void setExpansion(double chi)
public void setContraction(double gamma)
public void setShinkage(double sigma)
public double getReflection()
public double getExpansion()
public double getContraction()
public double getShinkage()
public void setShrinkageMax(int nShrinkMax)
public int getShrinkageMax()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||