Package net.simplace.sim.components
Klasse FWAnalyticsSimComponent
java.lang.Object
net.simplace.sim.model.FWSimComponent
net.simplace.sim.components.FWAnalyticsSimComponent
- Alle implementierten Schnittstellen:
FWSimFieldContainer
- Autor:
- Andreas Enders
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen net.simplace.sim.model.FWSimComponent
FWSimComponent.TEST_STATE -
Feldübersicht
Von Klasse geerbte Felder net.simplace.sim.model.FWSimComponent
iFieldMap, iFrequence, iInputMap, iJexlRule, iMasterComponentGroup, iName, iOrderNumber, isComponentGroup, iSimComponentElement, iSimModel, iVarMap -
Konstruktorübersicht
KonstruktorenKonstruktorBeschreibungFWAnalyticsSimComponent(String aName, HashMap<String, FWSimVariable<?>> aFieldMap, HashMap<String, String> aInputMap, org.jdom2.Element aSimComponentElement, FWSimVarMap aVarMap, int aOrderNumber) FWAnalyticsSimComponent(String aName, HashMap<String, FWSimVariable<?>> aFieldMap, LinkedList<FWSimVariable<Integer>> aProcessAlgorithmsMap, FWSimVariable<String[]> aHeader, FWSimVariable<Integer[]> aValues, HashMap<String, String> aInputMap, org.jdom2.Element aSimComponentElement, FWSimVarMap aVarMap, int aOrderNumber) -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected FWSimComponentclone(FWSimVarMap aVarMap) called only once when the SimComponent is created.fillTestVariables(int aParamIndex, FWSimComponent.TEST_STATE aDefineOrCheck) called for single component test to check the components algorithm.protected voidinit()The model initialization function.protected voidprocess()The main model calculation function.org.jdom2.ElementtoXML()Von Klasse geerbte Methoden net.simplace.sim.model.FWSimComponent
addVariable, bind, checkCondition, createSimComponent, createSimComponent, createSimComponent, createSimComponent, doProcess, getConstantVariables, getContentType, getCreateFormXML, getDescription, getEditFormXML, getFieldMap, getFrequence, getFrequenceRuleScript, getInputs, getInputVariables, getMasterComponentGroup, getName, getOrderNumber, getOutputVariables, getVariable, getVariableField, getVarMap, initialize, isConditionCheck, isVariableAvailable, performLinks, performLinks, readInputs, removeVariable, reset, runComponentTest, setVariablesDefault, toComponentLinkingXML, toDocXML, toGroupXML, toOutputDefinitionXML, toResourcesDataXML, toResourcesDefinitionXML, toString, writeVarInfos
-
Konstruktordetails
-
FWAnalyticsSimComponent
public FWAnalyticsSimComponent(String aName, HashMap<String, FWSimVariable<?>> aFieldMap, HashMap<String, String> aInputMap, org.jdom2.Element aSimComponentElement, FWSimVarMap aVarMap, int aOrderNumber) - Parameter:
aName-aFieldMap-aInputMap-aSimComponentElement-aVarMap-aOrderNumber-
-
FWAnalyticsSimComponent
public FWAnalyticsSimComponent() -
FWAnalyticsSimComponent
public FWAnalyticsSimComponent(String aName, HashMap<String, FWSimVariable<?>> aFieldMap, LinkedList<FWSimVariable<Integer>> aProcessAlgorithmsMap, FWSimVariable<String[]> aHeader, FWSimVariable<Integer[]> aValues, HashMap<String, String> aInputMap, org.jdom2.Element aSimComponentElement, FWSimVarMap aVarMap, int aOrderNumber) - Parameter:
aName-aFieldMap-aProcessAlgorithmsMap-aHeader-aValues-aInputMap-aSimComponentElement-aVarMap-aOrderNumber-aIntegrateAlgorithmsMap-
-
-
Methodendetails
-
createVariables
Beschreibung aus Klasse kopiert:FWSimComponentcalled only once when the SimComponent is created. Hereby the FieldMap is filled with the interfacing fields.- Angegeben von:
createVariablesin SchnittstelleFWSimFieldContainer- Angegeben von:
createVariablesin KlasseFWSimComponent- Gibt zurück:
- variables from the field map
- Siehe auch:
-
init
protected void init()Beschreibung aus Klasse kopiert:FWSimComponentThe model initialization function. Will be called only once, before running the model using process().- Angegeben von:
initin KlasseFWSimComponent
-
process
protected void process()Beschreibung aus Klasse kopiert:FWSimComponentThe main model calculation function. Is guaranteed to be called once per module-specific time step.- Angegeben von:
processin KlasseFWSimComponent
-
toXML
public org.jdom2.Element toXML()- Angegeben von:
toXMLin SchnittstelleFWSimFieldContainer- Setzt außer Kraft:
toXMLin KlasseFWSimComponent- Gibt zurück:
- a xml element with all the settings of this component()
- Siehe auch:
-
fillTestVariables
public HashMap<String,FWSimVariable<?>> fillTestVariables(int aParamIndex, FWSimComponent.TEST_STATE aDefineOrCheck) called for single component test to check the components algorithm. aParamIndex: Used to set up different test cases. Start with 0 - result check with 1 aso- Angegeben von:
fillTestVariablesin KlasseFWSimComponent- Parameter:
aDefineOrCheck- : Use TEST_STATE.DEFINE for defining the test default values and TEST_STATE.CHECK for the accepted results- Siehe auch:
-
clone
- Angegeben von:
clonein KlasseFWSimComponent- Parameter:
aVarMap-- Gibt zurück:
- the deep clone of the SimComponent
-