org.eclipse.ohf.stem.diseasemodels.standard
Interface DiseaseModelState

All Superinterfaces:
org.eclipse.emf.ecore.EObject, org.eclipse.emf.common.notify.Notifier, SanityChecker
All Known Subinterfaces:
AggregatingDiseaseModelState, SIDiseaseModelState, StandardDiseaseModelState
All Known Implementing Classes:
AggregatingDiseaseModelStateImpl, DiseaseModelStateImpl, SIDiseaseModelStateImpl, StandardDiseaseModelStateImpl

public interface DiseaseModelState
extends org.eclipse.emf.ecore.EObject, SanityChecker

This interface defines a class in an EMF model that contains state information for a STEM disease model's computations from one simulation cycle to another. The basic idea is that the disease model can store state information in an instance and attach it to a disease model label such that when it revisits the label to compute its value it can refer to the state information to as part of its computation. For instance, if the value of a label is dependent on the values of other labels, references to those labels could be "cached" in the state instance and not recomputed for each cycle.


Method Summary
 DiseaseModelLabel getLabel()
           
 void setLabel(DiseaseModelLabel value)
          Sets the value of the 'Label' container reference.
 
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.ohf.stem.core.common.SanityChecker
sane
 

Method Detail

getLabel

DiseaseModelLabel getLabel()
Returns:
the label associated with the state information

setLabel

void setLabel(DiseaseModelLabel value)
Sets the value of the 'Label' container reference.

Parameters:
value - the new value of the 'Label' container reference.
See Also:
getLabel()