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

A site-selection method that spreads to neighboring stands based on their rankings.
Показать файл Открыть проект Примеры использования класса

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

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

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

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

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

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

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

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

Gets the ranking for an unharvested stand from among the whole set of stand rankings.
public GetRanking ( Stand stand ) : StandRanking
stand Stand
Результат StandRanking

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

protected StandSpreading ( ) : Edu.Wisc.Forest.Flel.Util
Результат Edu.Wisc.Forest.Flel.Util

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

public static ValidateTargetSize ( InputValue targetSize ) : void
targetSize InputValue
Результат void

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

public static ValidateTargetSizes ( InputValue minTargetSize, InputValue maxTargetSize ) : void
minTargetSize InputValue
maxTargetSize InputValue
Результат void