C# Class Landis.BDA.PlugIn

A disturbance plug-in that simulates Biological Agents.
Inheritance: PlugIns.PlugIn, PlugIns.I2PhaseInitialization
Datei anzeigen Open project: LANDIS-II-Foundation/Extensions-Disturbance

Public Properties

Property Type Description
Type Landis.PlugIns.PlugInType

Public Methods

Method Description
Initialize ( string dataFile, PlugIns modelCore ) : void

Initializes the extension with a data file.

InitializePhase2 ( ) : void
PlugIn ( ) : Landis.AgeCohort
Run ( ) : void

Run the BDA extension at a particular timestep.

Private Methods

Method Description
CreateMap ( int currentTime, string agentName ) : IOutputRaster
CreateNRDMap ( int currentTime, string agentName ) : IOutputRaster
CreateSRDMap ( int currentTime, string agentName ) : IOutputRaster
DistanceFromCenter ( double row, double column ) : double
GetDispersalNeighborhood ( IAgent agent, int timestep ) : IEnumerable
GetNeighbors ( int numNeighbors ) : List
GetResourceNeighborhood ( IAgent agent ) : IEnumerable
LogEvent ( int currentTime, Epidemic CurrentEvent, int ROS ) : void
RegionalOutbreakStatus ( IAgent activeAgent, int BDAtimestep ) : int
TimeToNext ( IAgent activeAgent, int Timestep ) : int

Method Details

Initialize() public method

Initializes the extension with a data file.
public Initialize ( string dataFile, PlugIns modelCore ) : void
dataFile string
modelCore PlugIns
return void

InitializePhase2() public method

public InitializePhase2 ( ) : void
return void

PlugIn() public method

public PlugIn ( ) : Landis.AgeCohort
return Landis.AgeCohort

Run() public method

Run the BDA extension at a particular timestep.
public Run ( ) : void
return void

Property Details

Type public_oe static_oe property

public static PlugInType,Landis.PlugIns Type
return Landis.PlugIns.PlugInType