S
- a class that represents the stand or the plotT
- a class that represents the treepublic abstract class REpiceaBinaryEventPredictor<S,T> extends REpiceaPredictor
REpiceaPredictor.CruiseLine, REpiceaPredictor.ErrorTermGroup, REpiceaPredictor.IntervalNestedInPlotDefinition
DefaultZeroIndex, isRandomEffectsVariabilityEnabled, isResidualVariabilityEnabled, listeners, oXVector
isParametersVariabilityEnabled
Modifier | Constructor and Description |
---|---|
protected |
REpiceaBinaryEventPredictor(boolean isParametersVariabilityEnabled,
boolean isRandomEffectsVariabilityEnabled,
boolean isResidualVariabilityEnabled) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
findFirstParameterOfThisClass(java.lang.Class<?> clazz,
java.lang.Object... parms)
This method scans the parameters and finds the first object that is an instance of
this class.
|
java.lang.Object |
predictEvent(S stand,
T tree,
java.lang.Object... parms)
This method returns either a boolean if isResidualVariabilityEnabled was set to true
or the probability otherwise.
|
abstract double |
predictEventProbability(S stand,
T tree,
java.lang.Object... parms)
This method returns the probability of event for a particular tree represented by the parameter
"tree".
|
addModelBasedSimulatorListener, doBlupsExistForThisSubject, doesThisSubjectHaveResidualErrorTerm, doRandomDeviatesExistForThisSubject, fireModelBasedSimulatorEvent, fireRandomEffectDeviateGeneratedEvent, getBlupsForThisSubject, getCruiseLineForThisSubject, getDefaultRandomEffects, getDefaultRandomEffects, getDefaultResidualError, getGaussianErrorTerms, getIntervalNestedInPlotDefinition, getParametersForThisRealization, getRandomEffectsForThisSubject, getResidualError, getResidualErrorForThisSubject, getSubjectPlusMonteCarloSpecificId, getSubjectPlusMonteCarloSpecificId, hasSubjectBeenTestedForBlups, init, recordSubjectTestedForBlups, removeModelBasedSimulatorListener, setBlupsForThisSubject, setDefaultRandomEffects, setDefaultResidualError, setDeviatesForRandomEffectsOfThisSubject, setParameterEstimates, simulateDeviatesForRandomEffectsOfThisSubject
getParameterEstimates
protected REpiceaBinaryEventPredictor(boolean isParametersVariabilityEnabled, boolean isRandomEffectsVariabilityEnabled, boolean isResidualVariabilityEnabled)
public abstract double predictEventProbability(S stand, T tree, java.lang.Object... parms)
stand
- a S-derived instancetree
- a T-derived instanceparms
- some additional parameterspublic java.lang.Object predictEvent(S stand, T tree, java.lang.Object... parms)
stand
- a S-derived instancetree
- a T-derived instanceparms
- some additional parameterspublic static java.lang.Object findFirstParameterOfThisClass(java.lang.Class<?> clazz, java.lang.Object... parms)
clazz
- the class of object to be looked forparms
- the parameters