00001 //--------------------------------------------------------------------------- 00002 // PRSemiStochGrowth 00003 //--------------------------------------------------------------------------- 00004 #if !defined(PRSemiStochGrowth_H) 00005 #define PRSemiStochGrowth_H 00006 00007 #include "GrowthBase.h" 00008 00047 class clPRSemiStochGrowth : virtual public clGrowthBase { 00048 //note: need the virtual keyword to avoid base class ambiguity. 00049 00050 public: 00051 00056 clPRSemiStochGrowth(clSimManager *p_oSimManager); 00057 00061 ~clPRSemiStochGrowth(); 00062 00074 float CalcDiameterGrowthValue(clTree *p_oTree, clTreePopulation *p_oPop, float fHeightGrowth); 00075 00081 void DoShellSetup(xercesc::DOMDocument *p_oDoc); 00082 00083 protected: 00084 00087 float *mp_fHeightThreshold; 00088 00091 float *mp_fA; 00092 00095 float *mp_fB; 00096 00099 float *mp_fMeanDiam; 00100 00103 float *mp_fDiamStdDev; 00104 00106 short int *mp_iIndexes; 00107 }; 00108 //--------------------------------------------------------------------------- 00109 #endif // PRSemiStochGrowth_H