iterator
Interface InitialSamplesSettable

All Known Implementing Classes:
AbstractInitialSampleBasedOptimizer, AbstractPopulationOptimizer, AdaptiveMultiPointRiskPerfOptimizer, BasicRealEncodedGA, ISIS, MultiPointRiskPerfOptimizer, NSGA2, PCGA, TwoStageOptimizer, TwoStageRiskPerfOptimizer

public interface InitialSamplesSettable

Provides methods for setting the set of initial samples for an algorithm.

Author:
dgorur

Method Summary
 cern.colt.matrix.DoubleMatrix2D makeInitialSamples(int sampleCount)
          Makes the desired number of initial samples.
 void setInitialSamples(DataBlock block)
          Sets the given block of samples as the set of initial samples.
 void setInitialSamples(cern.colt.matrix.DoubleMatrix2D x)
           
 void setInitialSamples(cern.colt.matrix.DoubleMatrix2D x, cern.colt.matrix.DoubleMatrix2D y)
          Sets the initial samples as per the given inputs and outputs.
 void setRandomSeed(int randomSeed)
          Sets the randomSeed.
 

Method Detail

makeInitialSamples

cern.colt.matrix.DoubleMatrix2D makeInitialSamples(int sampleCount)
Makes the desired number of initial samples.

Returns:
a matrix containing the x-values of the desired number of initial samples.

setInitialSamples

void setInitialSamples(DataBlock block)
Sets the given block of samples as the set of initial samples. Note: this block contains inputs and outputs.

Parameters:
block - the given DataBlock.

setInitialSamples

void setInitialSamples(cern.colt.matrix.DoubleMatrix2D x)
Parameters:
x - initial matrix of points, stored row-wise.

setInitialSamples

void setInitialSamples(cern.colt.matrix.DoubleMatrix2D x,
                       cern.colt.matrix.DoubleMatrix2D y)
Sets the initial samples as per the given inputs and outputs.

Parameters:
x - the given set of inputs.
y - the given set of outputs.

setRandomSeed

void setRandomSeed(int randomSeed)
Sets the randomSeed.

Parameters:
randomSeed - the given randomSeed.