C# Class Landis.Extension.BiomassHarvest.ParametersParser

A parser that reads the extension's parameters from text input.
Inheritance: Landis.Harvest.ParametersParser
Afficher le fichier Open project: LANDIS-II-Foundation/Extensions-Disturbance Class Usage Examples

Protected Properties

Свойство Type Description
namesThatFollowForestType List

Méthodes publiques

Méthode Description
AgeOrRangeWasRead ( AgeRange ageRange, Edu.Wisc.Forest.Flel.Util.Percentage percentage ) : void
ParametersParser ( ISpeciesDataset speciesDataset ) : Edu.Wisc.Forest.Flel.Util

Initializes a new instance.

ParametersParser ( Landis.Species.Species speciesDataset, int scenarioStart, int scenarioEnd ) : Edu.Wisc.Forest.Flel.Util

Initializes a new instance.

Méthodes protégées

Méthode Description
CreateCohortCutter ( ICohortSelector cohortSelector ) : ICohortCutter
CreateCohortSelectionMethodFor ( ISpecies species, IList ages, IList ranges ) : void

Creates a cohort selection method for a specific set of ages and age ranges.

This overrides the base method so it can use the PartialThinning class to handle cohort selections with percentages.

CreateEmptyParameters ( ) : Landis.Library.HarvestManagement.InputParameters
Parse ( ) : Landis.Extension.BaseHarvest.IInputParameters
Parse ( ) : Landis.Harvest.IParameters
ReadBiomassMaps ( ) : void
ReadForestTypeTable ( IStandRankingMethod rankingMethod ) : void
ReadPrescriptions ( List prescriptions, int harvestTimestep ) : void

Reads 0 or more prescriptions from text input.

ReadSiteSelector ( ) : ISiteSelector
ReadSiteSelector ( Edu.Wisc.Forest.Flel.Util.StringReader reader, int &index ) : InputValue
ReplaceSpecificAgeSelectors ( ICohortSelector selector ) : MultiSpeciesCohortSelector
ReplaceSpecificAgeSelectors ( ICohortSelector selector ) : void
WrapSiteSelector ( ISiteSelector siteSelector ) : ISiteSelector

Private Methods

Méthode Description
ParametersParser ( ) : Edu.Wisc.Forest.Flel.Util

Method Details

AgeOrRangeWasRead() public static méthode

public static AgeOrRangeWasRead ( AgeRange ageRange, Edu.Wisc.Forest.Flel.Util.Percentage percentage ) : void
ageRange Landis.Harvest.AgeRange
percentage Edu.Wisc.Forest.Flel.Util.Percentage
Résultat void

CreateCohortCutter() protected méthode

protected CreateCohortCutter ( ICohortSelector cohortSelector ) : ICohortCutter
cohortSelector ICohortSelector
Résultat ICohortCutter

CreateCohortSelectionMethodFor() protected méthode

Creates a cohort selection method for a specific set of ages and age ranges.
This overrides the base method so it can use the PartialThinning class to handle cohort selections with percentages.
protected CreateCohortSelectionMethodFor ( ISpecies species, IList ages, IList ranges ) : void
species ISpecies
ages IList
ranges IList
Résultat void

CreateEmptyParameters() protected méthode

protected CreateEmptyParameters ( ) : Landis.Library.HarvestManagement.InputParameters
Résultat Landis.Library.HarvestManagement.InputParameters

ParametersParser() public méthode

Initializes a new instance.
public ParametersParser ( ISpeciesDataset speciesDataset ) : Edu.Wisc.Forest.Flel.Util
speciesDataset ISpeciesDataset /// The dataset of species to look up species' names in. Important note: the base harvest /// speciesDataset must be overwritten with the HarvestSpeciesDataset. Methods within base harvest /// will set the MostRecentlyFetchedSpecies parameter when they are reading in species names /// from a list of cohorts to be removed. The value of MostRecentlyFetchedSpecies is not set within /// biomass harvest. ///
Résultat Edu.Wisc.Forest.Flel.Util

ParametersParser() public méthode

Initializes a new instance.
public ParametersParser ( Landis.Species.Species speciesDataset, int scenarioStart, int scenarioEnd ) : Edu.Wisc.Forest.Flel.Util
speciesDataset Landis.Species.Species /// The dataset of species to look up species' names in. ///
scenarioStart int /// The year that the model scenario starts. ///
scenarioEnd int /// The year that the model scenario ends. ///
Résultat Edu.Wisc.Forest.Flel.Util

Parse() protected méthode

protected Parse ( ) : Landis.Extension.BaseHarvest.IInputParameters
Résultat Landis.Extension.BaseHarvest.IInputParameters

Parse() protected méthode

protected Parse ( ) : Landis.Harvest.IParameters
Résultat Landis.Harvest.IParameters

ReadBiomassMaps() protected méthode

protected ReadBiomassMaps ( ) : void
Résultat void

ReadForestTypeTable() protected méthode

protected ReadForestTypeTable ( IStandRankingMethod rankingMethod ) : void
rankingMethod IStandRankingMethod
Résultat void

ReadPrescriptions() protected méthode

Reads 0 or more prescriptions from text input.
protected ReadPrescriptions ( List prescriptions, int harvestTimestep ) : void
prescriptions List
harvestTimestep int
Résultat void

ReadSiteSelector() protected méthode

protected ReadSiteSelector ( ) : ISiteSelector
Résultat ISiteSelector

ReadSiteSelector() protected méthode

protected ReadSiteSelector ( Edu.Wisc.Forest.Flel.Util.StringReader reader, int &index ) : InputValue
reader Edu.Wisc.Forest.Flel.Util.StringReader
index int
Résultat InputValue

ReplaceSpecificAgeSelectors() protected méthode

protected ReplaceSpecificAgeSelectors ( ICohortSelector selector ) : MultiSpeciesCohortSelector
selector ICohortSelector
Résultat Landis.Harvest.MultiSpeciesCohortSelector

ReplaceSpecificAgeSelectors() protected méthode

protected ReplaceSpecificAgeSelectors ( ICohortSelector selector ) : void
selector ICohortSelector
Résultat void

WrapSiteSelector() protected méthode

protected WrapSiteSelector ( ISiteSelector siteSelector ) : ISiteSelector
siteSelector ISiteSelector
Résultat ISiteSelector

Property Details

namesThatFollowForestType protected_oe static_oe property

protected static List namesThatFollowForestType
Résultat List