public class MathildeClimatePredictor extends REpiceaPredictor implements REpiceaClimateChangeGenerator<MathildeClimatePlot>
REpiceaPredictor.CruiseLine, REpiceaPredictor.ErrorTermGroup, REpiceaPredictor.IntervalNestedInPlotDefinition
REpiceaClimateGenerator.RepresentativeConcentrationPathway
DefaultZeroIndex, isRandomEffectsVariabilityEnabled, isResidualVariabilityEnabled, listeners, oXVector
isParametersVariabilityEnabled
Modifier | Constructor and Description |
---|---|
|
MathildeClimatePredictor(boolean isVariabilityEnabled) |
protected |
MathildeClimatePredictor(boolean isParameterVariabilityEnabled,
boolean isRandomEffectVariabilityEnabled,
boolean isResidualVariabilityEnabled) |
Modifier and Type | Method and Description |
---|---|
protected Estimate<? extends StandardGaussianDistribution> |
getBlupsForThisSubject(MonteCarloSimulationCompliantObject subject)
This method returns the blups for the subject or nothing if there is no blups for this subject
|
REpiceaClimateChangeTrend |
getClimateTrendForThisStand(MonteCarloSimulationCompliantObject plot)
Returns Map of the annual changes for the different climate variable for a MonteCarloSimulationCompliantObject
instance, typically a plot.
|
REpiceaClimateVariableMap |
getClimateVariables(MathildeClimatePlot plot)
Returns a map of climate variables depending on the geographical coordinates of the plot.
|
protected double |
getFixedEffectPrediction(MathildeClimatePlot plot,
Matrix currentBeta,
Matrix rcpModifiedBeta) |
protected Matrix |
getRandomEffects(MonteCarloSimulationCompliantObject subject) |
protected static java.util.List<MathildeClimatePlot> |
getReferenceStands()
This method returns a copy of static member referenceStands.
|
protected void |
init()
This method reads all the parameters in .csv files and stores the estimates into members defaultBeta, defaultResidualError,
and defaultRandomEffects.
|
void |
setRepresentativeConcentrationPathway(REpiceaClimateGenerator.RepresentativeConcentrationPathway rcp)
Sets the Representative Concentration Pathway rcp for the climate generator.
|
protected Matrix |
simulateDeviatesForRandomEffectsOfThisSubject(MonteCarloSimulationCompliantObject subject,
Estimate<?> randomEffectsEstimate)
This method simulates random deviates from an estimate and stores them in the simulatedRandomEffects
member.
|
addModelBasedSimulatorListener, doBlupsExistForThisSubject, doesThisSubjectHaveResidualErrorTerm, doRandomDeviatesExistForThisSubject, fireModelBasedSimulatorEvent, fireRandomEffectDeviateGeneratedEvent, getCruiseLineForThisSubject, getDefaultRandomEffects, getDefaultRandomEffects, getDefaultResidualError, getGaussianErrorTerms, getIntervalNestedInPlotDefinition, getParametersForThisRealization, getRandomEffectsForThisSubject, getResidualError, getResidualErrorForThisSubject, getSubjectPlusMonteCarloSpecificId, getSubjectPlusMonteCarloSpecificId, hasSubjectBeenTestedForBlups, recordSubjectTestedForBlups, removeModelBasedSimulatorListener, setBlupsForThisSubject, setDefaultRandomEffects, setDefaultResidualError, setDeviatesForRandomEffectsOfThisSubject, setParameterEstimates
getParameterEstimates
public MathildeClimatePredictor(boolean isVariabilityEnabled)
protected MathildeClimatePredictor(boolean isParameterVariabilityEnabled, boolean isRandomEffectVariabilityEnabled, boolean isResidualVariabilityEnabled)
public void setRepresentativeConcentrationPathway(REpiceaClimateGenerator.RepresentativeConcentrationPathway rcp)
rcp
- an RepresentativeConcentrationPathway enumprotected final void init()
REpiceaPredictor
init
in class REpiceaPredictor
protected static java.util.List<MathildeClimatePlot> getReferenceStands()
protected final double getFixedEffectPrediction(MathildeClimatePlot plot, Matrix currentBeta, Matrix rcpModifiedBeta)
protected Matrix simulateDeviatesForRandomEffectsOfThisSubject(MonteCarloSimulationCompliantObject subject, Estimate<?> randomEffectsEstimate)
REpiceaPredictor
simulateDeviatesForRandomEffectsOfThisSubject
in class REpiceaPredictor
subject
- a MonteCarloSimulationCompliantObject instancerandomEffectsEstimate
- the estimate from which the random deviates are generatedprotected Estimate<? extends StandardGaussianDistribution> getBlupsForThisSubject(MonteCarloSimulationCompliantObject subject)
REpiceaPredictor
getBlupsForThisSubject
in class REpiceaPredictor
subject
- a MonteCarloSimulationCompliantObject instanceprotected final Matrix getRandomEffects(MonteCarloSimulationCompliantObject subject)
public REpiceaClimateVariableMap getClimateVariables(MathildeClimatePlot plot)
REpiceaClimateGenerator
getClimateVariables
in interface REpiceaClimateGenerator<MathildeClimatePlot>
plot
- a GeographicalCoordinatesProvider instancepublic REpiceaClimateChangeTrend getClimateTrendForThisStand(MonteCarloSimulationCompliantObject plot)
REpiceaClimateChangeGenerator
getClimateTrendForThisStand
in interface REpiceaClimateChangeGenerator<MathildeClimatePlot>
plot
- a MonteCarloSimulationCompliantObject instance