C# Class Landis.Extension.Insects.PlugIn

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

Public Properties

Property Type Description
ExtType Landis.Core.ExtensionType
ExtensionName string
Type Landis.Core.ExtensionType
eventLog MetadataTable

Public Methods

Method Description
CohortKilledByAgeOnlyDisturbance ( object sender, Landis.Library.BiomassCohorts.DeathEventArgs eventArgs ) : void
Initialize ( ) : void

Initializes the extension with a data file.

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

Run the BDA extension at a particular timestep.

Private Methods

Method Description
DistanceFromCenter ( double row, double column ) : double
GetNeighborhood ( int neighborhoodDistance ) : IEnumerable
LogEvent ( int currentTime ) : void

Method Details

CohortKilledByAgeOnlyDisturbance() public method

public CohortKilledByAgeOnlyDisturbance ( object sender, Landis.Library.BiomassCohorts.DeathEventArgs eventArgs ) : void
sender object
eventArgs Landis.Library.BiomassCohorts.DeathEventArgs
return void

Initialize() public method

Initializes the extension with a data file.
public Initialize ( ) : 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

PlugIn() public method

public PlugIn ( ) : System
return System

Run() public method

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

Property Details

ExtType public static property

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

ExtensionName public static property

public static string ExtensionName
return string

Type public static property

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

eventLog public static property

public static MetadataTable eventLog
return MetadataTable