C# Class Landis.Extension.BaseHarvest.EveryNthCohort

Selects every Nth cohort among a species' cohorts for harvesting.
The cohorts are traversed from youngest to oldest.
Show file Open project: LANDIS-II-Foundation/Extensions-Disturbance

Public Methods

Method Description
EveryNthCohort ( int N ) : Landis.Library.AgeOnlyCohorts
SelectCohorts ( ISpeciesCohorts cohorts, ISpeciesCohortBoolArray isHarvested ) : void

Selects which of a species' cohorts are harvested.

Method Details

EveryNthCohort() public method

public EveryNthCohort ( int N ) : Landis.Library.AgeOnlyCohorts
N int
return Landis.Library.AgeOnlyCohorts

SelectCohorts() public method

Selects which of a species' cohorts are harvested.
public SelectCohorts ( ISpeciesCohorts cohorts, ISpeciesCohortBoolArray isHarvested ) : void
cohorts ISpeciesCohorts
isHarvested ISpeciesCohortBoolArray
return void