|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectiterator.AbstractIterator
iterator.AbstractOptimizer<T>
iterator.AbstractInitialSampleBasedOptimizer<T>
T - A subclass of BoundConstrainedProblem.public abstract class AbstractInitialSampleBasedOptimizer<T extends BoundConstrainedProblem>
Abstract class for an optimizer that needs a set of initial samples, rather than a single initial point. Parametrized by the type of problem it handles.
| Field Summary | |
|---|---|
protected LatinHypercube |
uniform
|
| Fields inherited from class iterator.AbstractOptimizer |
|---|
doubleFormat, funEvalCount, logWriter |
| Fields inherited from class iterator.AbstractIterator |
|---|
diagnosticString, iter |
| Constructor Summary | |
|---|---|
AbstractInitialSampleBasedOptimizer()
|
|
| Method Summary | |
|---|---|
int |
getRandomSeed()
Returns the random seed. |
void |
init()
Initialization routine |
cern.colt.matrix.DoubleMatrix2D |
makeInitialSamples(int sampleCount)
Makes the desired number of initial samples. |
void |
setRandomSeed(int randomSeed)
Sets the randomSeed. |
| Methods inherited from class iterator.AbstractOptimizer |
|---|
clear, dataAdded, dataAdded, dataRemoved, dataRemoved, getDataHandler, getFunEvalCount, getLogFileName, getMaxFunEval, getProblem, isTerminated, iterate, setDataHandler, setFunEvalCount, setLogFileName, setMaxFunEval, setProblem, updateDiagnostics, writeInitialRunLog |
| Methods inherited from class iterator.AbstractIterator |
|---|
isVerbose, printDiagnostics, setVerbose |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface iterator.InitialSamplesSettable |
|---|
setInitialSamples, setInitialSamples, setInitialSamples |
| Methods inherited from interface iterator.LoggableIterator |
|---|
getLogFileName, setLogFileName |
| Methods inherited from interface iterator.Iterable |
|---|
isTerminated, iterate, singleIteration |
| Field Detail |
|---|
protected LatinHypercube uniform
| Constructor Detail |
|---|
public AbstractInitialSampleBasedOptimizer()
| Method Detail |
|---|
public int getRandomSeed()
RepeatableLoggableIterator
getRandomSeed in interface RepeatableLoggableIteratorpublic void init()
Iterable
init in interface Iterableinit in class AbstractOptimizer<T extends BoundConstrainedProblem>public cern.colt.matrix.DoubleMatrix2D makeInitialSamples(int sampleCount)
InitialSamplesSettable
makeInitialSamples in interface InitialSamplesSettablex-values of the desired number of
initial samples.public void setRandomSeed(int randomSeed)
setRandomSeed in interface InitialSamplesSettablesetRandomSeed in interface RepeatableLoggableIteratorrandomSeed - the given randomSeed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||