SSF.App.Worm
Class WormEpidemic

java.lang.Object
  |
  +--SSF.App.Worm.WormEpidemic
Direct Known Subclasses:
DeterministicWormEpidemic, StochasticWormEpidemic

public abstract class WormEpidemic
extends java.lang.Object

Worm Epidemiological model for one AS. Abstract base class for implementations of the epidemic model.


Field Summary
 float Beta
          'Overall' infection parameter.
 float[] BetaJ
          Cross-strata infection parameters.
 boolean DEBUG
          Debug flag.
 WormEpidemicInitializer initializer
          Initializer code.
 float iTot
          Total infected hosts.
 float rTot
          Total recovered hosts.
 float sTot
          Total susceptible hosts.
 
Constructor Summary
WormEpidemic()
           
 
Method Summary
 void init()
          Initialize epidemic model.
abstract  void output()
          Output state at current timestep.
abstract  void update()
          One timestep.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Beta

public float Beta
'Overall' infection parameter.


sTot

public float sTot
Total susceptible hosts.


iTot

public float iTot
Total infected hosts.


rTot

public float rTot
Total recovered hosts.


BetaJ

public float[] BetaJ
Cross-strata infection parameters.


initializer

public WormEpidemicInitializer initializer
Initializer code. (Strategy pattern)


DEBUG

public boolean DEBUG
Debug flag.

Constructor Detail

WormEpidemic

public WormEpidemic()
Method Detail

init

public void init()
Initialize epidemic model.


update

public abstract void update()
One timestep.


output

public abstract void output()
Output state at current timestep.