public final class FrenchHDRelationship2018Predictor extends REpiceaPredictor implements FertilityClassEmulator, HeightPredictor<FrenchHDRelationship2018Plot,FrenchHDRelationship2018Tree>
REpiceaPredictor.CruiseLine, REpiceaPredictor.ErrorTermGroup, REpiceaPredictor.IntervalNestedInPlotDefinitionFertilityClassEmulator.FertilityClassDefaultZeroIndex, isRandomEffectsVariabilityEnabled, isResidualVariabilityEnabled, listeners, oXVectorisParametersVariabilityEnabled| Constructor and Description |
|---|
FrenchHDRelationship2018Predictor()
Default constructor with all sources of uncertainty disabled.
|
FrenchHDRelationship2018Predictor(boolean isVariabilityEnabled)
General constructor for all combinations of uncertainty sources.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addModelBasedSimulatorListener(REpiceaPredictorListener listener)
This method adds the listener instance to the list of listeners.
|
void |
emulateFertilityClass(FertilityClassEmulator.FertilityClass fertilityClass)
This method allows to tweak the plot random effect in order to reproduce a sort of site index.
|
protected Estimate<? extends StandardGaussianDistribution> |
getBlups(FrenchHDRelationship2018Plot stand,
FrenchHDRelationship2018Tree tree)
For testing purpose only
|
protected void |
init()
This method reads all the parameters in .csv files and stores the estimates into members defaultBeta, defaultResidualError,
and defaultRandomEffects.
|
double |
predictHeightM(FrenchHDRelationship2018Plot stand,
FrenchHDRelationship2018Tree tree)
Predicts the height for individual trees and also implements the Monte Carlo simulation automatically.
|
void |
removeModelBasedSimulatorListener(REpiceaPredictorListener listener)
This method removes the listener instance from the list of listeners.
|
void |
setClimateChangeGenerator(REpiceaClimateChangeGenerator<? extends GeographicalCoordinatesProvider> generator)
Sets a climate change generator that will impact the internal climate generator for the
HD relationship.
|
doBlupsExistForThisSubject, doesThisSubjectHaveResidualErrorTerm, doRandomDeviatesExistForThisSubject, fireModelBasedSimulatorEvent, fireRandomEffectDeviateGeneratedEvent, getBlupsForThisSubject, getCruiseLineForThisSubject, getDefaultRandomEffects, getDefaultRandomEffects, getDefaultResidualError, getGaussianErrorTerms, getIntervalNestedInPlotDefinition, getParametersForThisRealization, getRandomEffectsForThisSubject, getResidualError, getResidualErrorForThisSubject, getSubjectPlusMonteCarloSpecificId, getSubjectPlusMonteCarloSpecificId, hasSubjectBeenTestedForBlups, recordSubjectTestedForBlups, setBlupsForThisSubject, setDefaultRandomEffects, setDefaultResidualError, setDeviatesForRandomEffectsOfThisSubject, setParameterEstimates, simulateDeviatesForRandomEffectsOfThisSubjectgetParameterEstimatespublic FrenchHDRelationship2018Predictor(boolean isVariabilityEnabled)
isVariabilityEnabled - a boolean that enables the variability at the parameter levelpublic FrenchHDRelationship2018Predictor()
public void emulateFertilityClass(FertilityClassEmulator.FertilityClass fertilityClass)
FertilityClassEmulatoremulateFertilityClass in interface FertilityClassEmulatorfertilityClass - a FertilityClass enumprotected final void init()
REpiceaPredictorinit in class REpiceaPredictorpublic double predictHeightM(FrenchHDRelationship2018Plot stand, FrenchHDRelationship2018Tree tree)
HeightPredictorpredictHeightM in interface HeightPredictor<FrenchHDRelationship2018Plot,FrenchHDRelationship2018Tree>stand - a HDRelationshipStand-derived instancetree - a HDRelationshipTree-derived instanceprotected Estimate<? extends StandardGaussianDistribution> getBlups(FrenchHDRelationship2018Plot stand, FrenchHDRelationship2018Tree tree)
stand - public void addModelBasedSimulatorListener(REpiceaPredictorListener listener)
REpiceaPredictoraddModelBasedSimulatorListener in class REpiceaPredictorlistener - a ModelBasedSimulatorListener listenerpublic void removeModelBasedSimulatorListener(REpiceaPredictorListener listener)
REpiceaPredictorremoveModelBasedSimulatorListener in class REpiceaPredictorlistener - a ModelBasedSimulatorListener listenerpublic void setClimateChangeGenerator(REpiceaClimateChangeGenerator<? extends GeographicalCoordinatesProvider> generator)
generator - a REpiceaClimateChangeGenerator instance