C# Class Landis.Extension.BudwormBDA.PlugIn

A disturbance plug-in that simulates Biological Agents.
Inheritance: Landis.Core.ExtensionMain
Datei anzeigen Open project: LANDIS-II-Foundation/Extensions-Disturbance

Public Properties

Property Type Description
ExtensionName string
Type Landis.Core.ExtensionType

Public Methods

Method Description
Initialize ( ) : void

Initializes the extension with a data file.

InitializePhase2 ( ) : void
LoadParameters ( string dataFile, ICore mCore ) : void
PlugIn ( ) : Landis.Core
Run ( ) : void

Run the BDA extension at a particular timestep.

Private Methods

Method Description
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, IAgent agent ) : 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 ( ) : void
return void

InitializePhase2() public method

public InitializePhase2 ( ) : void
return void

LoadParameters() public method

public LoadParameters ( string dataFile, ICore mCore ) : void
dataFile string
mCore ICore
return void

PlugIn() public method

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

Run() public method

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

Property Details

ExtensionName public_oe static_oe property

public static string ExtensionName
return string

Type public_oe static_oe property

public static ExtensionType,Landis.Core Type
return Landis.Core.ExtensionType