#include <Opt.h>
Collaboration diagram for matrixActivities:
Public Member Functions | |
bool | isSpatial () |
Public Attributes | |
string | name |
false->normal activity, true->spatial activity name of the mould activity or object | |
string | fullName |
name of the mould activity or object plus the plot ID | |
bool | isInvest |
0->continuous/activity, 1->integer/investment | |
double | objValue |
objective value | |
vector< double > | values |
matrix values | |
double | q |
MIP result quantities. | |
double | cachedQ |
cached valued of output quantities | |
const Pixel * | plotHost |
plot where the activity is hosted (if it is a spatial activity) | |
RegActivities * | actMould |
pointer to the original activity mould | |
ModelObject * | objMould |
pointer to the original object mould |
matrixActivities are initialized from the activity moulds, but are then each one "filtered" by each agents thatcan change them according to some personal data. E.g. for spatial activities, the distance costs from the hosting plot and the farmstead are subtracted from the gross margin.
Definition at line 91 of file Opt.h.
string name |
false->normal activity, true->spatial activity name of the mould activity or object
Definition at line 92 of file Opt.h.
Referenced by Opt::addPixel(), and Opt::updateActivities().
string fullName |
name of the mould activity or object plus the plot ID
Definition at line 94 of file Opt.h.
Referenced by Opt::addPixel(), and Opt::updateActivities().
bool isInvest |
0->continuous/activity, 1->integer/investment
Definition at line 96 of file Opt.h.
Referenced by Opt::addPixel(), and Opt::updateActivities().
double objValue |
objective value
Definition at line 97 of file Opt.h.
Referenced by Opt::addPixel(), Agent_farmer::filterActivity(), and Opt::updateActivities().
vector<double> values |
matrix values
Definition at line 98 of file Opt.h.
Referenced by Opt::addPixel(), and Opt::updateActivities().
double q |
MIP result quantities.
Definition at line 99 of file Opt.h.
Referenced by Opt::addPixel(), and Opt::updateActivities().
plot where the activity is hosted (if it is a spatial activity)
Definition at line 102 of file Opt.h.
Referenced by Opt::addPixel(), Agent_farmer::filterActivity(), and Opt::updateActivities().
pointer to the original activity mould
Definition at line 103 of file Opt.h.
Referenced by Opt::addPixel(), and Opt::updateActivities().
pointer to the original object mould
Definition at line 104 of file Opt.h.
Referenced by Opt::addPixel(), and Opt::updateActivities().