|
iLand
|
#include <thinning.h>
Public Member Functions | |
| void | setup (QJSValue value) |
| setup of the activity (events, schedule, constraints). additional setup in derived classes. More... | |
Public Member Functions inherited from ABE::Activity | |
| Activity (const FMSTP *parent) | |
| virtual | ~Activity () |
| const FMSTP * | program () const |
| virtual QString | type () 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 | execute (FMStand *stand) |
| executes the action (usually defined in derived classes) using the context of 'stand'. 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... | |
| virtual QStringList | info () |
| dumps some information for debugging 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" |
|
virtual |
setup of the activity (events, schedule, constraints). additional setup in derived classes.
Reimplemented from ABE::Activity.