#include <RegData.h>
Inheritance diagram for RegActivities:
Public Member Functions | |
RegActivities (ThreadManager *MTHREAD_h) | |
~RegActivities () | |
string | getName () const |
string | getComment () const |
double | getMatrixGrossMargin () const |
map< string, double > | getMatrixActRes () const |
Return the standard matrix. | |
vector< double > | getMatrixCoefficients () |
return the ordered list of coefficients for the matrix | |
double | getMatrixCoefficientByName (string cname_h) |
Return a coefficient by its resource name. | |
bool | getSpatiallyExplicit () |
vector< int > | getRequiredLandUseCodes () |
string | getRequiredObjectOnPlot () |
int | getMapCode () const |
int | getMapRColor () |
int | getMapGColor () |
int | getMapBColor () |
double | getDecouplingOption (int premiumIndex) |
void | setName (string activityName_h) |
void | setComment (string activityComment_h) |
Private Attributes | |
string | activityName |
string | activityComment |
vector< double > | matrixGrossMarginByYear |
vector< map< string, double > > | matrixActResByYear |
vector< int > | requiredLandUseCodes |
A vector of Corine land use codes where this activity can be made. | |
string | requiredObjectOnPlot |
ID of object that need to be present on the plot to allow this activity. | |
bool | spatiallyExplicit |
int | mapCode |
Code associated to each activity for map output. | |
int | mapRColor |
Red color map output. | |
int | mapGColor |
Green color map output. | |
int | mapBColor |
Blue color map output. | |
vector< vector< double > > | decouplingOptions |
Share of decoupling rights associated to the activity. | |
Friends | |
void | RegData::setDefaultActivities () |
void | RegData::setScenarioActivities () |
Activities can be spatially explicit or implicit.
In the former case, they will depend on specific plots with a compatible land use type and eventually with the presence of certain objects (investments). Now the requirement can be only over ONE investment object, but it can be changed (see the feature wishes list on the doc)
Definition at line 204 of file RegData.h.
RegActivities | ( | ThreadManager * | MTHREAD_h | ) |
Definition at line 1066 of file RegData.cpp.
~RegActivities | ( | ) |
Definition at line 1071 of file RegData.cpp.
double getMatrixGrossMargin | ( | ) | const |
Definition at line 1103 of file RegData.cpp.
map< string, double > getMatrixActRes | ( | ) | const |
vector< double > getMatrixCoefficients | ( | ) |
double getMatrixCoefficientByName | ( | string | cname_h | ) |
int getMapCode | ( | ) | const [inline] |
Definition at line 219 of file RegData.h.
Referenced by Agent_farmer::collectProductionEffects().
Here is the caller graph for this function:
double getDecouplingOption | ( | int | premiumIndex | ) |
Definition at line 1113 of file RegData.cpp.
void RegData::setDefaultActivities | ( | ) | [friend] |
void RegData::setScenarioActivities | ( | ) | [friend] |
string activityName [private] |
string activityComment [private] |
vector<double> matrixGrossMarginByYear [private] |
vector< map<string,double> > matrixActResByYear [private] |
Definition at line 233 of file RegData.h.
Referenced by getMatrixActRes(), getMatrixCoefficientByName(), and getMatrixCoefficients().
vector<int> requiredLandUseCodes [private] |
A vector of Corine land use codes where this activity can be made.
Definition at line 234 of file RegData.h.
Referenced by getRequiredLandUseCodes().
string requiredObjectOnPlot [private] |
ID of object that need to be present on the plot to allow this activity.
Definition at line 235 of file RegData.h.
Referenced by getRequiredObjectOnPlot().
bool spatiallyExplicit [private] |
int mapCode [private] |
Code associated to each activity for map output.
Definition at line 237 of file RegData.h.
Referenced by getMapCode().
int mapRColor [private] |
int mapGColor [private] |
int mapBColor [private] |
vector< vector<double> > decouplingOptions [private] |
Share of decoupling rights associated to the activity.
Definition at line 241 of file RegData.h.
Referenced by getDecouplingOption().