Extension PlugIn class

posted Oct 23, 2014, 3:02 PM by Lesley Bross   [ updated Oct 23, 2014, 3:53 PM ]
Extends Landis.Core.ExtensionMain
LoadParameters() method: Loads parameters for the extension from a data file
Initialize() method: Initializes the extension with a data file
InitializePhase2() method: optional
Run(): executes logic for extension 

Uses classes below written for each extension:
  • SiteVars class: SiteVars.Initialize() sets up the structure for the SiteVars and populates some of them
  • InputParametersParser class: reads parameters from a text file; May contain validation