/
Parameters.cs
81 lines (70 loc) · 2.93 KB
/
Parameters.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
using Edu.Wisc.Forest.Flel.Util;
using Landis.Succession;
using System.Collections.Generic;
namespace Landis.Biomass.Succession
{
/// <summary>
/// The parameters for biomass succession.
/// </summary>
public class Parameters
: ClimateChange.Parameters, IParameters
{
private int timestep;
private SeedingAlgorithms seedAlg;
private string ageOnlyDisturbanceParms;
private List<ClimateChange.ParametersUpdate> climateChangeUpdates;
//---------------------------------------------------------------------
public int Timestep
{
get {
return timestep;
}
}
//---------------------------------------------------------------------
public SeedingAlgorithms SeedAlgorithm
{
get {
return seedAlg;
}
}
//---------------------------------------------------------------------
public string AgeOnlyDisturbanceParms
{
get {
return ageOnlyDisturbanceParms;
}
}
//---------------------------------------------------------------------
public List<ClimateChange.ParametersUpdate> ClimateChangeUpdates
{
get {
return climateChangeUpdates;
}
}
//---------------------------------------------------------------------
public Parameters(int timestep,
SeedingAlgorithms seedAlgorithm,
Ecoregions.AuxParm<Percentage>[] minRelativeBiomass,
Species.AuxParm<double> leafLongevity,
Species.AuxParm<double> woodyDecayRate,
Species.AuxParm<double> mortCurveShapeParm,
Species.AuxParm<Ecoregions.AuxParm<double>> establishProbability,
Species.AuxParm<Ecoregions.AuxParm<int>> maxANPP,
Species.AuxParm<Ecoregions.AuxParm<double>> leafLitterDecayRate,
string ageOnlyDisturbanceParms,
List<ClimateChange.ParametersUpdate> climateChangeUpdates)
: base(minRelativeBiomass,
leafLongevity,
woodyDecayRate,
mortCurveShapeParm,
establishProbability,
maxANPP,
leafLitterDecayRate)
{
this.timestep = timestep;
this.seedAlg = seedAlgorithm;
this.ageOnlyDisturbanceParms = ageOnlyDisturbanceParms;
this.climateChangeUpdates = climateChangeUpdates;
}
}
}