Klasse LHSSimGenerator

java.lang.Object
net.simplace.sim.control.FWSimulationControlContainer
net.simplace.sim.control.FWSimulationGenerator
net.simplace.sim.control.generators.DefaultSimulationGenerator
net.simplace.sim.control.generators.LHSSimGenerator
Alle implementierten Schnittstellen:
net.simplace.sim.util.FWSimFieldContainer

public class LHSSimGenerator extends net.simplace.sim.control.generators.DefaultSimulationGenerator
Generate simulations with parameters created using random Latin hypercube sampling WIKI_START == Example == Three dimensional hypercube with 1600 samples: {{{ | | | | | 1600 | }}} == References == LHS and permutation functions by Le Minh Nghia, NTU-Singapore ([https://code.google.com/p/evolutionary-algorithm/ Google code link]) WIKI_END
Autor:
Roelof Oomen, Le Minh Nghia
  • Feldübersicht

    Von Klasse geerbte Felder net.simplace.sim.control.FWSimulationGenerator

    iContentType, iSimulationsMap

    Von Klasse geerbte Felder net.simplace.sim.control.FWSimulationControlContainer

    iCache, iCals, iConstraint, iContainerElement, iControlMap, iFieldMap, iInputMap, iInputs, iName, iParams, iSession, iSimulationMap
  • Konstruktorübersicht

    Konstruktoren
    Konstruktor
    Beschreibung
    LHSSimGenerator(org.jdom2.Element aGeneratorElement, net.simplace.sim.FWSimSession aSession, HashMap<String,net.simplace.sim.util.FWSimVariable<?>> aFieldMap, net.simplace.sim.util.FWSimVariable.CONTENT_TYPE aContentType)
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    HashMap<String,net.simplace.sim.util.FWSimVariable<?>>
     
    void
    generate(net.simplace.sim.control.FWSimulationControlCache aCache, ResultSet aResultSet)
     
    int[][]
    getSimpleLH(int N, int dim)
    Generate matrix (nSamples x nDim) so that each column is a permutation of 1->N
    void
     

    Von Klasse geerbte Methoden net.simplace.sim.control.FWSimulationGenerator

    addSimulation, canUpdate, clearSimulations, createSimulationGenerator, finalize, getSimulation, getSimulationsListSize, initializeProject, reset, setFinished, setInitial, updateSimulations, writeSimulation

    Von Klasse geerbte Methoden net.simplace.sim.control.FWSimulationControlContainer

    addProcessTime, addVariable, checkCondition, evaluate, getContentType, getCreateFormXML, getEditFormXML, getFieldMap, getFrequence, getInputVariables, getName, getOrderNumber, getOutputVariables, getVariable, getVarMap, isConditionCheck, readInputCalAndConstraint, removeVariable, setPropertyValue, toXML

    Von Klasse geerbte Methoden java.lang.Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Konstruktordetails

    • LHSSimGenerator

      public LHSSimGenerator(org.jdom2.Element aGeneratorElement, net.simplace.sim.FWSimSession aSession, HashMap<String,net.simplace.sim.util.FWSimVariable<?>> aFieldMap, net.simplace.sim.util.FWSimVariable.CONTENT_TYPE aContentType)
      Parameter:
      aFieldMap -
      aContentType -
      aProjectsElement -
      aSolution -
  • Methodendetails

    • init

      public void init()
      Setzt außer Kraft:
      init in Klasse net.simplace.sim.control.generators.DefaultSimulationGenerator
    • createVariables

      public HashMap<String,net.simplace.sim.util.FWSimVariable<?>> createVariables()
      Angegeben von:
      createVariables in Schnittstelle net.simplace.sim.util.FWSimFieldContainer
      Setzt außer Kraft:
      createVariables in Klasse net.simplace.sim.control.generators.DefaultSimulationGenerator
    • getSimpleLH

      public int[][] getSimpleLH(int N, int dim)
      Generate matrix (nSamples x nDim) so that each column is a permutation of 1->N
      Parameter:
      N - Number of samples
      dim - Number of dimensions
    • generate

      public void generate(net.simplace.sim.control.FWSimulationControlCache aCache, ResultSet aResultSet)
      Setzt außer Kraft:
      generate in Klasse net.simplace.sim.control.generators.DefaultSimulationGenerator