C# Class Landis.Extension.BaseHarvest.AppliedPrescription

The application of a prescription to a management area.
Afficher le fichier Open project: LANDIS-II-Foundation/Extensions-Disturbance

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
RankOfZero ( StandRanking rank ) : bool

Method Details

AppliedPrescription() public méthode

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
Résultat Edu.Wisc.Forest.Flel.Util

AppliedPrescription() public méthode

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
Résultat Edu.Wisc.Forest.Flel.Util

CompareRankings() public static méthode

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
Résultat int

FinishInitialization() public méthode

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. ///
Résultat void

HarvestHighestRankedStand() public méthode

Harvests the highest-ranked stand which hasn't been harvested yet during the current timestep.
public HarvestHighestRankedStand ( ) : void
Résultat void

InitializeForHarvest() public méthode

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
Résultat void