public class FrenchHDRelationship2018TreeImpl extends java.lang.Object implements FrenchHDRelationship2018Tree, FrenchCommercialVolume2014Tree
FrenchHDRelationshipTree.FrenchHdSpecies
FrenchCommercialVolume2014Tree.FrenchCommercialVolume2014TreeSpecies
Modifier and Type | Field and Description |
---|---|
protected double |
dbhCm |
protected java.lang.Double |
gOther |
protected double |
heightM |
protected int |
id |
protected FrenchHDRelationship2018PlotImpl |
plot |
protected FrenchHDRelationshipTree.FrenchHdSpecies |
species |
Modifier | Constructor and Description |
---|---|
|
FrenchHDRelationship2018TreeImpl(double dbhCm,
java.lang.String speciesName,
FrenchHDRelationship2018PlotImpl plot)
Constructor for NFI data.
|
protected |
FrenchHDRelationship2018TreeImpl(int id,
double heightM,
double dbhCm,
java.lang.Double gOther,
java.lang.String speciesName,
FrenchHDRelationship2018PlotImpl plot)
Constructor.
|
|
FrenchHDRelationship2018TreeImpl(int id,
double heightM,
double dbhCm,
java.lang.String speciesName,
FrenchHDRelationship2018PlotImpl plot)
Constructor for NFI data.
|
Modifier and Type | Method and Description |
---|---|
protected double |
getBasalAreaM2() |
double |
getDbhCm()
This method returns the diameter at breast height of the tree.
|
int |
getErrorTermIndex()
This method returns the index of the error term.
|
FrenchCommercialVolume2014Tree.FrenchCommercialVolume2014TreeSpecies |
getFrenchCommercialVolume2014TreeSpecies()
This method returns the species of the tree instance.
|
FrenchHDRelationshipTree.FrenchHdSpecies |
getFrenchHDTreeSpecies()
This method ensures the species compatibility with the hd relationship.
|
protected double |
getGOther() |
java.lang.Enum<?> |
getHDRelationshipTreeErrorGroup()
This method returns the error group in case of different error correlation structure.
|
double |
getHeightM()
This method returns the tree height in m.
|
HierarchicalLevel |
getHierarchicalLevel()
This method returns the hierarchical levels of the object.
|
double |
getLnDbhCmPlus1()
This method returns ln(dbh + 1) with the dbh in cm.
|
int |
getMonteCarloRealizationId()
This method returns the id of the Monte Carlo realization.
|
double |
getSquaredDbhCm()
This method returns the square of dbh.
|
double |
getSquaredLnDbhCmPlus1()
This method returns (ln(dbh + 1))^2 with the dbh in cm.
|
java.lang.String |
getSubjectId()
This method returns an object that makes it possible to identify
the subject that implements this interface.
|
protected double heightM
protected double dbhCm
protected final FrenchHDRelationshipTree.FrenchHdSpecies species
protected final FrenchHDRelationship2018PlotImpl plot
protected final int id
protected java.lang.Double gOther
protected FrenchHDRelationship2018TreeImpl(int id, double heightM, double dbhCm, java.lang.Double gOther, java.lang.String speciesName, FrenchHDRelationship2018PlotImpl plot)
heightM
- the height of the tree (m) or -1 if it was not observeddbhCm
- the diameter at breast height (cm)gOther
- the basal area of other trees (m2/ha)speciesName
- a String that corresponds to a FrenchHd2018Species enumplot
- a FrenchHDRelationship2018StandImpl instance that hosts the treepublic FrenchHDRelationship2018TreeImpl(int id, double heightM, double dbhCm, java.lang.String speciesName, FrenchHDRelationship2018PlotImpl plot)
id
- an integerheightM
- the height of the tree (m) or -1 if it was not observeddbhCm
- the diameter at breast height (cm)speciesName
- a String that corresponds to a FrenchHd2018Species enumplot
- a FrenchHDRelationship2018StandImpl instance that hosts the treepublic FrenchHDRelationship2018TreeImpl(double dbhCm, java.lang.String speciesName, FrenchHDRelationship2018PlotImpl plot)
dbhCm
- the diameter at breast height (cm)speciesName
- a String that corresponds to a FrenchHd2018Species enumplot
- a FrenchHDRelationship2018StandImpl instance that hosts the treepublic int getErrorTermIndex()
GaussianErrorTermList.IndexableErrorTerm
getErrorTermIndex
in interface GaussianErrorTermList.IndexableErrorTerm
public java.lang.Enum<?> getHDRelationshipTreeErrorGroup()
HDRelationshipTree
getHDRelationshipTreeErrorGroup
in interface HDRelationshipTree
public java.lang.String getSubjectId()
MonteCarloSimulationCompliantObject
getSubjectId
in interface MonteCarloSimulationCompliantObject
public int getMonteCarloRealizationId()
MonteCarloSimulationCompliantObject
getMonteCarloRealizationId
in interface MonteCarloSimulationCompliantObject
public double getHeightM()
HeightMProvider
getHeightM
in interface HeightMProvider
public double getDbhCm()
DbhCmProvider
getDbhCm
in interface DbhCmProvider
public double getLnDbhCmPlus1()
LnDbhCmPlus1Provider
getLnDbhCmPlus1
in interface LnDbhCmPlus1Provider
public double getSquaredLnDbhCmPlus1()
SquaredLnDbhCmPlus1Provider
getSquaredLnDbhCmPlus1
in interface SquaredLnDbhCmPlus1Provider
public FrenchHDRelationshipTree.FrenchHdSpecies getFrenchHDTreeSpecies()
FrenchHDRelationship2018Tree
getFrenchHDTreeSpecies
in interface FrenchHDRelationship2018Tree
protected double getGOther()
protected double getBasalAreaM2()
public double getSquaredDbhCm()
SquaredDbhCmProvider
getSquaredDbhCm
in interface SquaredDbhCmProvider
public HierarchicalLevel getHierarchicalLevel()
MonteCarloSimulationCompliantObject
getHierarchicalLevel
in interface FrenchCommercialVolume2014Tree
getHierarchicalLevel
in interface HDRelationshipTree
getHierarchicalLevel
in interface MonteCarloSimulationCompliantObject
public FrenchCommercialVolume2014Tree.FrenchCommercialVolume2014TreeSpecies getFrenchCommercialVolume2014TreeSpecies()
FrenchCommercialVolume2014Tree
getFrenchCommercialVolume2014TreeSpecies
in interface FrenchCommercialVolume2014Tree