Class FWSimulationSelector

java.lang.Object
net.simplace.sim.control.FWSimulationControlContainer
net.simplace.sim.control.FWSimulationSelector
All Implemented Interfaces:
FWSimFieldContainer
Direct Known Subclasses:
WeightedLeastDifferenceSelector

public abstract class FWSimulationSelector extends FWSimulationControlContainer
Extender of this abstract class will be able to select the best simulation of a prepared set by implementing abstract method #select(List). The criteria for selecting can be configured by the input variables. Outputs define a possibility to let the signifying parameters to be exported to the implemented output process via VarMap.
Author:
Andreas Enders
  • Field Details

    • iFrequence

      protected FWSimIOAdapter.FREQUENCE iFrequence
      order number for the serial order of the components
    • iSelectStatement

      protected String iSelectStatement
      The standard statement the base for selection is generated
    • iGlobalModeSimulationIDMap

      protected HashMap<String,String> iGlobalModeSimulationIDMap
      For Global mode we need the index to simulationid list
  • Constructor Details

    • FWSimulationSelector

      public FWSimulationSelector()
    • FWSimulationSelector

      public FWSimulationSelector(org.jdom2.Element aSimulationSelectorElement, FWSimSession aSession)
      Parameters:
      aSimulationSelectorElement -
      aSession -
  • Method Details

    • createSelectStatement

      protected void createSelectStatement()
    • createSimulationSelector

      public static FWSimulationSelector createSimulationSelector(org.jdom2.Element aSimulationSelectorElement, FWSimSession aSession)
      factory method for Creation of the resource transformer
      Parameters:
      aSimulationSelectorElement -
      aSession -
      Returns:
      the resource transformer
    • createSimulationSelector

      public static FWSimulationSelector createSimulationSelector(String aSimulationSelectorClassName)
      factory method for Creation of the resource transformer
      Parameters:
      aSimulationSelectorClassName -
      Returns:
      the resource transformer
    • selectSimulations

      public void selectSimulations(FWSimProject aProject)
      Parameters:
      aProject -
    • select

      protected abstract void select(ResultSet aResultSet)
      Parameters:
      aResultSet -