C# Класс Landis.Extension.BaseHarvest.AppliedPrescription

The application of a prescription to a management area.
Показать файл Открыть проект

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

Метод Описание
AppliedPrescription ( Prescription prescription, Edu.Wisc.Forest.Flel.Util.Percentage percentageToHarvest, Edu.Wisc.Forest.Flel.Util.Percentage percentStandsToHarvest, int beginTime, int endTime ) : Edu.Wisc.Forest.Flel.Util
AppliedPrescription ( Prescription prescription, Edu.Wisc.Forest.Flel.Util.Percentage percentageToHarvest, int beginTime, int endTime ) : Edu.Wisc.Forest.Flel.Util
CompareRankings ( StandRanking x, StandRanking y ) : int

Compares two stand rankings such that the higher ranking comes before the lower ranking.

FinishInitialization ( int standCount, double area ) : void

Finish initializing the applied prescription after reading the stand map. Determine the area size to harvest.

HarvestHighestRankedStand ( ) : void

Harvests the highest-ranked stand which hasn't been harvested yet during the current timestep.

InitializeForHarvest ( List stands ) : void

Initializes the prescription for harvesting, which includes computing stand rankings.

AreaRemainingToHarvest is set to AreaToHarvest, AreaRemainingRatio is set to 1.0, and AreaHarvested is set to 0.0.

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

Метод Описание
RankOfZero ( StandRanking rank ) : bool

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

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

public AppliedPrescription ( Prescription prescription, Edu.Wisc.Forest.Flel.Util.Percentage percentageToHarvest, Edu.Wisc.Forest.Flel.Util.Percentage percentStandsToHarvest, int beginTime, int endTime ) : Edu.Wisc.Forest.Flel.Util
prescription Prescription
percentageToHarvest Edu.Wisc.Forest.Flel.Util.Percentage
percentStandsToHarvest Edu.Wisc.Forest.Flel.Util.Percentage
beginTime int
endTime int
Результат Edu.Wisc.Forest.Flel.Util

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

public AppliedPrescription ( Prescription prescription, Edu.Wisc.Forest.Flel.Util.Percentage percentageToHarvest, int beginTime, int endTime ) : Edu.Wisc.Forest.Flel.Util
prescription Prescription
percentageToHarvest Edu.Wisc.Forest.Flel.Util.Percentage
beginTime int
endTime int
Результат Edu.Wisc.Forest.Flel.Util

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

Compares two stand rankings such that the higher ranking comes before the lower ranking.
public static CompareRankings ( StandRanking x, StandRanking y ) : int
x StandRanking
y StandRanking
Результат int

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

Finish initializing the applied prescription after reading the stand map. Determine the area size to harvest.
public FinishInitialization ( int standCount, double area ) : void
standCount int /// The number of stands in the management area that the prescription /// is applied to. ///
area double /// The area count for which this prescription is to be applied. ///
Результат void

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

Harvests the highest-ranked stand which hasn't been harvested yet during the current timestep.
public HarvestHighestRankedStand ( ) : void
Результат void

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

Initializes the prescription for harvesting, which includes computing stand rankings.
AreaRemainingToHarvest is set to AreaToHarvest, AreaRemainingRatio is set to 1.0, and AreaHarvested is set to 0.0.
public InitializeForHarvest ( List stands ) : void
stands List
Результат void