C# 클래스 Landis.BDA.Epicenters

파일 보기 프로젝트 열기: LANDIS-II-Foundation/Extensions-Disturbance 1 사용 예제들

공개 메소드들

메소드 설명
DistanceBetweenSites ( Landis.Landscape.Site a, Landis.Landscape.Site b ) : double

Calculate the distance between two Sites

NewEpicenters ( IAgent agent, int BDAtimestep ) : void

First, determine if new epicenter list required. If so, create the list. If not, create epicenter list from OUTSIDE of previous outbreak zones (only if User specified SeedEpicenter) If not, create epicenter list from INSIDE previous outbreak zones. The final epicenter list then spreads to neighboring areas of the landscape - see SpreadEpicenters()

비공개 메소드들

메소드 설명
SpreadEpicenters ( IAgent agent, List iSites, int BDAtimestep ) : void

Spread from Epicenters to outbreak zone using either a fixed radius method or a percolation method with variable neighborhood sizes.

메소드 상세

DistanceBetweenSites() 공개 정적인 메소드

Calculate the distance between two Sites
public static DistanceBetweenSites ( Landis.Landscape.Site a, Landis.Landscape.Site b ) : double
a Landis.Landscape.Site
b Landis.Landscape.Site
리턴 double

NewEpicenters() 공개 정적인 메소드

First, determine if new epicenter list required. If so, create the list. If not, create epicenter list from OUTSIDE of previous outbreak zones (only if User specified SeedEpicenter) If not, create epicenter list from INSIDE previous outbreak zones. The final epicenter list then spreads to neighboring areas of the landscape - see SpreadEpicenters()
public static NewEpicenters ( IAgent agent, int BDAtimestep ) : void
agent IAgent
BDAtimestep int
리턴 void