8#ifndef RDECLARATIONS_H_INCLUDED
9#define RDECLARATIONS_H_INCLUDED
13#include <RcppCommon.h>
44#include "FMTBounds.hpp"
71#define RCPP_DECLAREVECTOR(CLASS)namespace Rcpp{\
72template <> std::vector<CLASS> as(SEXP obj);\
73template <> SEXP wrap(const std::vector<CLASS>& obj);\
76#define RCPP_DECLARELIST(CLASS)namespace Rcpp{\
77template <> std::vector<CLASS> as(SEXP obj);\
78template <> SEXP wrap(const std::vector<CLASS>& obj);\
81#define RCPP_DECLAREPAIR(FIRST,SECOND)namespace Rcpp{\
82template <> std::pair<FIRST,SECOND> as(SEXP obj);\
83template <> SEXP wrap(const std::pair<FIRST,SECOND>& obj);\
86#define RCPP_DECLAREMAP(KEY,OBJECT)namespace Rcpp{\
87template <> std::map<KEY,OBJECT> as(SEXP obj);\
88template <> SEXP wrap(const std::map<KEY,OBJECT>& obj);\
#define RCPP_COMMA
Definition: Rdeclarations.h:91
#define RCPP_DECLAREVECTOR(CLASS)
Definition: Rdeclarations.h:71
#define RCPP_DECLAREPAIR(FIRST, SECOND)
Definition: Rdeclarations.h:81
#define RCPP_DECLARELIST(CLASS)
Definition: Rdeclarations.h:76
#define RCPP_DECLAREMAP(KEY, OBJECT)
Definition: Rdeclarations.h:86
List of specifications dictating the operability of a subset of developments to this action.
Definition: FMTAction.h:43
Child class of FMTDevelopment representing an actual forest stand, holding the area of the stand.
Definition: FMTActualDevelopment.h:24
Yield handler for age based yields, as seen in the yield section with _AGE.
Definition: FMTAgeYieldHandler.h:24
Development path holding a generated development and the proportion of area going to it.
Definition: FMTDevelopmentPath.h:26
Base class of FMTActualDevelopment and FMTFuturDevelopment representing a forest stand.
Definition: FMTDevelopment.h:44
Fork of a transition, holding the transition masks (targets and proportions) applied to a development...
Definition: FMTFork.h:38
Child class of FMTDevelopment representing a future stand generated by growth or transition,...
Definition: FMTFuturDevelopment.h:23
Filter built from masks used to preSolve and postsolve FMTMask objects.
Definition: FMTMaskFilter.h:31
Core class holding, as a boost dynamic bitset, which theme attributes are part of a mask.
Definition: FMTMask.h:96
Node of an output representing a set of developments in the graph, holding a source,...
Definition: FMTOutputNode.h:25
Class letting the user formulate a constraint in the optimize section or collect data across the grap...
Definition: FMTOutput.h:37
Spatially referenced schedule describing the area of developments for which an action can be operated...
Definition: FMTSchedule.h:29
Class holding the attributes and aggregates of a single theme, describing a part of a FMTMask.
Definition: FMTTheme.h:47
Yield handler for time based yields, indexed by period.
Definition: FMTTimeYieldHandler.h:25
List of FMTFork describing the transition of an action, disturbing a development to generate new deve...
Definition: FMTTransition.h:35
Base class for yield handlers, holding a mask and the base ages of the yields.
Definition: FMTYieldHandler.h:80
Simple graph where each action generates a single new vertex (0-—0-—0-—0), used with FMTLayer to simu...
Definition: FMTLineGraph.h:27
Definition of a non clustered operating area, used by the FMTOperatingAreaCluster.
Definition: FMTOperatingAreaClusterBinary.h:32
Potential cluster of multiple operating areas.
Definition: FMTOperatingAreaCluster.h:27
Heuristic to do spatial clustering of operating areas across a landscape from a shapefile.
Definition: FMTOperatingAreaClusterer.h:28
Heuristic to solve the spatialization problem across a landscape for multiple operating areas.
Definition: FMTOperatingAreaScheduler.h:57
Operating area scheme giving information about its opening time, green up and return time.
Definition: FMTOperatingAreaScheme.h:42
Operating area giving information about its mask, neighbors and neighbors perimeter.
Definition: FMTOperatingArea.h:29
Type III LP forest planning model, with the graph divided per period.
Definition: FMTLpModel.h:54
Abstract class to ease the usage of the OsiSolverInterface in FMT for linear programming models.
Definition: FMTLpSolver.h:49
Base class for the different models in FMT.
Definition: FMTModel.h:62
Non spatial simulation model, mainly used to simulate stochastic actions during the local replanning ...
Definition: FMTNssModel.h:29
Area restricted model (ARM) using the simulated annealing meta-heuristic to solve the spatial optimiz...
Definition: FMTSaModel.h:40
Abstract class for spatially explicit models, parent of FMTSesModel and FMTSaModel.
Definition: FMTSeModel.h:33
Spatially explicit simulation model using a cellular automaton to simulate actions on a raster stack ...
Definition: FMTSesModel.h:25
Base class holding the attributes and methods shared between the spatially referenced models (FMTLpMo...
Definition: FMTSrModel.h:46
Task to find a suboptimal schedule for the operating areas of a FMTLpModel.
Definition: FMTOpAreaSchedulerTask.h:47
Task to carry multiple parallel optimizations of different FMTModel using the doPlanning function.
Definition: FMTPlanningTask.h:39
Replanning task using global, stochastic and local abstract models to simulate natural disturbances o...
Definition: FMTReplanningTask.h:43
Main class for running concurrent tasks at the same time.
Definition: FMTTaskHandler.h:27
Task for parallel jobs.
Definition: FMTTask.h:27
Spatially referenced coordinate holding an x and y position on a raster grid.
Definition: FMTCoordinate.h:29
Spatially referenced layer of Core::FMTDevelopment representing the forest.
Definition: FMTForest.h:33
The Core namespace provides classes for simulating stands/strata growth/harvest through time.
Definition: FMTAction.h:34
FMTexc
Enumerator describing the exceptions thrown by FMT.
Definition: FMTException.h:45
FMTdblmodelparameters
Enumerator of the double parameters of a FMTModel.
Definition: FMTModelParameters.h:54
FMTintmodelparameters
Enumerator of the integer parameters of a FMTModel.
Definition: FMTModelParameters.h:28
FMTboolmodelparameters
Enumerator of the boolean parameters of a FMTModel.
Definition: FMTModelParameters.h:67