javawrapper.DisturbanceBehaviors Class Reference

This class manages data for disturbance behaviors. More...

Inheritance diagram for javawrapper.DisturbanceBehaviors:

javawrapper.BehaviorTypeBase javawrapper.WorkerBase

List of all members.

Public Member Functions

 DisturbanceBehaviors (GUIManager oManager) throws ModelException
 Constructor.
void ValidateData (TreePopulation oPop) throws ModelException
 Validates the data prior to writing it.
void WriteXML (BufferedWriter jOut, TreePopulation oPop) throws ModelException
 Overridden because disturbance writing is special.
void DoSetup (TreePopulation oPop) throws javawrapper.ModelException
 Sets up the grid objects.
void ReadXMLParentTag (String sXMLTag, Attributes oAttributes) throws ModelException
 Accepts an XML parent tag (empty, no data) from the parser.
boolean SetSingleValueByXMLTag (String sXMLTag, String sXMLParentTag, Attributes oAttributes, Object oData) throws ModelException
 This method looks for the following tags:.
void ChangeOfSpecies (int iOldNumSpecies, int[] p_iIndexer, String[] p_sNewSpecies) throws ModelException
 Checks episodic disturbance settings upon change of species.
boolean SetVectorValueByXMLTag (String sXMLTag, String sXMLParentTag, Vector< String > p_oData, String[] p_sChildXMLTags, boolean[] p_bAppliesTo, org.xml.sax.Attributes oParentAttributes, org.xml.sax.Attributes[] p_oAttributes) throws ModelException
 Overridden for backwards compatibility after changing XML tag names.
Behavior GetBehaviorByXMLTag (String sXMLTag)
 Overwritten to handle the potentially-funky harvest interface behavior.
void CopySpecies (int iSpeciesCopyFrom, int iSpeciesCopyTo) throws ModelException
 Updates parameters when species are copied.
void ChangeOfPlotResolution (float fOldX, float fOldY, float fNewX, float fNewY) throws ModelException
 Removes cells from harvest and disturbance events that are outside the plot.
Vector< TableDataFormatDataForDisplay (TreePopulation oPop)
 Overridden to remove the competition harvest lambdas that aren't necessary, but put them back afterwards.

Static Public Attributes

static final int PARTIAL_CUT = 1
 Partial cut.
static final int GAP_CUT = 2
 Gap cut.
static final int CLEAR_CUT = 3
 Clear cut.
static final int PERCENTAGE_BASAL_AREA = 2
 Percentage basal area.
static final int ABSOLUTE_BASAL_AREA = 3
 Absolute basal area.
static final int PERCENTAGE_DENSITY = 0
 Percentage density.
static final int ABSOLUTE_DENSITY = 1
 Absolute density.

Protected Member Functions

Vector< HarvestDataAddHarvestData (Vector< HarvestData > oList, HarvestData oNewHarvest) throws ModelException
 This adds the data contained in a HarvestData object to a list of harvest data.
Vector< HarvestDataCompactHarvestList (Vector< HarvestData > oList) throws ModelException
 Takes a list of HarvestData objects where each is one single species, and replaces it with a list of HarvestData objects for multiple species for any whose data match.

Protected Attributes

Vector< HarvestDatamp_oHarvestCuts = new Vector<HarvestData>(0)
 Our list of harvest cuts, held as HarvestData objects.
Vector< HarvestDatamp_oMortEpisodes = new Vector<HarvestData>(0)
 List of episodic mortality events, held as HarvestData objects (ignoring the cut type).
Vector< ScheduledStormInfomp_oScheduledStorms = new Vector<ScheduledStormInfo>(0)
 List of scheduled storm events (objects of class ScheduledStormInfo).
ModelVector mp_fMinStormDamageDBH
 Minimum DBH to which storm damage applies for each species.
ModelVector mp_fStmDmgInterceptMed
 Storm damage intercept for medium damage (a) for each species.
ModelVector mp_fStmDmgInterceptFull
 Storm damage intercept for complete damage (a) for each species.
ModelVector mp_fStmIntensityCoeff
 Storm intensity coefficient (b) for each species.
ModelVector mp_fStmDBHCoeff
 Storm DBH coefficient (d) for each species.
ModelVector mp_fStmMedDmgSurvProbA
 Storm - Medium damage probability of survival "a" - species-specific.
ModelVector mp_fStmMedDmgSurvProbB
 Storm - Medium damage probability of survival "b" - species-specific.
ModelVector mp_fStmFullDmgSurvProbA
 Storm - Heavy damage probability of survival "a" - species-specific.
ModelVector mp_fStmFullDmgSurvProbB
 Storm - Heavy damage probability of survival "b" - species-specific.
ModelVector mp_fWindstormMinDBH
 Windstorm - Minimum DBH for windstorm mortality - species-specific.
ModelVector mp_fWindstormMortInterceptA
 Windstorm - Mortality probability intercept "a" - species-specific.
ModelVector mp_fWindstormStmIntensCoeffC
 Windstorm - Mortality probability storm intensity coefficient "c" - species-specific.
ModelVector mp_fWindstormDBHExpB
 Windstorm - DBH exponent "b" - species-specific.
ModelVector mp_fStmPropFullTipUp
 Storm - proportion of trees with total damage that die that tip up.
ModelVector mp_fRandomBrowseProb
 Random browse - browse probability.
ModelVector mp_fRandomBrowseStdDev
 Random browse - browse probability standard deviation.
ModelVector mp_fStormDirectKillerA
 Storm direct killer - "a" parameter.
ModelVector mp_fStormDirectKillerB
 Storm direct killer - "b" parameter.
ModelVector mp_fCompHarvMaxRadius
 Competition harvest - maximum crowding radius - species specific.
ModelVector mp_fCompHarvProportion
 Competition harvest - proportion of each species to cut as a value between 0 and 1 - species specific.
ModelVector mp_fCompHarvAlpha
 Competition harvest - neighbor DBH effect (alpha) parameter for competition calculation - species specific - required for all species.
ModelVector mp_fCompHarvBeta
 Competition harvest - neighbor distance effect (beta) parameter for competition calculation - species specific - required for all species.
ModelVector mp_fCompHarvGamma
 Competition harvest - size sensitivity to competition parameter (gamma) for competition calculations - species specific - required for all species.
ModelVector mp_fCompHarvC
 Competition harvest - crowding effect slope (C) - species specific - required for all species.
ModelVector mp_fCompHarvD
 Competition harvest - crowding effect steepness (D) - species specific - required for all species.
ModelFloat m_fCompHarvQ
 Competition harvest - NCI DBH divisor.
ModelFloat m_fCompHarvMinDBH
 Competition harvest - minimum DBH for harvesting.
ModelFloat m_fCompHarvMaxDBH
 Competition harvest - maximum DBH for harvesting.
ModelEnum m_iCompHarvHarvType
 Competition harvest - type of harvest - 0 = fixed interval, 1 = fixed BA threshold with fixed amount to cut, 2 = fixed BA threshold with percentage to cut.
ModelFloat m_fCompHarvCutAmount
 Competition harvest - cut amount - if this is a fixed interval harvest, this is the amount to which the plot is cut back, in m2/ha of basal area; if this is a fixed BA threshold harvest with fixed amount to cut, this is that amount to cut; if this is a fixed BA threshold harvest with percentage to cut, this is the proportion to cut between 0 and 1.
ModelInt m_iCompHarvMinInterval
 Competition harvest - for fixed BA threshold harvests, the minimum interval between harvests.
ModelInt m_iCompHarvInterval
 Competition harvest - for fixed interval threshold harvests, the threshold.
ModelFloat m_fCompHarvBAThreshold
 Competition harvest - for fixed basal area threshold harvests, the threshold.
ModelString m_sCompHarvFilename
 Competition harvest - filename for list of trees harvested - optional.
ModelFloat m_fClass1RtrnInt
 Storm return interval for 0-0.1 severity storm.
ModelFloat m_fClass2RtrnInt
 Storm return interval for 0.1-0.2 severity storm.
ModelFloat m_fClass3RtrnInt
 Storm return interval for 0.2-0.3 severity storm.
ModelFloat m_fClass4RtrnInt
 Storm return interval for 0.3-0.4 severity storm.
ModelFloat m_fClass5RtrnInt
 Storm return interval for 0.4-0.5 severity storm.
ModelFloat m_fClass6RtrnInt
 Storm return interval for 0.5-0.6 severity storm.
ModelFloat m_fClass7RtrnInt
 Storm return interval for 0.6-0.7 severity storm.
ModelFloat m_fClass8RtrnInt
 Storm return interval for 0.7-0.8 severity storm.
ModelFloat m_fClass9RtrnInt
 Storm return interval for 0.8-0.9 severity storm.
ModelFloat m_fClass10RtrnInt
 Storm return interval for 0.9-1.0 severity storm.
ModelFloat m_fStormSSTPeriod
 Storm - SST periodicity (Sr).
ModelFloat m_fStormSineD
 Storm - Sine function d.
ModelFloat m_fStormSineF
 Storm - Sine function f.
ModelFloat m_fStormSineG
 Storm - Sine function g.
ModelFloat m_fStormTrendSlopeM
 Storm - Trend function slope (m).
ModelFloat m_fStormTrendInterceptI
 Storm - Trend function intercept (i).
ModelFloat m_fWindstormReturnInt1Severity
 Windstorm - Storm intensity for 1 year return interval - LEM 03/19/06.
ModelFloat m_fWindstormReturnInt5Severity
 Windstorm - Storm intensity for 5 year return interval - LEM 03/19/06.
ModelFloat m_fWindstormReturnInt10Severity
 Windstorm - Storm intensity for 10 year return interval - LEM 03/19/06.
ModelFloat m_fWindstormReturnInt20Severity
 Windstorm - Storm intensity for 20 year return interval - LEM 03/19/06.
ModelFloat m_fWindstormReturnInt40Severity
 Windstorm - Storm intensity for 40 year return interval - LEM 03/19/06.
ModelFloat m_fWindstormReturnInt80Severity
 Windstorm - Storm intensity for 80 year return interval - LEM 03/19/06.
ModelFloat m_fWindstormReturnInt160Severity
 Windstorm - Storm intensity for 160 year return interval - LEM 03/19/06.
ModelFloat m_fWindstormReturnInt320Severity
 Windstorm - Storm intensity for 320 year return interval - LEM 03/19/06.
ModelFloat m_fWindstormReturnInt640Severity
 Windstorm - Storm intensity for 640 year return interval - LEM 03/19/06.
ModelFloat m_fWindstormReturnInt1280Severity
 Windstorm - Storm intensity for 1280 year return interval - LEM 03/19/06.
ModelFloat m_fWindstormReturnInt2560Severity
 Windstorm - Storm intensity for 2560 year return interval - LEM 03/19/06.
ModelFloat m_fWindstormSSTPeriod
 Windstorm - SST periodicity (Sr).
ModelFloat m_fWindstormSineD
 Windstorm - Sine function d.
ModelFloat m_fWindstormSineF
 Windstorm - Sine function f.
ModelFloat m_fWindstormSineG
 Windstorm - Sine function g.
ModelFloat m_fWindstormTrendSlopeM
 Windstorm - Trend function slope (m).
ModelFloat m_fWindstormTrendInterceptI
 Windstorm - Trend function intercept (i).
ModelFloat m_fStdDev
 Standard deviation for normal and lognormal stochastic storm damage functions.
ModelFloat m_fCut1LoDBH
 Selection harvest cut range 1 lower DBH.
ModelFloat m_fCut1HiDBH
 Selection harvest cut range 1 upper DBH.
ModelFloat m_fCut1BA
 Selection harvest cut range 1 target BA.
ModelFloat m_fCut2LoDBH
 Selection harvest cut range 2 lower DBH.
ModelFloat m_fCut2HiDBH
 Selection harvest cut range 2 upper DBH.
ModelFloat m_fCut2BA
 Selection harvest cut range 2 target BA.
ModelFloat m_fCut3LoDBH
 Selection harvest cut range 3 lower DBH.
ModelFloat m_fCut3HiDBH
 Selection harvest cut range 3 upper DBH.
ModelFloat m_fCut3BA
 Selection harvest cut range 3 target BA.
ModelFloat m_fCut4LoDBH
 Selection harvest cut range 4 lower DBH.
ModelFloat m_fCut4HiDBH
 Selection harvest cut range 4 upper DBH.
ModelFloat m_fCut4BA
 Selection harvest cut range 4 target BA.
ModelInt m_iInitialAge
 Selection harvest initial age.
ModelInt m_iWindstormTimestepToStartStorms
 Windstorm - Timestep to start storms.
ModelInt m_iNumYearsToHeal
 Number of years damaged trees stay damaged.
ModelInt m_iNumSnagYears
 Number of years storm-damaged snags last before being removed.
ModelEnum m_iSusceptibility
 Storm susceptibility pattern.
ModelEnum m_iStochasticity
 Storm stochasticity pattern.
ModelEnum m_iProbDistFunc
 Probability distribution function.
ModelEnum m_iRandomBrowsePDF
 Random browse - browse PDF.
ModelString m_sHarvIntExecutable
 Path and filename of user executable.
ModelString m_sHarvIntSORTIEOutFile
 Path and filename of file for SORTIE to write with harvestable trees.
ModelString m_sHarvIntExecHarvestOutFile
 Path and filename of file for executable to write with trees to harvest.
ModelString m_sHarvIntExecUpdateOutFile
 Path and filename of file for executable to write with trees to update.
ModelString m_sHarvIntBatchParamsFile
 Path and filename of batch parameters.
ModelString m_sHarvIntBatchSingleRunParamsFile
 Path and filename of single-run parameters file to write.
ModelString m_sHarvIntExecArgs
 Arguments to pass to executable.
Vector< String > mp_sHarvIntNewTreeDataMembers = new Vector<String>(0)
 List of new tree data members to add.
ModelVector mp_sHarvIntFileColumns
 List of file columns.
ModelInt m_iHarvIntHarvestPeriod
 How often harvests occur, in years.
float m_iCutRangeLowerBound = -1
 Placeholder for reading cut ranges from an XML file.
float m_iCutRangeUpperBound = -1
 Placeholder for reading cut ranges from an XML file.
float m_iCutRangeAmount = -1
 Placeholder for reading cut ranges from an XML file.
int m_iSelectionHarvestCutRange = 0
 Placeholder for reading selection harvest cut ranges from an XML file.

Package Functions

void WriteBehaviorNodes (BufferedWriter out, TreePopulation oPop) throws ModelException
 If the harvest interface behavior is being used, this will check to see if it needs to add new data members to the name.

Private Member Functions

void WriteStorm (BufferedWriter jOut) throws java.io.IOException, ModelException
 Writes the storm data to the parameter file.
void WriteWindstorm (BufferedWriter jOut) throws java.io.IOException, ModelException
 Writes the windstorm data to the parameter file.
void WriteCompetitionHarvest (BufferedWriter jOut) throws java.io.IOException, ModelException
 Writes the competition harvest data to the parameter file.
void WriteRandomBrowse (BufferedWriter jOut) throws java.io.IOException, ModelException
 Writes the random browse data to the parameter file.
void WriteSelectionHarvest (BufferedWriter jOut) throws java.io.IOException, ModelException
 Writes the selection harvest data to the parameter file.
void WriteMortalityEpisode (BufferedWriter jOut, TreePopulation oPop) throws java.io.IOException, ModelException
 Writes the episodic mortality data for the parameter file.
void WriteHarvest (BufferedWriter jOut, TreePopulation oPop) throws java.io.IOException, ModelException
 Writes the harvest data for the parameter file.
void WriteHarvestInterface (BufferedWriter jOut) throws java.io.IOException
 Writes the harvest interface data for the parameter file.


Detailed Description

This class manages data for disturbance behaviors.

Planting is not included. Copyright: Copyright (c) Charles D. Canham 2003 Company: Institute of Ecosystem Studies

Author:
Lora E. Murphy
Version:
1.0
Edit history:
------------------
August 15, 2007: Cleared edit history up to 6.08 (LEM)
August 15, 2007: Added the competition harvest behavior (LEM)
December 11, 2007: Added storm scheduling (LEM)
January 17, 2008: Added the storm direct killer (LEM)

February 4, 2008: Updated to conform to Java 6 compliance (LEM)

Constructor & Destructor Documentation

javawrapper.DisturbanceBehaviors.DisturbanceBehaviors ( GUIManager  oManager  )  throws ModelException

Constructor.

Parameters:
oManager GUIManager object.
Exceptions:
ModelException if there's a problem.


Member Function Documentation

Vector<HarvestData> javawrapper.DisturbanceBehaviors.AddHarvestData ( Vector< HarvestData oList,
HarvestData  oNewHarvest 
) throws ModelException [protected]

This adds the data contained in a HarvestData object to a list of harvest data.

A HarvestData object is first checked to make sure there are any cut ranges defined; if not, nothing happens. If there is data to be added, it is compared to existing HarvestData objects on the list. If they match except for the grid cell, then the new object's grid cell is added to the existing object and the new object thrown away. If it is truly new data, it is added to the list.

IMPORTANT: It is assumed that the harvest data list is all single-species cuts. This makes this method not very generalized.

Parameters:
oList The list of HarvestData objects to add to.
oNewHarvest The HarvestData object to add.
Returns:
The new list with the data added.
Exceptions:
ModelException Passing through underlying exceptions.

Vector<HarvestData> javawrapper.DisturbanceBehaviors.CompactHarvestList ( Vector< HarvestData oList  )  throws ModelException [protected]

Takes a list of HarvestData objects where each is one single species, and replaces it with a list of HarvestData objects for multiple species for any whose data match.

Parameters:
oList The list to compact.
Returns:
The compacted list.
Exceptions:
ModelException Passing through underlying exceptions

void javawrapper.DisturbanceBehaviors.WriteStorm ( BufferedWriter  jOut  )  throws java.io.IOException, ModelException [private]

Writes the storm data to the parameter file.

Does nothing if the storm behaviors are not enabled.

Parameters:
jOut FileWriter File to write to.
Exceptions:
IOException if there is a problem writing the file.
ModelException passed through from called functions.

void javawrapper.DisturbanceBehaviors.WriteWindstorm ( BufferedWriter  jOut  )  throws java.io.IOException, ModelException [private]

Writes the windstorm data to the parameter file.

Does nothing if the windstorm behavior is not enabled.

Parameters:
jOut FileWriter File to write to.
Exceptions:
IOException if there is a problem writing the file.
ModelException passed through from called functions.

void javawrapper.DisturbanceBehaviors.WriteCompetitionHarvest ( BufferedWriter  jOut  )  throws java.io.IOException, ModelException [private]

Writes the competition harvest data to the parameter file.

Does nothing if the competition harvest behavior is not enabled.

Parameters:
jOut FileWriter File to write to.
Exceptions:
IOException if there is a problem writing the file.
ModelException passed through from called functions.

void javawrapper.DisturbanceBehaviors.WriteRandomBrowse ( BufferedWriter  jOut  )  throws java.io.IOException, ModelException [private]

Writes the random browse data to the parameter file.

Does nothing if the random browse behavior is not enabled.

Parameters:
jOut FileWriter File to write to.
Exceptions:
IOException if there is a problem writing the file.
ModelException passed through from called functions.

void javawrapper.DisturbanceBehaviors.WriteSelectionHarvest ( BufferedWriter  jOut  )  throws java.io.IOException, ModelException [private]

Writes the selection harvest data to the parameter file.

Does nothing if the selection harvest behavior is not enabled.

Parameters:
jOut FileWriter File to write to.
Exceptions:
IOException if there is a problem writing the file.
ModelException passed through from called functions.

void javawrapper.DisturbanceBehaviors.WriteMortalityEpisode ( BufferedWriter  jOut,
TreePopulation  oPop 
) throws java.io.IOException, ModelException [private]

Writes the episodic mortality data for the parameter file.

Does nothing if there is no episodic mortality data.

Parameters:
jOut FileWriter File to write to.
oPop Tree population object.
Exceptions:
java.io.IOException if there is a problem writing the file
ModelException if there are unrecognized disturbance cut types (should never happen).

void javawrapper.DisturbanceBehaviors.WriteHarvest ( BufferedWriter  jOut,
TreePopulation  oPop 
) throws java.io.IOException, ModelException [private]

Writes the harvest data for the parameter file.

Does nothing if there is no harvest data.

Parameters:
jOut FileWriter File to write to.
oPop Tree population object.
Exceptions:
java.io.IOException if there is a problem writing the file
ModelException if there are unrecognized harvest cut types (should never happen).

void javawrapper.DisturbanceBehaviors.WriteHarvestInterface ( BufferedWriter  jOut  )  throws java.io.IOException [private]

Writes the harvest interface data for the parameter file.

Does nothing if the harvest interface behavior is not being used.

Parameters:
jOut FileWriter File to write to.
Exceptions:
java.io.IOException if there is a problem writing the file

void javawrapper.DisturbanceBehaviors.ValidateData ( TreePopulation  oPop  )  throws ModelException [virtual]

Validates the data prior to writing it.

What it does:

  • Causes all HarvestData objects to validate themselves.
  • If the Storms behavior is enabled, this makes sure that all storm return intervals are greater than 0.
  • If the Storms behavior is enabled and the susceptibility is set to "mapped", this makes sure that there are values for the grid object "Storm Susceptibility" and they are greater than 0.
  • If the Storms behavior is enabled and the damage pattern is set to "mapped", this makes sure that the grid resolution for the "Storm Susceptibility" and "Storm Damage" grids is the same.
  • If the Storm Damage Applier behavior is enabled, this checks to make sure the Storms behavior is enabled.
  • If the Storm Damage Applier behavior is enabled, this checks to make sure the value in m_iNumYearsToHeal is positive.
  • If the Storm Killer behavior is enabled, this checks to make sure that both the Storm and Storm Damage Applier behaviors are enabled.
  • If the Storm Killer behavior is enabled, this checks to make sure the value in m_iNumSnagYears is not negative.
  • If the Storm Damage Killer behavior is enabled, this makes sure that the proportion of dead trees that tip up are all proportions.
  • If Selection Harvest is enabled, this makes sure that target basal area is not less than 0 and cut ranges don't overlap
  • If Windstorm is enabled, this makes sure that:
    • Minimum DBH not negative for any value
    • Timestep to start storms not negative
    • Storm severities are all proportions
    • Some mortality behavior is applied to all trees
  • If Competition Harvest is enabled, this makes sure that:
    • If harvest type is fixed interval, the interval value is at least 1
    • If harvest type is fixed BA with proportion to cut, the cut amount is a proportion between 0 and 1
    • Species proportions to cut either add up to 1 or are all 1
    • If harvest type is fixed BA, the minimum interval is at least 1
    • All values in max crowding radius are greater than 0

Parameters:
oPop TreePopulation object
Exceptions:
ModelException if one of the data objects is not valid.

Implements javawrapper.WorkerBase.

void javawrapper.DisturbanceBehaviors.WriteXML ( BufferedWriter  jOut,
TreePopulation  oPop 
) throws ModelException

Overridden because disturbance writing is special.

Parameters:
jOut File to write to.
oPop TreePopulation object
Exceptions:
javawrapper.ModelException if there's a problem writing the file.

Reimplemented from javawrapper.BehaviorTypeBase.

void javawrapper.DisturbanceBehaviors.DoSetup ( TreePopulation  oPop  )  throws javawrapper.ModelException [virtual]

Sets up the grid objects.

Parameters:
oPop TreePopulation object.
Exceptions:
javawrapper.ModelException passthrough only.

Implements javawrapper.WorkerBase.

void javawrapper.DisturbanceBehaviors.ReadXMLParentTag ( String  sXMLTag,
Attributes  oAttributes 
) throws ModelException

Accepts an XML parent tag (empty, no data) from the parser.

This method watches for the following tags:

  • ha_applyToCell
  • ha_applyToSpecies
  • ha_dbhRange
  • ha_cutEvent
  • ds_applyToCell
  • ds_applyToSpecies
  • ds_dbhRange
  • ds_deathEvent
  • SelectionHarvest
  • sha_CutRange

Parameters:
sXMLTag The XML tag.
oAttributes The attributes of this object.
Exceptions:
ModelException if there is a problem reading this data.

Reimplemented from javawrapper.WorkerBase.

boolean javawrapper.DisturbanceBehaviors.SetSingleValueByXMLTag ( String  sXMLTag,
String  sXMLParentTag,
Attributes  oAttributes,
Object  oData 
) throws ModelException

This method looks for the following tags:.

  • ds_timestep
  • ds_cutAmountType
  • ds_low
  • ds_high
  • ds_amountToCut
  • ha_timestep
  • ha_cutType
  • ha_cutAmountType
  • ha_low
  • ha_high
  • ha_amountToCut

Parameters:
sXMLTag XML tag of data object whose value is to be set.
sXMLParentTag The immediate parent tag that sXMLTag is within.
oAttributes Attributes of the object. Ignored, but may be needed by overriding objects.
oData Data value appropriate to the data type
Returns:
true if the value was set successfully; false if the value could not be found. (This would not be an error, because I need a way to cycle through the objects until one of the objects comes up with a match.)
Exceptions:
ModelException if the value could not be assigned to the data object, or if the cut type or cut type amount values are unrecognized.

Reimplemented from javawrapper.WorkerBase.

void javawrapper.DisturbanceBehaviors.ChangeOfSpecies ( int  iOldNumSpecies,
int[]  p_iIndexer,
String[]  p_sNewSpecies 
) throws ModelException

Checks episodic disturbance settings upon change of species.

This will remove any deleted species.

Parameters:
iOldNumSpecies says how many species there used to be.
p_iIndexer is an array, sized to the new number of species. For each bucket (representing the index number of a species on the new list), the value is either the index of that same species in the old species list, or -1 if the species is new.
p_sNewSpecies The new species list.
Exceptions:
ModelException if anything goes wrong. Not thrown by this function.

Reimplemented from javawrapper.BehaviorTypeBase.

boolean javawrapper.DisturbanceBehaviors.SetVectorValueByXMLTag ( String  sXMLTag,
String  sXMLParentTag,
Vector< String >  p_oData,
String[]  p_sChildXMLTags,
boolean[]  p_bAppliesTo,
org.xml.sax.Attributes  oParentAttributes,
org.xml.sax.Attributes[]  p_oAttributes 
) throws ModelException

Overridden for backwards compatibility after changing XML tag names.

This was done in version 6.06 and can be removed after one version, since it was done to a behavior not widely in production at the time of release.

Parameters:
sXMLTag Parent XML tag of data vector whose value is to be set.
sXMLParentTag The immediate parent tag that sXMLTag is within.
p_oData Vector of data values appropriate to the data type
p_sChildXMLTags The XML tags of the child elements
p_bAppliesTo Array of booleans saying which of the vector values should be set. This is important in the case of species-specifics - the vector index is the species number but not all species are set.
oParentAttributes Attributes of parent tag. May be useful when overridding this for unusual tags.
p_oAttributes Attributes passed from parser. This may be needed when overriding this function. Basic species-specific values are already handled by this function.
Returns:
true if the value was set successfully; false if the value could not be found. (This would not be an error, because I need a way to cycle through the objects until one of the objects comes up with a match.) If a match to a data object is made via XML tag, but the found object is not a ModelVector, this returns false.
Exceptions:
ModelException if the value could not be assigned to the data object.

void javawrapper.DisturbanceBehaviors.WriteBehaviorNodes ( BufferedWriter  out,
TreePopulation  oPop 
) throws ModelException [package]

If the harvest interface behavior is being used, this will check to see if it needs to add new data members to the name.

After changing the name and writing the behaviors, the name will be changed back.

Parameters:
out BufferedWriter File to write to.
oPop TreePopulation Tree population.
Exceptions:
ModelException Passing through from called functions.

Reimplemented from javawrapper.BehaviorTypeBase.

Behavior javawrapper.DisturbanceBehaviors.GetBehaviorByXMLTag ( String  sXMLTag  ) 

Overwritten to handle the potentially-funky harvest interface behavior.

Parameters:
sXMLTag String The XML tag for which to find a behavior.
Returns:
Behavior Behavior for the XML tag, or NULL if none of the behaviors has that tag.

Reimplemented from javawrapper.BehaviorTypeBase.

void javawrapper.DisturbanceBehaviors.CopySpecies ( int  iSpeciesCopyFrom,
int  iSpeciesCopyTo 
) throws ModelException

Updates parameters when species are copied.

This updates harvest and mortality episode settings, and competition harvest lambdas.

Parameters:
iSpeciesCopyFrom int Species to copy.
iSpeciesCopyTo int Species that is the copy.
Exceptions:
ModelException if there is a problem.

Reimplemented from javawrapper.BehaviorTypeBase.

void javawrapper.DisturbanceBehaviors.ChangeOfPlotResolution ( float  fOldX,
float  fOldY,
float  fNewX,
float  fNewY 
) throws ModelException

Removes cells from harvest and disturbance events that are outside the plot.

Parameters:
fOldX float Old plot X length.
fOldY float Old plot Y length.
fNewX float New plot X length.
fNewY float New plot Y length.
Exceptions:
ModelException if anything goes wrong.

Reimplemented from javawrapper.WorkerBase.

Vector<TableData> javawrapper.DisturbanceBehaviors.FormatDataForDisplay ( TreePopulation  oPop  ) 

Overridden to remove the competition harvest lambdas that aren't necessary, but put them back afterwards.

Parameters:
oPop TreePopulation object.
Returns:
Vector from the base class.

Reimplemented from javawrapper.WorkerBase.


Member Data Documentation

Partial cut.

Matches the old code's enum value - that's important!.

Gap cut.

Matches the old code's enum value - that's important!.

Clear cut.

Matches the old code's enum value - that's important!.

Percentage basal area.

Matches the old code's enum value - that's important!.

Absolute basal area.

Matches the old code's enum value - that's important!.

Percentage density.

Matches the old code's enum value - that's important!.

Absolute density.

Matches the old code's enum value - that's important!.

Our list of harvest cuts, held as HarvestData objects.

List of episodic mortality events, held as HarvestData objects (ignoring the cut type).

List of scheduled storm events (objects of class ScheduledStormInfo).

Initial value:

 new ModelVector(
                        "Minimum DBH for Storm Damage, in cm", "st_minDBH", "st_mdVal", 0,
                        ModelVector.FLOAT)
Minimum DBH to which storm damage applies for each species.

Initial value:

 new ModelVector(
                        "Storm Damage Intercept (a) for Medium Damage", "st_stmDmgInterceptMed",
                        "st_sdimVal", 0, ModelVector.FLOAT)
Storm damage intercept for medium damage (a) for each species.

Initial value:

 new ModelVector(
                        "Storm Damage Intercept (a) for Heavy Damage", "st_stmDmgInterceptFull",
                        "st_sdifVal", 0, ModelVector.FLOAT)
Storm damage intercept for complete damage (a) for each species.

Initial value:

 new ModelVector(
                        "Storm Intensity Coefficient (b)", "st_stmIntensityCoeff", "st_sicVal",
                        0, ModelVector.FLOAT)
Storm intensity coefficient (b) for each species.

Initial value:

 new ModelVector(
                        "Storm DBH Coefficient (d)", "st_stmDBHCoeff", "st_sdcVal", 0,
                        ModelVector.FLOAT)
Storm DBH coefficient (d) for each species.

Initial value:

 new ModelVector(
                        "Storm Medium Damage Survival Prob Intercept (a)",
                        "st_stmMedDmgSurvProbA", "st_smdspaVal", 0, ModelVector.FLOAT)
Storm - Medium damage probability of survival "a" - species-specific.

Initial value:

 new ModelVector(
                        "Storm Medium Damage Survival Prob DBH Coeff. (b)",
                        "st_stmMedDmgSurvProbB", "st_smdspbVal", 0, ModelVector.FLOAT)
Storm - Medium damage probability of survival "b" - species-specific.

Initial value:

 new ModelVector(
                        "Storm Heavy Damage Survival Prob Intercept (a)",
                        "st_stmFullDmgSurvProbA", "st_sfdspaVal", 0, ModelVector.FLOAT)
Storm - Heavy damage probability of survival "a" - species-specific.

Initial value:

 new ModelVector(
                        "Storm Heavy Damage Survival Prob DBH Coeff. (b)",
                        "st_stmFullDmgSurvProbB", "st_sfdspbVal", 0, ModelVector.FLOAT)
Storm - Heavy damage probability of survival "b" - species-specific.

Initial value:

 new ModelVector(
                        "Windstorm - Minimum DBH for Windstorm Mortality", "ws_minDBH",
                        "ws_mdVal", 0, ModelVector.FLOAT)
Windstorm - Minimum DBH for windstorm mortality - species-specific.

Initial value:

 new ModelVector(
                        "Windstorm - Mortality Intercept (a)", "ws_stmInterceptA", "ws_siaVal",
                        0, ModelVector.FLOAT)
Windstorm - Mortality probability intercept "a" - species-specific.

Initial value:

 new ModelVector(
                        "Windstorm - Storm Intensity Coefficient (c)", "ws_stmIntensCoeffC",
                        "ws_sicVal", 0, ModelVector.FLOAT)
Windstorm - Mortality probability storm intensity coefficient "c" - species-specific.

Initial value:

 new ModelVector(
                        "Windstorm - DBH Exponent (b)", "ws_stmDBHExpB", "ws_sdebVal", 0,
                        ModelVector.FLOAT)
Windstorm - DBH exponent "b" - species-specific.

Initial value:

 new ModelVector(
                        "Storm - Prop. Heavy Damage Dead Trees that Tip Up",
                        "st_stmPropTipUpFullDmg", "st_sptufdVal", 0, ModelVector.FLOAT)
Storm - proportion of trees with total damage that die that tip up.

Initial value:

 new ModelVector(
                        "Random Browse - Annual Browse Probability (0-1)", "di_randBrowseProb",
                        "di_rbpVal", 0, ModelVector.FLOAT)
Random browse - browse probability.

Initial value:

 new ModelVector(
                        "Random Browse - Browse Probability Standard Deviation", 
                        "di_randBrowseStdDev", "di_rbsdVal", 0, ModelVector.FLOAT)
Random browse - browse probability standard deviation.

Initial value:

 new ModelVector(
                        "Storm Direct Killer - \"a\"", "st_stormDirectKillerA",
                        "st_sdkaVal", 0, ModelVector.FLOAT)
Storm direct killer - "a" parameter.

Initial value:

 new ModelVector(
                        "Storm Direct Killer - \"b\"", "st_stormDirectKillerB",
                        "st_sdkbVal", 0, ModelVector.FLOAT)
Storm direct killer - "b" parameter.

Initial value:

 new ModelVector(
                        "Competition Harvest: Max Radius of Competitive Effects (m)",
                        "di_compHarvMaxCrowdingRadius", "di_chmcrVal", 0, ModelVector.FLOAT)
Competition harvest - maximum crowding radius - species specific.

Initial value:

 new ModelVector(
                        "Competition Harvest: Amount of Harvest Per Species (0 - 1)",
                        "di_compHarvProportion", "di_chpVal", 0, ModelVector.FLOAT)
Competition harvest - proportion of each species to cut as a value between 0 and 1 - species specific.

All 1s mean treat the species as a common pool.

Initial value:

 new ModelVector(
                        "Competition Harvest: DBH Effect of Targets (alpha)", "di_compHarvAlpha",
                        "di_chaVal", 0, ModelVector.FLOAT, true)
Competition harvest - neighbor DBH effect (alpha) parameter for competition calculation - species specific - required for all species.

Initial value:

 new ModelVector(
                        "Competition Harvest: Distance Effect of Targets (beta)",
                        "di_compHarvBeta", "di_chbVal", 0, ModelVector.FLOAT, true)
Competition harvest - neighbor distance effect (beta) parameter for competition calculation - species specific - required for all species.

Initial value:

 new ModelVector(
                        "Competition Harvest: Size Sensitivity (gamma)", "di_compHarvGamma",
                        "di_chgVal", 0, ModelVector.FLOAT, true)
Competition harvest - size sensitivity to competition parameter (gamma) for competition calculations - species specific - required for all species.

Initial value:

 new ModelVector(
                        "Competition Harvest: C", "di_compHarvCrowdingSlope", "di_chcsVal", 0,
                        ModelVector.FLOAT, true)
Competition harvest - crowding effect slope (C) - species specific - required for all species.

Initial value:

 new ModelVector(
                        "Competition Harvest: D", "di_compHarvCrowdingSteepness", "di_chcstVal",
                        0, ModelVector.FLOAT, true)
Competition harvest - crowding effect steepness (D) - species specific - required for all species.

Initial value:

 new ModelFloat(1,
                        "Competition Harvest: Target DBH Divisor", "di_compHarvDbhDivisor")
Competition harvest - NCI DBH divisor.

Initial value:

 new ModelFloat(0,
                        "Competition Harvest: Minimum DBH to Harvest", "di_compHarvMinHarvDBH")
Competition harvest - minimum DBH for harvesting.

Initial value:

 new ModelFloat(1000,
                        "Competition Harvest: Maximum DBH to Harvest", "di_compHarvMaxHarvDBH")
Competition harvest - maximum DBH for harvesting.

Initial value:

 new ModelEnum(
                        new int[] { 2, 1, 0 }, new String[] { "Fixed BA %", "Fixed BA Amt",
                                        "Fixed Interval" }, "Competition Harvest: Harvest Type",
                        "di_compHarvTypeHarvest")
Competition harvest - type of harvest - 0 = fixed interval, 1 = fixed BA threshold with fixed amount to cut, 2 = fixed BA threshold with percentage to cut.

Initial value:

 new ModelFloat(0,
                        "Competition Harvest: Amount to Harvest", "di_compHarvCutAmount")
Competition harvest - cut amount - if this is a fixed interval harvest, this is the amount to which the plot is cut back, in m2/ha of basal area; if this is a fixed BA threshold harvest with fixed amount to cut, this is that amount to cut; if this is a fixed BA threshold harvest with percentage to cut, this is the proportion to cut between 0 and 1.

Initial value:

 new ModelInt(1,
                        "Competition Harvest: Min Years Between Fixed BA Harvests",
                        "di_compHarvMinInterval")
Competition harvest - for fixed BA threshold harvests, the minimum interval between harvests.

Initial value:

 new ModelInt(1,
                        "Competition Harvest: Fixed Interval Harvest Interval (yr)",
                        "di_compHarvInterval")
Competition harvest - for fixed interval threshold harvests, the threshold.

Initial value:

 new ModelFloat(0,
                        "Competition Harvest: Fixed BA Harvest Threshold (m2/ha)",
                        "di_compHarvBAThreshold")
Competition harvest - for fixed basal area threshold harvests, the threshold.

Initial value:

 new ModelString("",
                        "Competition Harvest: Filename for List of Harvested Trees",
                        "di_compHarvHarvestedListFile")
Competition harvest - filename for list of trees harvested - optional.

Initial value:

 new ModelFloat(0,
                        "Return Interval for Severity Storm Class 0 - 0.1", "st_s1ReturnInterval")
Storm return interval for 0-0.1 severity storm.

Initial value:

 new ModelFloat(0,
                        "Return Interval for Severity Storm Class 0.1 - 0.2",
                        "st_s2ReturnInterval")
Storm return interval for 0.1-0.2 severity storm.

Initial value:

 new ModelFloat(0,
                        "Return Interval for Severity Storm Class 0.2 - 0.3",
                        "st_s3ReturnInterval")
Storm return interval for 0.2-0.3 severity storm.

Initial value:

 new ModelFloat(0,
                        "Return Interval for Severity Storm Class 0.3 - 0.4",
                        "st_s4ReturnInterval")
Storm return interval for 0.3-0.4 severity storm.

Initial value:

 new ModelFloat(0,
                        "Return Interval for Severity Storm Class 0.4 - 0.5",
                        "st_s5ReturnInterval")
Storm return interval for 0.4-0.5 severity storm.

Initial value:

 new ModelFloat(0,
                        "Return Interval for Severity Storm Class 0.5 - 0.6",
                        "st_s6ReturnInterval")
Storm return interval for 0.5-0.6 severity storm.

Initial value:

 new ModelFloat(0,
                        "Return Interval for Severity Storm Class 0.6 - 0.7",
                        "st_s7ReturnInterval")
Storm return interval for 0.6-0.7 severity storm.

Initial value:

 new ModelFloat(0,
                        "Return Interval for Severity Storm Class 0.7 - 0.8",
                        "st_s8ReturnInterval")
Storm return interval for 0.7-0.8 severity storm.

Initial value:

 new ModelFloat(0,
                        "Return Interval for Severity Storm Class 0.8 - 0.9",
                        "st_s9ReturnInterval")
Storm return interval for 0.8-0.9 severity storm.

Initial value:

 new ModelFloat(0,
                        "Return Interval for Severity Storm Class 0.9 - 1.0",
                        "st_s10ReturnInterval")
Storm return interval for 0.9-1.0 severity storm.

Initial value:

 new ModelFloat(1,
                        "Storm - Sea Surface Temperature Cyclicity Period (Years)",
                        "st_stmSSTPeriod")
Storm - SST periodicity (Sr).

Initial value:

 new ModelFloat(0,
                        "Storm - Storm Cyclicity Sine Curve d", "st_stmSineD")
Storm - Sine function d.

Initial value:

 new ModelFloat(1,
                        "Storm - Storm Cyclicity Sine Curve f", "st_stmSineF")
Storm - Sine function f.

Initial value:

 new ModelFloat(1,
                        "Storm - Storm Cyclicity Sine Curve g", "st_stmSineG")
Storm - Sine function g.

Initial value:

 new ModelFloat(0,
                        "Storm - Storm Cyclicity Trend Function Slope (m)", "st_stmTrendSlopeM")
Storm - Trend function slope (m).

Initial value:

 new ModelFloat(1,
                        "Storm - Storm Cyclicity Trend Function Intercept (i)",
                        "st_stmTrendInterceptI")
Storm - Trend function intercept (i).

Initial value:

 new ModelFloat(0,
                        "Windstorm - Severity for 1 Year Return Interval Storm",
                        "ws_severityReturnInterval1")
Windstorm - Storm intensity for 1 year return interval - LEM 03/19/06.

Initial value:

 new ModelFloat(0,
                        "Windstorm - Severity for 5 Year Return Interval Storm",
                        "ws_severityReturnInterval5")
Windstorm - Storm intensity for 5 year return interval - LEM 03/19/06.

Initial value:

 new ModelFloat(0,
                        "Windstorm - Severity for 10 Year Return Interval Storm",
                        "ws_severityReturnInterval10")
Windstorm - Storm intensity for 10 year return interval - LEM 03/19/06.

Initial value:

 new ModelFloat(0,
                        "Windstorm - Severity for 20 Year Return Interval Storm",
                        "ws_severityReturnInterval20")
Windstorm - Storm intensity for 20 year return interval - LEM 03/19/06.

Initial value:

 new ModelFloat(0,
                        "Windstorm - Severity for 40 Year Return Interval Storm",
                        "ws_severityReturnInterval40")
Windstorm - Storm intensity for 40 year return interval - LEM 03/19/06.

Initial value:

 new ModelFloat(0,
                        "Windstorm - Severity for 80 Year Return Interval Storm",
                        "ws_severityReturnInterval80")
Windstorm - Storm intensity for 80 year return interval - LEM 03/19/06.

Initial value:

 new ModelFloat(0,
                        "Windstorm - Severity for 160 Year Return Interval Storm",
                        "ws_severityReturnInterval160")
Windstorm - Storm intensity for 160 year return interval - LEM 03/19/06.

Initial value:

 new ModelFloat(0,
                        "Windstorm - Severity for 320 Year Return Interval Storm",
                        "ws_severityReturnInterval320")
Windstorm - Storm intensity for 320 year return interval - LEM 03/19/06.

Initial value:

 new ModelFloat(0,
                        "Windstorm - Severity for 640 Year Return Interval Storm",
                        "ws_severityReturnInterval640")
Windstorm - Storm intensity for 640 year return interval - LEM 03/19/06.

Initial value:

 new ModelFloat(0,
                        "Windstorm - Severity for 1280 Year Return Interval Storm",
                        "ws_severityReturnInterval1280")
Windstorm - Storm intensity for 1280 year return interval - LEM 03/19/06.

Initial value:

 new ModelFloat(0,
                        "Windstorm - Severity for 2560 Year Return Interval Storm",
                        "ws_severityReturnInterval2560")
Windstorm - Storm intensity for 2560 year return interval - LEM 03/19/06.

Initial value:

 new ModelFloat(1,
                        "Windstorm - Sea Surface Temperature Cyclicity Period (Years)",
                        "ws_stmSSTPeriod")
Windstorm - SST periodicity (Sr).

Initial value:

 new ModelFloat(0,
                        "Windstorm - Storm Cyclicity Sine Curve d", "ws_stmSineD")
Windstorm - Sine function d.

Initial value:

 new ModelFloat(1,
                        "Windstorm - Storm Cyclicity Sine Curve f", "ws_stmSineF")
Windstorm - Sine function f.

Initial value:

 new ModelFloat(1,
                        "Windstorm - Storm Cyclicity Sine Curve g", "ws_stmSineG")
Windstorm - Sine function g.

Initial value:

 new ModelFloat(0,
                        "Windstorm - Storm Cyclicity Trend Function Slope (m)",
                        "ws_stmTrendSlopeM")
Windstorm - Trend function slope (m).

Initial value:

 new ModelFloat(1,
                        "Windstorm - Storm Cyclicity Trend Function Intercept (i)",
                        "ws_stmTrendInterceptI")
Windstorm - Trend function intercept (i).

Initial value:

 new ModelFloat(0,
                        "Standard Deviation (lognormal or normal)", "st_standardDeviation")
Standard deviation for normal and lognormal stochastic storm damage functions.

Initial value:

 new ModelFloat(0,
                        "Selection Harvest Cut Range 1 Lower DBH (cm)", "sha_loDBH")
Selection harvest cut range 1 lower DBH.

Initial value:

 new ModelFloat(0,
                        "Selection Harvest Cut Range 1 Upper DBH (cm)", "sha_hiDBH")
Selection harvest cut range 1 upper DBH.

Initial value:

 new ModelFloat(0,
                        "Selection Harvest Cut Range 1 Target Basal Area (m2/ha)",
                        "sha_target_BA")
Selection harvest cut range 1 target BA.

Initial value:

 new ModelFloat(0,
                        "Selection Harvest Cut Range 2 Lower DBH (cm)", "sha_loDBH")
Selection harvest cut range 2 lower DBH.

Initial value:

 new ModelFloat(0,
                        "Selection Harvest Cut Range 2 Upper DBH (cm)", "sha_hiDBH")
Selection harvest cut range 2 upper DBH.

Initial value:

 new ModelFloat(0,
                        "Selection Harvest Cut Range 2 Target Basal Area (m2/ha)",
                        "sha_target_BA")
Selection harvest cut range 2 target BA.

Initial value:

 new ModelFloat(0,
                        "Selection Harvest Cut Range 3 Lower DBH (cm)", "sha_loDBH")
Selection harvest cut range 3 lower DBH.

Initial value:

 new ModelFloat(0,
                        "Selection Harvest Cut Range 3 Upper DBH (cm)", "sha_hiDBH")
Selection harvest cut range 3 upper DBH.

Initial value:

 new ModelFloat(0,
                        "Selection Harvest Cut Range 3 Target Basal Area (m2/ha)",
                        "sha_target_BA")
Selection harvest cut range 3 target BA.

Initial value:

 new ModelFloat(0,
                        "Selection Harvest Cut Range 4 Lower DBH (cm)", "sha_loDBH")
Selection harvest cut range 4 lower DBH.

Initial value:

 new ModelFloat(0,
                        "Selection Harvest Cut Range 4 Upper DBH (cm)", "sha_hiDBH")
Selection harvest cut range 4 upper DBH.

Initial value:

 new ModelFloat(0,
                        "Selection Harvest Cut Range 4 Target Basal Area (m2/ha)",
                        "sha_target_BA")
Selection harvest cut range 4 target BA.

Initial value:

 new ModelInt(0,
                        "Selection Harvest Initial Age", "sha_InitialAge")
Selection harvest initial age.

Initial value:

 new ModelInt(0,
                        "Windstorm - Timestep to Start Storms", "ws_stmTSToStartStorms")
Windstorm - Timestep to start storms.

Initial value:

 new ModelInt(0,
                        "Number of Years Damaged Trees Take to Heal", "st_numYearsToHeal")
Number of years damaged trees stay damaged.

Initial value:

 new ModelInt(0,
                        "Number of Years Storm-Damaged Snags Last", "st_numYearsStormSnags")
Number of years storm-damaged snags last before being removed.

Initial value:

 new ModelEnum(new int[] { 0, 1 },
                        new String[] { "Mapped", "Uniform" },
                        "Plot Storm Susceptibility Pattern", "st_susceptibility")
Storm susceptibility pattern.

Initial value:

 new ModelEnum(new int[] { 0, 1 },
                        new String[] { "Deterministic", "Stochastic" },
                        "Storm Damage Application", "st_stochasticity")
Storm stochasticity pattern.

Initial value:

 new ModelEnum(new int[] { 0, 1 },
                        new String[] { "Lognormal", "Normal" },
                        "Stochastic Pattern Damage Distribution", "st_probFunction")
Probability distribution function.

Initial value:

 new ModelEnum(new int[] { 3, 0 },
                        new String[] { "Normal", "None" },
                        "Random Browse - Probability PDF", "di_randBrowsePDF")
Random browse - browse PDF.

Initial value:

 new ModelString("", "",
                        "hi_executable")
Path and filename of user executable.

Initial value:

 new ModelString("", "",
                        "hi_harvestableTreesFile")
Path and filename of file for SORTIE to write with harvestable trees.

Initial value:

 new ModelString("", "",
                        "hi_treesToHarvestFile")
Path and filename of file for executable to write with trees to harvest.

Initial value:

 new ModelString("", "",
                        "hi_treesToUpdateFile")
Path and filename of file for executable to write with trees to update.

Initial value:

 new ModelString("", "",
                        "hi_batchParamsFile")
Path and filename of batch parameters.

Initial value:

 new ModelString(
                        "", "", "hi_batchSingleRunParamsFile")
Path and filename of single-run parameters file to write.

Initial value:

 new ModelString("", "",
                        "hi_executableArguments")
Arguments to pass to executable.

Vector<String> javawrapper.DisturbanceBehaviors.mp_sHarvIntNewTreeDataMembers = new Vector<String>(0) [protected]

List of new tree data members to add.

Initial value:

 new ModelVector("",
                        "hi_dataMembers", "hi_dataMember", 0, ModelVector.STRING)
List of file columns.

Initial value:

 new ModelInt(1, "",
                        "hi_harvestPeriod")
How often harvests occur, in years.

Placeholder for reading cut ranges from an XML file.

This one is for DBH range lower bound

Placeholder for reading cut ranges from an XML file.

This one is for DBH range upper bound

Placeholder for reading cut ranges from an XML file.

This one is for range cut amount

Placeholder for reading selection harvest cut ranges from an XML file.


The documentation for this class was generated from the following file:

Generated on Wed Oct 28 14:01:20 2009 for SORTIE Java Interface by  doxygen 1.5.6