net.simplace.simulation.control.FWSimulationSelector

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.


public abstract class FWSimulationSelector implements
net.simplace.simulation.util.FWSimFieldContainer {
// Public Constructors
public FWSimulationSelector();
public FWSimulationSelector(Element aSimulationSelectorElement,
FWSimSolution aSolution);

// Protected Instance Variables
protected String iName;
protected FWSimVarMap iVarMap;
protected HashMap iFieldMap;
protected HashMap iInputs;
protected HashMap iInputMap;
protected int iOrderNumber;
protected FWSimIOAdapter.FREQUENCE iFrequence;
protected Element iSimulationSelectorElement;
protected FWSimSolution iSolution;
protected String iSelectedSimulationID;

// Class Methods
public static FWSimulationSelector createSimulationSelector(Element
aSimulationSelectorElement, FWSimSolution aSolution);

factory method for Creation of the resource transformer
returns the resource transformer
public static FWSimulationSelector createSimulationSelector(String
aSimulationSelectorClassName);

factory method for Creation of the resource transformer
returns the resource transformer

// Public Instance Methods
public FWSimSimulation selectSimulation(List aSimulationsList);


returns the selected Simulation
public String getSelectedSimulationID();


returns the selectedSimulationID
public abstract void init();

The model initialization function. Will be called only once, before running the model using process().
public void addVariable(FWSimVariable aVariable);
// From net.simplace.simulation.util.FWSimFieldContainer


public int getOrderNumber(); // From
net.simplace.simulation.util.FWSimFieldContainer


public FWSimVariable.CONTENT_TYPE getContentType();
// From net.simplace.simulation.util.FWSimFieldContainer


public FWSimVariable getVariable(String aID) throws SimFieldMissingException;
// From net.simplace.simulation.util.FWSimFieldContainer


public void removeVariable(String aID); // From
net.simplace.simulation.util.FWSimFieldContainer


public String getName(); // From
net.simplace.simulation.util.FWSimFieldContainer


public Collection getOutputVariables(); // From
net.simplace.simulation.util.FWSimFieldContainer


public Collection getInputVariables(); // From
net.simplace.simulation.util.FWSimFieldContainer


public HashMap getFieldMap(); // From
net.simplace.simulation.util.FWSimFieldContainer


public Element toXML(); // From
net.simplace.simulation.util.FWSimFieldContainer


public Element getCreateFormXML(); // From
net.simplace.simulation.util.FWSimFieldContainer


public Element getEditFormXML(boolean aEnabled); // From
net.simplace.simulation.util.FWSimFieldContainer


public FWSimIOAdapter.FREQUENCE getFrequence(); // From
net.simplace.simulation.util.FWSimFieldContainer



// Protected Instance Methods
protected abstract FWSimSimulation select(List aSimulation);


returns selected FWSimSimulation


}



Extended by: net.simplace.simulation.control.selectors.LeastDifferenceSelector, net.simplace.simulation.control.selectors.LeastSquareSelector, net.simplace.simulation.control.selectors.WeightedLeastDifferenceSelector



Passed to: net.simplace.simulation.FWSimProject()



Returned by: createSimulationSelector(), createSimulationSelector()