|
||||||||||
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
public abstract class SIImpl
An implementation of the model object 'SI'.
The following features are implemented:
Infectious Mortality
Transmission Rate
Non Linearity Coefficient
Recovery Rate
Infectious Mortality Rate
Physically Adjacent Infectious Proportion
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.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 |
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.StandardDiseaseModel |
---|
addToTotalArea, addToTotalPopulationCount, computeTotalPopulationCountReciprocal, getTotalArea, getTotalPopulationCount, getTotalPopulationCountReciprocal, setTotalArea, setTotalPopulationCount |
Methods inherited from interface org.eclipse.ohf.stem.diseasemodels.standard.DiseaseModel |
---|
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 StandardDiseaseModelLabelValue computeDeaths(StandardDiseaseModelLabel currentLabel, long timeDelta)
computeDeaths
in class StandardDiseaseModelImpl
currentLabel
- the current label of the disease modeltimeDelta
- the time period over which the population members die
org.eclipse.ohf.stem.diseasemodels.standard.impl.StandardDiseaseModelImpl#computeDeaths(org.eclipse.ohf.stem.diseasemodels.standard.StandardDiseaseModelLabelValue,
long)
public StandardDiseaseModelLabelValue computeTransitions(StandardDiseaseModelLabelValue currentState, StandardDiseaseModelLabel diseaseLabel, long timeDelta)
computeTransitions
in class StandardDiseaseModelImpl
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
org.eclipse.ohf.stem.diseasemodels.standard.impl.StandardDiseaseModelImpl#computeTransitions(org.eclipse.ohf.stem.diseasemodels.standard.StandardDiseaseModelLabelValue,
long, double, long)
public double getTransmissionRateScaleFactor(StandardDiseaseModelLabel diseaseLabel)
diseaseLabel
- the label being processed
public double computeAdditionalInfectious(Node node)
node
- the starting node
public DiseaseModelLabel createDiseaseModelLabel()
DiseaseModelImpl
createDiseaseModelLabel
in interface DiseaseModel
createDiseaseModelLabel
in class DiseaseModelImpl
DiseaseModelImpl.createDiseaseModelLabel()
public DiseaseModelLabelValue createDiseaseModelLabelValue()
DiseaseModelImpl
createDiseaseModelLabelValue
in interface DiseaseModel
createDiseaseModelLabelValue
in class DiseaseModelImpl
public DiseaseModelState createDiseaseModelState()
DiseaseModelImpl
createDiseaseModelState
in interface DiseaseModel
createDiseaseModelState
in class DiseaseModelImpl
DiseaseModelImpl.createDiseaseModelState()
public Infector createInfector()
DiseaseModelImpl
createInfector
in interface DiseaseModel
createInfector
in class DiseaseModelImpl
DiseaseModelImpl.createInfector()
public double getInfectiousMortality()
getInfectiousMortality
in interface SI
public void setInfectiousMortality(double newInfectiousMortality)
setInfectiousMortality
in interface SI
newInfectiousMortality
- SI.getInfectiousMortality()
public double getTransmissionRate()
getTransmissionRate
in interface SI
public void setTransmissionRate(double newTransmissionRate)
setTransmissionRate
in interface SI
newTransmissionRate
- SI.getTransmissionRate()
public double getRecoveryRate()
getRecoveryRate
in interface SI
public void setRecoveryRate(double newRecoveryRate)
setRecoveryRate
in interface SI
newRecoveryRate
- SI.getRecoveryRate()
public double getInfectiousMortalityRate()
getInfectiousMortalityRate
in interface SI
SI.getInfectiousMortality()
,
DiseaseModel.getBackgroundMortalityRate()
public void setInfectiousMortalityRate(double newInfectiousMortalityRate)
setInfectiousMortalityRate
in interface SI
newInfectiousMortalityRate
- the new value of the 'Infectious Mortality Rate'
attribute.SI.getInfectiousMortalityRate()
public double getPhysicallyAdjacentInfectiousProportion()
getPhysicallyAdjacentInfectiousProportion
in interface SI
Node
s that contribute to the effective
infectious population at the current Node
.public void setPhysicallyAdjacentInfectiousProportion(double newPhysicallyAdjacentInfectiousProportion)
setPhysicallyAdjacentInfectiousProportion
in interface SI
newPhysicallyAdjacentInfectiousProportion
- the new value of the 'Physically Adjacent Infectious Proportion'
attribute.SI.getPhysicallyAdjacentInfectiousProportion()
public double getAdjustedInfectiousMortalityRate(long timeDelta)
getAdjustedInfectiousMortalityRate
in interface SI
timeDelta
- the time period (milliseconds) to which the rate is to be
adjusted.
public double getNonLinearityCoefficient()
getNonLinearityCoefficient
in interface SI
public void setNonLinearityCoefficient(double newNonLinearityCoefficient)
setNonLinearityCoefficient
in interface SI
newNonLinearityCoefficient
- SI.getNonLinearityCoefficient()
public double getAdjustedTransmissionRate(long timeDelta)
getAdjustedTransmissionRate
in interface SI
timeDelta
-
public double getAdjustedRecoveryRate(long timeDelta)
getAdjustedRecoveryRate
in interface SI
timeDelta
-
public double getPhysicallyAdjacentInfectious(Node node)
getPhysicallyAdjacentInfectious
in interface SI
Node
s
that share a CommonBorderRelationshipLabel
with this
Node
.public java.lang.Object eGet(int featureID, boolean resolve, boolean coreType)
eGet
in interface org.eclipse.emf.ecore.InternalEObject
eGet
in class StandardDiseaseModelImpl
featureID
- resolve
- coreType
-
public void eSet(int featureID, java.lang.Object newValue)
eSet
in interface org.eclipse.emf.ecore.InternalEObject
eSet
in class StandardDiseaseModelImpl
featureID
- newValue
- public void eUnset(int featureID)
eUnset
in interface org.eclipse.emf.ecore.InternalEObject
eUnset
in class StandardDiseaseModelImpl
featureID
- public boolean eIsSet(int featureID)
eIsSet
in interface org.eclipse.emf.ecore.InternalEObject
eIsSet
in class StandardDiseaseModelImpl
featureID
-
public java.lang.String toString()
toString
in class StandardDiseaseModelImpl
public boolean sane()
IdentifiableImpl
sane
in interface Identifiable
sane
in interface SanityChecker
sane
in class StandardDiseaseModelImpl
StandardDiseaseModelImpl.sane()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |