|
iLand
|
The ActSalvage class handles salvage logging after disturbances. More...
#include <actsalvage.h>
Public Member Functions | |
| ActSalvage (FMSTP *parent) | |
| ~ActSalvage () | |
| QString | type () const |
| void | setup (QJSValue value) |
| setup of the activity (events, schedule, constraints). additional setup in derived classes. More... | |
| bool | execute (FMStand *stand) |
| executes the action (usually defined in derived classes) using the context of 'stand'. More... | |
| QStringList | info () |
| dumps some information for debugging More... | |
| bool | evaluateRemove (Tree *tree) const |
| return true, if the (disturbed) tree should be harvested by the salvage activity More... | |
| bool | barkbeetleAttack (FMStand *stand, double generations, int infested_px_ha) |
| bool | checkSanitation (FMStand *stand) |
Public Member Functions inherited from ABE::Activity | |
| Activity (const FMSTP *parent) | |
| virtual | ~Activity () |
| const FMSTP * | program () const |
| QString | name () const |
| name of the activity as provided by JS More... | |
| int | index () const |
| index of the activity within the STP More... | |
| int | earliestSchedule (const double U=100.) const |
| get earlist possible scheduled year (relative to rotation begin) More... | |
| int | latestSchedule (const double U=100.) const |
| get latest possible scheduled year (relative to rotation begin) More... | |
| int | optimalSchedule (const double U=100.) const |
| get optimal scheduled year (relative to rotation begin) More... | |
| bool | isRepeatingActivity () const |
| virtual double | scheduleProbability (FMStand *stand, const int specific_year=-1) |
| returns a value > 0 if the activity coult be scheduled now More... | |
| virtual double | execeuteProbability (FMStand *stand) |
| returns a probability for the activity to be executed (ie all constraints are fulfilled) return value is 0 if the activity can not be executed (maximum result is 1) More... | |
| virtual bool | evaluate (FMStand *stand) |
| executes the evaluation of the forest stand. More... | |
| virtual void | evaluateDyanamicExpressions (FMStand *stand) |
| function that evaluates "bound" dynamic expressions More... | |
Additional Inherited Members | |
Public Types inherited from ABE::Activity | |
| enum | Phase { Invalid , Tending , Thinning , Regeneration , All } |
Static Public Member Functions inherited from ABE::Activity | |
| static Activity * | createActivity (const QString &type, FMSTP *stp) |
| Activity factory - create activities for given 'type'. More... | |
Protected Member Functions inherited from ABE::Activity | |
| Schedule & | schedule () |
| Constraints & | constraints () |
| Events & | events () |
| ActivityFlags & | standFlags (FMStand *stand=0) |
Protected Attributes inherited from ABE::Activity | |
| ActivityFlags | mBaseActivity |
Static Protected Attributes inherited from ABE::Activity | |
| static QStringList | mAllowedProperties = QStringList() << "schedule" << "constraint" << "type" |
The ActSalvage class handles salvage logging after disturbances.
| ABE::ActSalvage::ActSalvage | ( | FMSTP * | parent | ) |
| ABE::ActSalvage::~ActSalvage | ( | ) |
| bool ABE::ActSalvage::barkbeetleAttack | ( | FMStand * | stand, |
| double | generations, | ||
| int | infested_px_ha | ||
| ) |
| bool ABE::ActSalvage::checkSanitation | ( | FMStand * | stand | ) |
| bool ABE::ActSalvage::evaluateRemove | ( | Tree * | tree | ) | const |
return true, if the (disturbed) tree should be harvested by the salvage activity
|
virtual |
executes the action (usually defined in derived classes) using the context of 'stand'.
Reimplemented from ABE::Activity.
|
virtual |
dumps some information for debugging
Reimplemented from ABE::Activity.
|
virtual |
setup of the activity (events, schedule, constraints). additional setup in derived classes.
Reimplemented from ABE::Activity.
|
inlinevirtual |
Reimplemented from ABE::Activity.