|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.common.notify.impl.BasicNotifierImpl
org.eclipse.emf.ecore.impl.BasicEObjectImpl
org.eclipse.emf.ecore.impl.EObjectImpl
org.eclipse.ohf.stem.core.common.impl.IdentifiableImpl
org.eclipse.ohf.stem.core.model.impl.DecoratorImpl
org.eclipse.ohf.stem.core.model.impl.NodeDecoratorImpl
org.eclipse.ohf.stem.diseasemodels.standard.impl.DiseaseModelImpl
org.eclipse.ohf.stem.diseasemodels.standard.impl.StandardDiseaseModelImpl
org.eclipse.ohf.stem.diseasemodels.standard.impl.SIImpl
org.eclipse.ohf.stem.diseasemodels.standard.impl.SIRImpl
public abstract class SIRImpl
An implementation of the model object 'SIR'.
The following features are implemented:
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
org.eclipse.emf.common.notify.impl.BasicNotifierImpl.EAdapterList<E extends java.lang.Object & org.eclipse.emf.common.notify.Adapter> |
Nested classes/interfaces inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
org.eclipse.emf.ecore.InternalEObject.EStore |
Field Summary |
---|
Fields inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
ELAST_EOBJECT_FLAG |
Fields inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.SIR |
---|
URI_TYPE_STANDARD_SIR_DISEASE_MODEL, URI_TYPE_STANDARD_SIR_DISEASE_MODEL_SEGMENT |
Fields inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.SI |
---|
URI_TYPE_STANDARD_SI_DISEASE_MODEL_SEGMENT |
Fields inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.StandardDiseaseModel |
---|
URI_TYPE_STANDARD_DISEASEMODEL_SEGMENT |
Fields inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.DiseaseModel |
---|
URI_TYPE_DISEASEMODEL_SEGMENT |
Fields inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
EOPPOSITE_FEATURE_BASE |
Method Summary | |
---|---|
StandardDiseaseModelLabelValue |
computeDeaths(StandardDiseaseModelLabel currentLabel,
long timeDelta)
|
StandardDiseaseModelLabelValue |
computeTransitions(StandardDiseaseModelLabelValue currentState,
StandardDiseaseModelLabel diseaseLabel,
long timeDelta)
|
DiseaseModelLabel |
createDiseaseModelLabel()
|
DiseaseModelLabelValue |
createDiseaseModelLabelValue()
|
java.lang.Object |
eGet(int featureID,
boolean resolve,
boolean coreType)
|
boolean |
eIsSet(int featureID)
|
void |
eSet(int featureID,
java.lang.Object newValue)
|
void |
eUnset(int featureID)
|
double |
getAdjustedImmunityLossRate(long timeDelta)
|
double |
getImmunityLossRate()
|
boolean |
sane()
|
void |
setImmunityLossRate(double newImmunityLossRate)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.ohf.stem.diseasemodels.standard.impl.StandardDiseaseModelImpl |
---|
addToTotalArea, addToTotalPopulationCount, computeBirths, computeTotalPopulationCountReciprocal, getTotalArea, getTotalPopulationCount, getTotalPopulationCountReciprocal, initializeDiseaseState, initializeDiseaseState, resetLabels, setTotalArea, setTotalPopulationCount, updateLabels |
Methods inherited from class org.eclipse.ohf.stem.diseasemodels.standard.impl.DiseaseModelImpl |
---|
decorateGraph, getAdjustedBackgroundMortalityRate, getBackgroundMortalityRate, getDiseaseName, getPopulationIdentifier, getTimePeriod, setBackgroundMortalityRate, setDiseaseName, setPopulationIdentifier, setTimePeriod |
Methods inherited from class org.eclipse.ohf.stem.core.model.impl.DecoratorImpl |
---|
basicSetGraph, eBasicRemoveFromContainerFeature, eInverseAdd, eInverseRemove, getGraph, getLabelsToUpdate, setGraph |
Methods inherited from class org.eclipse.ohf.stem.core.common.impl.IdentifiableImpl |
---|
basicSetDublinCore, getDublinCore, getTypeURI, getURI, setDublinCore, setTypeURI, setURI |
Methods inherited from class org.eclipse.emf.ecore.impl.EObjectImpl |
---|
eAdapters, eClass, eContainerFeatureID, eDeliver, eInternalContainer, eIsProxy, eSetClass, eSetDeliver, eSetProxyURI |
Methods inherited from class org.eclipse.emf.ecore.impl.BasicEObjectImpl |
---|
eAllContents, eBaseStructuralFeatureID, eBasicRemoveFromContainer, eBasicSetContainer, eContainer, eContainingFeature, eContainmentFeature, eContains, eContents, eCrossReferences, eDerivedStructuralFeatureID, eDerivedStructuralFeatureID, eDirectResource, eDynamicBasicRemoveFromContainer, eDynamicGet, eDynamicGet, eDynamicInverseAdd, eDynamicInverseRemove, eDynamicIsSet, eDynamicIsSet, eDynamicSet, eDynamicSet, eDynamicUnset, eDynamicUnset, eGet, eGet, eGet, eInternalResource, eInverseAdd, eInverseRemove, eIsSet, eObjectForURIFragmentSegment, eOpenGet, eOpenIsSet, eOpenSet, eOpenUnset, eProxyURI, eResolveProxy, eResource, eSet, eSetResource, eSetStore, eSetting, eStore, eUnset, eURIFragmentSegment, eVirtualGet, eVirtualGet, eVirtualIsSet, eVirtualSet, eVirtualUnset |
Methods inherited from class org.eclipse.emf.common.notify.impl.BasicNotifierImpl |
---|
eNotificationRequired, eNotify |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.SI |
---|
getAdjustedInfectiousMortalityRate, getAdjustedRecoveryRate, getAdjustedTransmissionRate, getInfectiousMortality, getInfectiousMortalityRate, getNonLinearityCoefficient, getPhysicallyAdjacentInfectious, getPhysicallyAdjacentInfectiousProportion, getRecoveryRate, getTransmissionRate, setInfectiousMortality, setInfectiousMortalityRate, setNonLinearityCoefficient, setPhysicallyAdjacentInfectiousProportion, setRecoveryRate, setTransmissionRate |
Methods inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.StandardDiseaseModel |
---|
addToTotalArea, addToTotalPopulationCount, computeTotalPopulationCountReciprocal, getTotalArea, getTotalPopulationCount, getTotalPopulationCountReciprocal, setTotalArea, setTotalPopulationCount |
Methods inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.DiseaseModel |
---|
createDiseaseModelState, createInfector, getAdjustedBackgroundMortalityRate, getBackgroundMortalityRate, getDiseaseName, getPopulationIdentifier, getTimePeriod, initializeDiseaseState, initializeDiseaseState, setBackgroundMortalityRate, setDiseaseName, setPopulationIdentifier, setTimePeriod |
Methods inherited from interface org.eclipse.ohf.stem.core.model.Decorator |
---|
decorateGraph, getGraph, getLabelsToUpdate, resetLabels, setGraph, updateLabels |
Methods inherited from interface org.eclipse.ohf.stem.core.common.Identifiable |
---|
getDublinCore, getTypeURI, getURI, setDublinCore, setTypeURI, setURI |
Methods inherited from interface org.eclipse.emf.ecore.EObject |
---|
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eIsProxy, eIsSet, eResource, eSet, eUnset |
Methods inherited from interface org.eclipse.emf.common.notify.Notifier |
---|
eAdapters, eDeliver, eNotify, eSetDeliver |
Methods inherited from interface org.eclipse.emf.ecore.InternalEObject |
---|
eNotificationRequired |
Method Detail |
---|
public DiseaseModelLabel createDiseaseModelLabel()
DiseaseModelImpl
createDiseaseModelLabel
in interface DiseaseModel
createDiseaseModelLabel
in class SIImpl
DiseaseModelImpl.createDiseaseModelLabel()
public DiseaseModelLabelValue createDiseaseModelLabelValue()
DiseaseModelImpl
createDiseaseModelLabelValue
in interface DiseaseModel
createDiseaseModelLabelValue
in class SIImpl
public StandardDiseaseModelLabelValue computeDeaths(StandardDiseaseModelLabel currentLabel, long timeDelta)
computeDeaths
in class SIImpl
currentLabel
- the current label of the disease modeltimeDelta
- the time period over which the population members die
org.eclipse.ohf.stem.diseasemodels.standard.impl.SIImpl#computeDeaths(org.eclipse.ohf.stem.diseasemodels.standard.StandardDiseaseModelLabelValue,
long)
public StandardDiseaseModelLabelValue computeTransitions(StandardDiseaseModelLabelValue currentState, StandardDiseaseModelLabel diseaseLabel, long timeDelta)
computeTransitions
in class SIImpl
currentState
- the current state of the populationdiseaseLabel
- the disease label for which the state transitions are being
computed.timeDelta
- the time period (milliseconds) over which the population
members transition to new states
SIImpl.computeTransitions(StandardDiseaseModelLabelValue,
StandardDiseaseModelLabel, long)
public double getImmunityLossRate()
getImmunityLossRate
in interface SIR
public void setImmunityLossRate(double newImmunityLossRate)
setImmunityLossRate
in interface SIR
newImmunityLossRate
- SIR.getImmunityLossRate()
public double getAdjustedImmunityLossRate(long timeDelta)
getAdjustedImmunityLossRate
in interface SIR
timeDelta
-
public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class SIImpl
featureID
- resolve
- coreType
-
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class SIImpl
featureID
- newValue
- public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class SIImpl
featureID
- public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class SIImpl
featureID
-
public java.lang.String toString()
toString
in class SIImpl
public boolean sane()
IdentifiableImpl
sane
in interface Identifiable
sane
in interface SanityChecker
sane
in class SIImpl
SIImpl.sane()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |