|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpal.algorithmics.StoppingCriteria.Utils
public static class StoppingCriteria.Utils
| Constructor Summary | |
|---|---|
StoppingCriteria.Utils()
|
|
| Method Summary | |
|---|---|
static StoppingCriteria.Factory |
getCombined(StoppingCriteria.Factory[] subCriteria)
A stopping criteria that is a composite of a set of criteria, stops when at least one sub criteria wants to stop |
static StoppingCriteria.Factory |
getIterationCount(int maxIterationCount)
A stopping criteria that stops after a set number of iterations |
static StoppingCriteria.Factory |
getNonExactUnchangedScore(int maxIterationCountAtCurrentScore,
boolean matchBestScore,
double tolerance)
A stopping criteria that works by counting how many iterations occur at a given score (either the best score or the current score) and stopping when score does not change after a set number of generations |
static StoppingCriteria.Factory |
getUnchangedScore(int maxIterationCountAtCurrentScore,
boolean matchBestScore)
A stopping criteria that works by counting how many iterations occur at a given score (either the best score or the current score) and stopping when score does not change after a set number of generations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StoppingCriteria.Utils()
| Method Detail |
|---|
public static final StoppingCriteria.Factory getIterationCount(int maxIterationCount)
maxIterationCount - the maximum number of iterations.
public static final StoppingCriteria.Factory getUnchangedScore(int maxIterationCountAtCurrentScore,
boolean matchBestScore)
maxIterationCountAtCurrentScore - the number of iterations to wait at the current score before stoppingmatchBestScore - if true will examine the best score so far, else will examine the current score so far.
public static final StoppingCriteria.Factory getNonExactUnchangedScore(int maxIterationCountAtCurrentScore,
boolean matchBestScore,
double tolerance)
maxIterationCountAtCurrentScore - the number of iterations to wait at the current score before stoppingmatchBestScore - if true will examine the best score so far, else will examine the current score so far.public static final StoppingCriteria.Factory getCombined(StoppingCriteria.Factory[] subCriteria)
subCriteria - an array of StoppingCriteria to combine
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||