public class REpiceaClimateChangeTrend
extends java.util.ArrayList<repicea.simulation.climate.REpiceaClimateChangeTrendSegment>
Constructor and Description |
---|
REpiceaClimateChangeTrend() |
Modifier and Type | Method and Description |
---|---|
void |
addSegment(int startDateYr,
int endDateYr,
REpiceaClimateVariableChangeMap changeMap) |
double |
getAverageChangeOverThisPeriod(int referenceDateYr,
int startDateYr,
int endDateYr,
REpiceaClimateVariableMap.ClimateVariable variable)
Return the average change over a particular time interval with respect to a reference date.
|
double |
getChangeFromTo(int startDateYr,
int endDateYr,
REpiceaClimateVariableMap.ClimateVariable variable)
Provides the change in the variable between the start and the end dates.
|
int |
getEndDateYr()
Returns the last end date of the trend.
|
int |
getStartDateYr()
Returns the start date of the trend.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public void addSegment(int startDateYr, int endDateYr, REpiceaClimateVariableChangeMap changeMap)
public int getEndDateYr()
public int getStartDateYr()
public double getChangeFromTo(int startDateYr, int endDateYr, REpiceaClimateVariableMap.ClimateVariable variable)
startDateYr
- endDateYr
- variable
- a ClimateVariable enumpublic double getAverageChangeOverThisPeriod(int referenceDateYr, int startDateYr, int endDateYr, REpiceaClimateVariableMap.ClimateVariable variable)
referenceDateYr
- startDateYr
- endDateYr
- variable
- a ClimateVariable enum