Class Regime
- java.lang.Object
-
- org.lemsml.jlems.core.type.dynamics.Regime
-
-
Field Summary
Fields Modifier and Type Field Description booleanb_initialLemsCollection<DerivedVariable>derivedVariablesjava.lang.Stringinitialjava.lang.StringnameLemsCollection<OnCondition>onConditionsLemsCollection<OnEntry>onEntrysLemsCollection<OnEvent>onEventsLemsCollection<OnStart>onStartsprivate Dynamicsr_behaviorLemsCollection<RequiredVar>requiredVarsLemsCollection<StateVariable>stateVariablesLemsCollection<TimeDerivative>timeDerivativesprivate java.util.HashMap<java.lang.String,Valued>valHM
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOnCondition(OnCondition oc)voidaddTimeDerivative(TimeDerivative td)private voidaddToMap(LemsCollection<? extends Valued> col, java.util.HashMap<java.lang.String,Valued> valHM)voidcheckEquations()private voidcheckMakeValHM()private voidcountExposure(Named exposure, java.util.HashMap<java.lang.String,java.lang.Integer> exposedHM)private ComponentTypegetComponentType()java.lang.StringgetName()LemsCollection<OnCondition>getOnConditions()LemsCollection<OnEntry>getOnEntrys()LemsCollection<OnEvent>getOnEvents()LemsCollection<OnStart>getOnStarts()LemsCollection<TimeDerivative>getTimeDerivatives()java.util.HashMap<java.lang.String,Valued>getValHM()ValuedgetValued(java.lang.String select)booleanisInitial()ComponentRegimemakeComponentRegime(StateType cb, Component cpt, java.util.HashMap<java.lang.String,java.lang.Double> fixedHM)RegimemakeCopy()voidresolve(LemsCollection<StateVariable> psv, Lems lems, Parser parser, java.util.HashMap<java.lang.String,java.lang.Integer> exposedHM)voidsetBehavior(Dynamics b)voidsetName(java.lang.String name)java.lang.StringtoString()
-
-
-
Field Detail
-
name
public java.lang.String name
-
initial
public java.lang.String initial
-
b_initial
public boolean b_initial
-
derivedVariables
public LemsCollection<DerivedVariable> derivedVariables
-
stateVariables
public LemsCollection<StateVariable> stateVariables
-
timeDerivatives
public LemsCollection<TimeDerivative> timeDerivatives
-
onStarts
public LemsCollection<OnStart> onStarts
-
onEntrys
public LemsCollection<OnEntry> onEntrys
-
onEvents
public LemsCollection<OnEvent> onEvents
-
onConditions
public LemsCollection<OnCondition> onConditions
-
requiredVars
public LemsCollection<RequiredVar> requiredVars
-
valHM
private java.util.HashMap<java.lang.String,Valued> valHM
-
r_behavior
private Dynamics r_behavior
-
-
Method Detail
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
setBehavior
public void setBehavior(Dynamics b)
-
isInitial
public boolean isInitial()
-
getValHM
public java.util.HashMap<java.lang.String,Valued> getValHM() throws ContentError
- Throws:
ContentError
-
checkMakeValHM
private void checkMakeValHM() throws ContentError- Throws:
ContentError
-
resolve
public void resolve(LemsCollection<StateVariable> psv, Lems lems, Parser parser, java.util.HashMap<java.lang.String,java.lang.Integer> exposedHM) throws ContentError, ParseError
- Throws:
ContentErrorParseError
-
countExposure
private void countExposure(Named exposure, java.util.HashMap<java.lang.String,java.lang.Integer> exposedHM) throws ContentError
- Throws:
ContentError
-
addToMap
private void addToMap(LemsCollection<? extends Valued> col, java.util.HashMap<java.lang.String,Valued> valHM)
-
makeComponentRegime
public ComponentRegime makeComponentRegime(StateType cb, Component cpt, java.util.HashMap<java.lang.String,java.lang.Double> fixedHM) throws ContentError
- Throws:
ContentError
-
setName
public void setName(java.lang.String name)
-
getOnConditions
public LemsCollection<OnCondition> getOnConditions()
-
getOnEntrys
public LemsCollection<OnEntry> getOnEntrys()
-
getOnEvents
public LemsCollection<OnEvent> getOnEvents()
-
getOnStarts
public LemsCollection<OnStart> getOnStarts()
-
getTimeDerivatives
public LemsCollection<TimeDerivative> getTimeDerivatives()
-
getComponentType
private ComponentType getComponentType()
-
getValued
public Valued getValued(java.lang.String select) throws ContentError
- Throws:
ContentError
-
checkEquations
public void checkEquations() throws ContentError- Throws:
ContentError
-
addTimeDerivative
public void addTimeDerivative(TimeDerivative td)
-
addOnCondition
public void addOnCondition(OnCondition oc)
-
makeCopy
public Regime makeCopy()
-
-