net.simplace.usermodules.roelof.LHSCalSimGenerator
Latin hypercube sampling
LHS and permutation functions by Le Minh Nghia, NTU-Singapore
See also: "https://code.google.com/p/evolutionary-algorithm/"
public class LHSCalSimGenerator extends
net.simplace.simulation.control.generators.DefaultSimulationGenerator {
// Public Constructors
public LHSCalSimGenerator(Element aProjectsElement, FWSimSolution aSolution,
HashMap aFieldMap, FWSimVariable.CONTENT_TYPE aContentType);
// Public Instance Methods public void init(); // Overrides
net.simplace.simulation.control.generators.DefaultSimulationGenerator
public HashMap createVariables(); // Overrides
net.simplace.simulation.control.generators.DefaultSimulationGenerator
public int[][]
getSimpleLH(int N, int dim);
Generate matrix (nSamples x nDim) so that each column is a permutation of 1->N
- N Number of samples
- dim Number of dimensions
// Protected Instance Methods protected void generate(FWSimSimulation aSelectedSimulation);
// Overrides
net.simplace.simulation.control.generators.DefaultSimulationGenerator
}
Hierarchy: java.lang.Object - net.simplace.simulation.control.FWSimulationGenerator (net.simplace.simulation.util.FWSimFieldContainer) - net.simplace.simulation.control.generators.DefaultSimulationGenerator - LHSCalSimGenerator