C# Класс Landis.Extension.BiomassHarvest.ParametersParser

A parser that reads the extension's parameters from text input.
Наследование: Landis.Harvest.ParametersParser
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
namesThatFollowForestType List

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
ParametersParser ( ) : Edu.Wisc.Forest.Flel.Util

Описание методов

AgeOrRangeWasRead() публичный статический Метод

public static AgeOrRangeWasRead ( AgeRange ageRange, Edu.Wisc.Forest.Flel.Util.Percentage percentage ) : void
ageRange Landis.Harvest.AgeRange
percentage Edu.Wisc.Forest.Flel.Util.Percentage
Результат void

CreateCohortCutter() защищенный Метод

protected CreateCohortCutter ( ICohortSelector cohortSelector ) : ICohortCutter
cohortSelector ICohortSelector
Результат ICohortCutter

CreateCohortSelectionMethodFor() защищенный Метод

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
Результат void

CreateEmptyParameters() защищенный Метод

protected CreateEmptyParameters ( ) : Landis.Library.HarvestManagement.InputParameters
Результат Landis.Library.HarvestManagement.InputParameters

ParametersParser() публичный Метод

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. ///
Результат Edu.Wisc.Forest.Flel.Util

ParametersParser() публичный Метод

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. ///
Результат Edu.Wisc.Forest.Flel.Util

Parse() защищенный Метод

protected Parse ( ) : Landis.Extension.BaseHarvest.IInputParameters
Результат Landis.Extension.BaseHarvest.IInputParameters

Parse() защищенный Метод

protected Parse ( ) : Landis.Harvest.IParameters
Результат Landis.Harvest.IParameters

ReadBiomassMaps() защищенный Метод

protected ReadBiomassMaps ( ) : void
Результат void

ReadForestTypeTable() защищенный Метод

protected ReadForestTypeTable ( IStandRankingMethod rankingMethod ) : void
rankingMethod IStandRankingMethod
Результат void

ReadPrescriptions() защищенный Метод

Reads 0 or more prescriptions from text input.
protected ReadPrescriptions ( List prescriptions, int harvestTimestep ) : void
prescriptions List
harvestTimestep int
Результат void

ReadSiteSelector() защищенный Метод

protected ReadSiteSelector ( ) : ISiteSelector
Результат ISiteSelector

ReadSiteSelector() защищенный Метод

protected ReadSiteSelector ( Edu.Wisc.Forest.Flel.Util.StringReader reader, int &index ) : InputValue
reader Edu.Wisc.Forest.Flel.Util.StringReader
index int
Результат InputValue

ReplaceSpecificAgeSelectors() защищенный Метод

protected ReplaceSpecificAgeSelectors ( ICohortSelector selector ) : MultiSpeciesCohortSelector
selector ICohortSelector
Результат Landis.Harvest.MultiSpeciesCohortSelector

ReplaceSpecificAgeSelectors() защищенный Метод

protected ReplaceSpecificAgeSelectors ( ICohortSelector selector ) : void
selector ICohortSelector
Результат void

WrapSiteSelector() защищенный Метод

protected WrapSiteSelector ( ISiteSelector siteSelector ) : ISiteSelector
siteSelector ISiteSelector
Результат ISiteSelector

Описание свойств

namesThatFollowForestType защищенное статическое свойство

protected static List namesThatFollowForestType
Результат List