C# Class Landis.Harvest.StandSpreading

A site-selection method that spreads to neighboring stands based on their rankings.
Afficher le fichier Open project: LANDIS-II-Foundation/Extensions-Disturbance Class Usage Examples

Méthodes publiques

Méthode Description
AddUnharvestedNeighbors ( Stand stand, List neighborRankings ) : void

Adds a stand's unharvested neighbors and their rankings to a sorted list of stand rankings.

The stand rankings are in highest to lowest order. A neighbor is only added to the list if its rank is > 0 and it isn't already in the list.

GetRanking ( Stand stand ) : StandRanking

Gets the ranking for an unharvested stand from among the whole set of stand rankings.

ValidateTargetSize ( InputValue targetSize ) : void
ValidateTargetSizes ( InputValue minTargetSize, InputValue maxTargetSize ) : void

Méthodes protégées

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

Method Details

AddUnharvestedNeighbors() public méthode

Adds a stand's unharvested neighbors and their rankings to a sorted list of stand rankings.
The stand rankings are in highest to lowest order. A neighbor is only added to the list if its rank is > 0 and it isn't already in the list.
public AddUnharvestedNeighbors ( Stand stand, List neighborRankings ) : void
stand Stand
neighborRankings List
Résultat void

GetRanking() public méthode

Gets the ranking for an unharvested stand from among the whole set of stand rankings.
public GetRanking ( Stand stand ) : StandRanking
stand Stand
Résultat StandRanking

StandSpreading() protected méthode

protected StandSpreading ( ) : Edu.Wisc.Forest.Flel.Util
Résultat Edu.Wisc.Forest.Flel.Util

ValidateTargetSize() public static méthode

public static ValidateTargetSize ( InputValue targetSize ) : void
targetSize InputValue
Résultat void

ValidateTargetSizes() public static méthode

public static ValidateTargetSizes ( InputValue minTargetSize, InputValue maxTargetSize ) : void
minTargetSize InputValue
maxTargetSize InputValue
Résultat void