javawrapper::DisperseBehaviors Class Reference

This is the organizer class for all disperse behaviors. More...

Inheritance diagram for javawrapper::DisperseBehaviors:

javawrapper::BehaviorTypeBase javawrapper::WorkerBase List of all members.

Public Member Functions

 DisperseBehaviors (GUIManager oManager)
 Constructor.
void DoSetup (TreePopulation oPop) throws ModelException
 Does setup.
void ValidateData (TreePopulation oPop) throws ModelException
 Validates the data in preparation for parameter file writing or some such.

Static Public Attributes

static final int WEIBULL = 0
 Weibull disperse function.
static final int LOGNORMAL = 1
 Lognormal disperse function.
static final int CANOPY = 0
 Canopy forest cover status for cells.
static final int GAP = 1
 Gap forest cover status for cells.
static final int NUMBER_OF_DISPERSE_FUNCTIONS = 2
 Total number of disperse functions.
static final int NUMBER_OF_FOREST_COVERS = 2
 Total number of forest cover statuses.

Protected Attributes

ModelVector[][] mp_fSTR
 STR for disperse function.
ModelVector[][] mp_fBeta
 Beta for disperse function.
ModelVector[][] mp_fThetaOrXb
 Theta (if weibull) or Xb (if lognormal) for disperse function.
ModelVector[][] mp_fDispOrX0
 Dispersal (if weibull) or X0 (if lognormal) for disperse function.
ModelVector[] mp_iWhichFunctionUsed
 Which disperse function to use under each forest cover - valid values are WEIBULL and LOGNORMAL - this is a vector of ModelEnums.
ModelVector mp_fSlopeOfLambda
 Slope of lambda for non spatial dispersal for each species.
ModelVector mp_fInterceptOfLambda
 Intercept of lambda for non spatial dispersal for each species.
ModelVector mp_fMinDbhForReproduction
 Minimum DBH for reproduction for each species.
ModelVector mp_fStumpSTR
 STR for stump dispersal for each species.
ModelVector mp_fStumpBeta
 Beta for stump dispersal for each species.
ModelVector mp_fDirectionMaxDispersal
 Azimuth direction of maximum dispersal distance, in radians.
ModelVector mp_fAnisotropicAmplitude
 Amplitude of anisotropic effect.
ModelVector mp_fStandardDeviation
 Standard deviation if seed distribution method is normal or lognormal.
ModelVector mp_fClumpingParameter
 Clumping parameter if seed distribution is negative binomial.
ModelVector mp_fMastingA
 Masting spatial disperse - "a" for masting CDF.
ModelVector mp_fMastingB
 Masting spatial disperse - "b" for masting CDF.
ModelVector mp_iMastSTRDrawPDF
 Masting spatial disperse - Probability distribution for STR draw.
ModelVector mp_fMastNonMastSTRMean
 Masting spatial disperse - Non-mast STR mean.
ModelVector mp_fMastNonMastSTRStdDev
 Masting spatial disperse - Non-mast STR draw standard deviation, if PDF = normal or lognormal.
ModelVector mp_fMastMastSTRMean
 Masting spatial disperse - Masting STR mean.
ModelVector mp_fMastMastSTRStdDev
 Masting spatial disperse - Masting STR draw standard deviation, if PDF = normal or lognormal.
ModelVector mp_fMastNonMastBeta
 Masting spatial disperse - Non-masting beta.
ModelVector mp_fMastMastBeta
 Masting spatial disperse - Masting beta.
ModelVector mp_fMastMastWeibDisp
 Masting spatial disperse - Weibull masting dispersal.
ModelVector mp_fMastMastWeibTheta
 Masting spatial disperse - Weibull masting theta.
ModelVector mp_fMastMastLognormalX0
 Masting spatial disperse - Lognormal masting X0.
ModelVector mp_fMastMastLognormalXb
 Masting spatial disperse - Lognormal masting Xb.
ModelVector mp_iMastGroupID
 Masting spatial disperse - Group identification for each species.
ModelVector mp_iMastDrawPerSpecies
 Masting spatial disperse - Whether to draw STR once per species (1) or once per tree (0).
ModelVector mp_fMastMastPropParticipating
 Masting spatial disperse - Proportion trees participating in disperse for mast event.
ModelVector mp_fMastNonMastPropParticipating
 Masting spatial disperse - Proporton trees participating in disperse for non-mast event.
ModelEnum m_iSeedDistributionMethod
 Seed distribution.
ModelFloat m_fMaxSearchRadius
 Maximum search radius, in meters, for neighbors for isotropic and anisotropic disperse.
ModelInt m_iMaxGapDensity
 Max number of parent trees that can be in a grid cell for it to still be marked as gap.

Detailed Description

This is the organizer class for all disperse behaviors.

Copyright: Copyright (c) Charles D. Canham 2003

Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)
April 24, 2007: Added masting spatial disperse (LEM)


Constructor & Destructor Documentation

javawrapper::DisperseBehaviors::DisperseBehaviors ( GUIManager  oManager  )  [inline]

Constructor.

Parameters:
oManager GUIManager object.

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)


Member Function Documentation

void javawrapper::DisperseBehaviors::DoSetup ( TreePopulation  oPop  )  throws ModelException [inline, virtual]

Does setup.

Sets up the substrate favorability grid.

Parameters:
oPop TreePopulation object.
Exceptions:
ModelException if there's a problem setting behavior use data.
Todo:
Something for stump removal?

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Implements javawrapper::WorkerBase.

void javawrapper::DisperseBehaviors::ValidateData ( TreePopulation  oPop  )  throws ModelException [inline, virtual]

Validates the data in preparation for parameter file writing or some such.

Parameters:
oPop TreePopulation object.
Exceptions:
ModelException if:
  • Any value in mp_fMinDbhForReproduction is 0
  • There aren't values for all species for any disperse function used
  • Max search radius for anisotropic disperse is not a positive number and less than half the shortest plot distance
  • The direction of max dispersal is not between 0 and 2PI
  • Spatial disperse is used and a value for weibull theta (masting or non-masting) is greater than or equal to 50
  • Spatial disperse is used and a value for beta (masting or non-masting) is greater than 25
  • Fraction participating, either masting or non-masting, is not a proportion
  • All values for X0 and Xb are not 0

Edit history:
------------------
April 28, 2004: Submitted in beta version (LEM)

Implements javawrapper::WorkerBase.


Member Data Documentation

ModelVector [][] javawrapper::DisperseBehaviors::mp_fSTR [protected]

STR for disperse function.

Array is 3D - first index is which disperse function is used - weibull or lognormal. The second index is cover - canopy or gap. The third index is species.

ModelVector [][] javawrapper::DisperseBehaviors::mp_fBeta [protected]

Beta for disperse function.

Array is 3D - first index is which disperse function is used - weibull or lognormal. The second index is cover - canopy or gap. The third index is species.

ModelVector [][] javawrapper::DisperseBehaviors::mp_fThetaOrXb [protected]

Theta (if weibull) or Xb (if lognormal) for disperse function.

Array is 3D - first index is which disperse function is used - weibull or lognormal. The second index is cover - canopy or gap. The third index is species.

ModelVector [][] javawrapper::DisperseBehaviors::mp_fDispOrX0 [protected]

Dispersal (if weibull) or X0 (if lognormal) for disperse function.

Array is 3D - first index is which disperse function is used - weibull or lognormal. The second index is cover - canopy or gap. The third index is species.


The documentation for this class was generated from the following file:
Generated on Thu May 24 09:34:53 2007 for SORTIE Java Interface by  doxygen 1.5.2