Package net.simplace.sim.control
Class FWSimulationSelector
java.lang.Object
net.simplace.sim.control.FWSimulationControlContainer
net.simplace.sim.control.FWSimulationSelector
- All Implemented Interfaces:
FWSimFieldContainer
- Direct Known Subclasses:
WeightedLeastDifferenceSelector
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 Summary
Modifier and TypeFieldDescriptionprotected FWSimIOAdapter.FREQUENCE
order number for the serial order of the componentsFor Global mode we need the index to simulationid listprotected String
The standard statement the base for selection is generatedFields inherited from class net.simplace.sim.control.FWSimulationControlContainer
iCache, iCals, iConstraint, iContainerElement, iControlMap, iFieldMap, iInputMap, iInputs, iName, iParams, iSession, iSimulationMap
-
Constructor Summary
ConstructorDescriptionFWSimulationSelector
(org.jdom2.Element aSimulationSelectorElement, FWSimSession aSession) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
static FWSimulationSelector
createSimulationSelector
(String aSimulationSelectorClassName) factory method for Creation of the resource transformerstatic FWSimulationSelector
createSimulationSelector
(org.jdom2.Element aSimulationSelectorElement, FWSimSession aSession) factory method for Creation of the resource transformerprotected abstract void
void
selectSimulations
(FWSimProject aProject) Methods inherited from class net.simplace.sim.control.FWSimulationControlContainer
addProcessTime, addVariable, checkCondition, evaluate, getContentType, getCreateFormXML, getEditFormXML, getFieldMap, getFrequence, getInputVariables, getName, getOrderNumber, getOutputVariables, getVariable, getVarMap, init, isConditionCheck, readInputCalAndConstraint, removeVariable, setPropertyValue, toXML
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.simplace.sim.util.FWSimFieldContainer
createVariables
-
Field Details
-
iFrequence
order number for the serial order of the components -
iSelectStatement
The standard statement the base for selection is generated -
iGlobalModeSimulationIDMap
For Global mode we need the index to simulationid list
-
-
Constructor Details
-
FWSimulationSelector
public FWSimulationSelector() -
FWSimulationSelector
- 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
factory method for Creation of the resource transformer- Parameters:
aSimulationSelectorClassName
-- Returns:
- the resource transformer
-
selectSimulations
- Parameters:
aProject
-
-
select
- Parameters:
aResultSet
-
-