public final class MathildeDiameterIncrementPredictor extends REpiceaPredictor implements GrowthModel<MathildeDiameterIncrementStand,MathildeTree>, REpiceaPredictorListener
REpiceaPredictor.CruiseLine, REpiceaPredictor.ErrorTermGroup, REpiceaPredictor.IntervalNestedInPlotDefinition
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Integer,lerfob.predictor.mathilde.diameterincrement.MathildeDiameterIncrementSubModule> |
subModules |
DefaultZeroIndex, isRandomEffectsVariabilityEnabled, isResidualVariabilityEnabled, listeners, oXVector
isParametersVariabilityEnabled
Constructor and Description |
---|
MathildeDiameterIncrementPredictor(boolean isVariabilityEnabled)
The MathildeDiameterIncrementPredictor class implements the diameter increment model fitted with the
LERFoB database.
|
Modifier and Type | Method and Description |
---|---|
protected double |
getFixedEffectOnlyPrediction(MathildeDiameterIncrementStand stand,
MathildeTree tree) |
protected double |
getFixedEffectOnlyPrediction(Matrix currentBeta,
MathildeDiameterIncrementStand stand,
MathildeTree tree) |
protected void |
init()
This method reads all the parameters in .csv files and stores the estimates into members defaultBeta, defaultResidualError,
and defaultRandomEffects.
|
void |
modelBasedSimulatorDidThis(REpiceaPredictorEvent event) |
double |
predictGrowth(MathildeDiameterIncrementStand stand,
MathildeTree tree,
java.lang.Object... parms)
This method returns the growth of a particular tree represented by the parameter
"tree".
|
protected GaussianEstimate |
setRandomEffectsAccordingToHeightDeviate(Estimate<? extends StandardGaussianDistribution> heightRandomEffect,
Estimate<? extends StandardGaussianDistribution> diamIncRandomEffect,
Matrix blupMean) |
addModelBasedSimulatorListener, doBlupsExistForThisSubject, doesThisSubjectHaveResidualErrorTerm, doRandomDeviatesExistForThisSubject, fireModelBasedSimulatorEvent, fireRandomEffectDeviateGeneratedEvent, getBlupsForThisSubject, getCruiseLineForThisSubject, getDefaultRandomEffects, getDefaultRandomEffects, getDefaultResidualError, getGaussianErrorTerms, getIntervalNestedInPlotDefinition, getParametersForThisRealization, getRandomEffectsForThisSubject, getResidualError, getResidualErrorForThisSubject, getSubjectPlusMonteCarloSpecificId, getSubjectPlusMonteCarloSpecificId, hasSubjectBeenTestedForBlups, recordSubjectTestedForBlups, removeModelBasedSimulatorListener, setBlupsForThisSubject, setDefaultRandomEffects, setDefaultResidualError, setDeviatesForRandomEffectsOfThisSubject, setParameterEstimates, simulateDeviatesForRandomEffectsOfThisSubject
getParameterEstimates
protected final java.util.Map<java.lang.Integer,lerfob.predictor.mathilde.diameterincrement.MathildeDiameterIncrementSubModule> subModules
public MathildeDiameterIncrementPredictor(boolean isVariabilityEnabled)
isVariabilityEnabled
- true to enable the stochastic modeprotected final void init()
REpiceaPredictor
init
in class REpiceaPredictor
protected double getFixedEffectOnlyPrediction(MathildeDiameterIncrementStand stand, MathildeTree tree)
protected double getFixedEffectOnlyPrediction(Matrix currentBeta, MathildeDiameterIncrementStand stand, MathildeTree tree)
public double predictGrowth(MathildeDiameterIncrementStand stand, MathildeTree tree, java.lang.Object... parms)
GrowthModel
predictGrowth
in interface GrowthModel<MathildeDiameterIncrementStand,MathildeTree>
stand
- a S-derived instancetree
- a T-derived instanceparms
- some additional parameterspublic void modelBasedSimulatorDidThis(REpiceaPredictorEvent event)
modelBasedSimulatorDidThis
in interface REpiceaPredictorListener
protected final GaussianEstimate setRandomEffectsAccordingToHeightDeviate(Estimate<? extends StandardGaussianDistribution> heightRandomEffect, Estimate<? extends StandardGaussianDistribution> diamIncRandomEffect, Matrix blupMean)