org.eclipse.ohf.stem.diseasemodels.standard.impl
Class DeterministicSIRDiseaseModelImpl

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.BasicNotifierImpl
      extended by org.eclipse.emf.ecore.impl.BasicEObjectImpl
          extended by org.eclipse.emf.ecore.impl.EObjectImpl
              extended by org.eclipse.ohf.stem.core.common.impl.IdentifiableImpl
                  extended by org.eclipse.ohf.stem.core.model.impl.DecoratorImpl
                      extended by org.eclipse.ohf.stem.core.model.impl.NodeDecoratorImpl
                          extended by org.eclipse.ohf.stem.diseasemodels.standard.impl.DiseaseModelImpl
                              extended by org.eclipse.ohf.stem.diseasemodels.standard.impl.StandardDiseaseModelImpl
                                  extended by org.eclipse.ohf.stem.diseasemodels.standard.impl.SIImpl
                                      extended by org.eclipse.ohf.stem.diseasemodels.standard.impl.SIRImpl
                                          extended by org.eclipse.ohf.stem.diseasemodels.standard.impl.DeterministicSIRDiseaseModelImpl
All Implemented Interfaces:
org.eclipse.emf.common.notify.Notifier, org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecore.InternalEObject, Identifiable, SanityChecker, Decorator, NodeDecorator, DeterministicSIRDiseaseModel, DiseaseModel, SI, SIR, StandardDiseaseModel

public class DeterministicSIRDiseaseModelImpl
extends SIRImpl
implements DeterministicSIRDiseaseModel

An implementation of the model object 'Deterministic SIR Disease Model'.


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.DeterministicSIRDiseaseModel
URI_TYPE_DETERMINISTIC_SIR_DISEASE_MODEL_SEGMENT
 
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
 
Constructor Summary
DeterministicSIRDiseaseModelImpl()
          The constructor needs to be public so that the new disease wizard can create an instance of the class without using the factory.
 
Method Summary
static DeterministicSIRDiseaseModel createDeterministicSIRDiseaseModel(java.lang.String diseaseModelName, double backgroundMortalityRate, double infectiousMortality, double infectiousMortalityRate, double transmissionRate, double recoveryRate, double immunityLossRate, double nonLinearityCoefficient, long timePeriod, java.lang.String populationIdentifier)
           
 
Methods inherited from class org.eclipse.ohf.stem.diseasemodels.standard.impl.SIRImpl
computeDeaths, computeTransitions, createDiseaseModelLabel, createDiseaseModelLabelValue, eGet, eIsSet, eSet, eUnset, getAdjustedImmunityLossRate, getImmunityLossRate, sane, setImmunityLossRate, toString
 
Methods inherited from class org.eclipse.ohf.stem.diseasemodels.standard.impl.SIImpl
computeAdditionalInfectious, createDiseaseModelState, createInfector, getAdjustedInfectiousMortalityRate, getAdjustedRecoveryRate, getAdjustedTransmissionRate, getInfectiousMortality, getInfectiousMortalityRate, getNonLinearityCoefficient, getPhysicallyAdjacentInfectious, getPhysicallyAdjacentInfectiousProportion, getRecoveryRate, getTransmissionRate, getTransmissionRateScaleFactor, setInfectiousMortality, setInfectiousMortalityRate, setNonLinearityCoefficient, setPhysicallyAdjacentInfectiousProportion, setRecoveryRate, setTransmissionRate
 
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.SIR
getAdjustedImmunityLossRate, getImmunityLossRate, setImmunityLossRate
 
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
createDiseaseModelLabel, createDiseaseModelLabelValue, 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, sane, 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
 

Constructor Detail

DeterministicSIRDiseaseModelImpl

public DeterministicSIRDiseaseModelImpl()
The constructor needs to be public so that the new disease wizard can create an instance of the class without using the factory.

Method Detail

createDeterministicSIRDiseaseModel

public static final DeterministicSIRDiseaseModel createDeterministicSIRDiseaseModel(java.lang.String diseaseModelName,
                                                                                    double backgroundMortalityRate,
                                                                                    double infectiousMortality,
                                                                                    double infectiousMortalityRate,
                                                                                    double transmissionRate,
                                                                                    double recoveryRate,
                                                                                    double immunityLossRate,
                                                                                    double nonLinearityCoefficient,
                                                                                    long timePeriod,
                                                                                    java.lang.String populationIdentifier)
Parameters:
diseaseModelName - the name of the disease model
backgroundMortalityRate -
infectiousMortality -
infectiousMortalityRate - the rate at which fatally infectious population members die
transmissionRate -
recoveryRate -
immunityLossRate -
nonLinearityCoefficient -
timePeriod - the time period for the rates (milliseconds)
populationIdentifier - the identifier of the population affected by the disease
Returns:
an initialized instance of DeterministicSIRDiseaseModel