FFSM++
1.1.0
French Forest Sector Model ++
|
Base class for the regmas application. More...
#include <BaseClass.h>
Public Member Functions | |
BaseClass () | |
~BaseClass () | |
void | msgOut (const int &msgCode_h, const string &msg_h, const bool &refreshGUI_h=true) const |
Overloaded function to print the output log. More... | |
void | msgOut (const int &msgCode_h, const int &msg_h, const bool &refreshGUI_h=true) const |
Overloaded function to print the output log. More... | |
void | msgOut (const int &msgCode_h, const double &msg_h, const bool &refreshGUI_h=true) const |
Overloaded function to print the output log. More... | |
int | s2i (const string &string_h) const |
string to integer conversion More... | |
double | s2d (const string &string_h) const |
string to double conversion More... | |
double | s2d (const string &string_h, const bool &replaceComma) const |
string to double conversion More... | |
bool | s2b (const string &string_h) const |
string to bool conversion More... | |
string | i2s (const int &int_h) const |
integer to string conversion More... | |
string | d2s (const double &double_h) const |
double to string conversion More... | |
string | b2s (const bool &bool_h) const |
bool to string conversion More... | |
vector< int > | s2i (const vector< string > &string_h) const |
string to integer conversion (vector) More... | |
vector< double > | s2d (const vector< string > &string_h, const bool &replaceComma=false) const |
string to double conversion (vector) More... | |
vector< bool > | s2b (const vector< string > &string_h) const |
string to bool conversion (vector) More... | |
vector< string > | i2s (const vector< int > &int_h) const |
integer to string conversion (vector) More... | |
vector< string > | d2s (const vector< double > &double_h) const |
double to string conversion (vector) More... | |
vector< string > | b2s (const vector< bool > &bool_h) const |
bool to string conversion (vector) More... | |
int | getType (const string &type_h) const |
Return a type according to enum TYPE_* from a string (eg: "string" -> TYPE_STRING (2)) More... | |
void | refreshGUI () const |
Ping to periodically return the control to the GUI. More... | |
template<typename T > | |
string | toString (const T &x) const |
template<typename T > | |
T | stringTo (const std::string &s) const |
int | vSum (const vector< int > &vector_h) const |
double | vSum (const vector< double > &vector_h) const |
int | vSum (const vector< vector< int > > &vector_h) const |
double | vSum (const vector< vector< double > > &vector_h) const |
void | tokenize (const string &str, vector< string > &tokens, const string &delimiter=" ") const |
Tokenize a string using a delimiter (default is space) More... | |
void | untokenize (string &str, vector< string > &tokens, const string &delimiter=" ") const |
template<typename K , typename V > | |
V | findMap (const map< K, V > &mymap, const K &key, const int &error_level=MSG_CRITICAL_ERROR, const V ¬FoundValue=numeric_limits< V >::min()) const |
Lookup a map for a value. Return the value starting from the key. More... | |
template<typename K , typename V > | |
void | changeMapValue (map< K, V > &mymap, const K &key, const V &value, const int &error_level=MSG_CRITICAL_ERROR) |
Change the value stored in a map given the key and the new value. More... | |
template<typename K , typename V > | |
void | incrMapValue (map< K, V > &mymap, const K &key, const V &value, const int &error_level=MSG_CRITICAL_ERROR) |
Increments a value stored in a map of the specified value, given the key. More... | |
template<typename K , typename V > | |
void | incrOrAddMapValue (map< K, V > &mymap, const K &key, const V &value) |
Increments a value stored in a map of the specified value, given the key. More... | |
template<typename K , typename V > | |
void | resetMapValues (map< K, V > &mymap, const V &value) |
Reset all values stored in a map to the specified one. More... | |
template<typename K , typename V > | |
map< K, V > | vectorToMap (const vector< K > &keys, const V &value=0.0) |
Returns a map built using the given vector and the given (scalar) value as keys/values pairs. More... | |
template<typename T > | |
vector< T > | positionsToContent (const vector< T > &vector_h, const vector< int > &positions) |
Return a vector of content from a vector and a vector of positions (int) More... | |
template<typename V > | |
void | debugMap (const map< iisskey, V > &mymap) |
Debug a map. More... | |
template<typename K , typename V > | |
void | debugMap (const map< K, V > &mymap, const K &key) |
template<typename K > | |
int | getMaxPos (const vector< K > &v) |
Returns the position of the maximum element in the vector (the last one in case of multiple equivalent maxima) More... | |
template<typename K > | |
int | getMinPos (const vector< K > &v) |
Returns the position of the minimum element in the vector (the first one in case of multiple equivalent minima) More... | |
template<typename K > | |
K | getMax (const vector< K > &v) |
Returns the value of the maximum element in the vector (the last one in case of multiple equivalent maxima) More... | |
template<typename K > | |
K | getMin (const vector< K > &v) |
Returns the value of the minimum element in the vector (the first one in case of multiple equivalent minima) More... | |
template<typename K > | |
double | getAvg (const vector< K > &v) |
Returns the average of the elements in the vector. More... | |
template<typename K > | |
double | getSd (const vector< K > &v, bool sample=true) |
template<typename K > | |
int | getPos (const K &element, const vector< K > &v, const int &msgCode_h=MSG_CRITICAL_ERROR) |
template<typename K > | |
bool | inVector (const K &element, const vector< K > &v) |
double | normSample (const double &avg, const double &stdev, const double &minval=NULL, const double &maxval=NULL) const |
Sample from a normal distribution with bounds. Slower (double time, but still you see the diff only after milion of loops). More... | |
template<typename K > | |
K | normSample (normal_distribution< K > &d, std::mt19937 &gen, const K &minval=NULL, const K &maxval=NULL) const |
Sample from a normal distribution with bounds. Faster (half time) as the normal_distribution is made only once. More... | |
template<typename T > | |
std::string | toString (const T &x) const |
Protected Attributes | |
ThreadManager * | MTHREAD |
Pointer to the Thread manager. More... | |
Private Member Functions | |
void | msgOut2 (const int &msgCode_h, const string &msg_h, const bool &refreshGUI_h) const |
Do the job of the overloaded functions. More... | |
Base class for the regmas application.
This class is the base class for all classes in regmas. \ It provides common methods in all parts of the application for printing the output, converting strings vs. values or regularly "ping" the GUI. \
Definition at line 239 of file BaseClass.h.
BaseClass | ( | ) |
Definition at line 31 of file BaseClass.cpp.
~BaseClass | ( | ) |
Definition at line 36 of file BaseClass.cpp.
string b2s | ( | const bool & | bool_h | ) | const |
bool to string conversion
Definition at line 239 of file BaseClass.cpp.
vector< string > b2s | ( | const vector< bool > & | bool_h | ) | const |
bool to string conversion (vector)
Definition at line 299 of file BaseClass.cpp.
|
inline |
Change the value stored in a map given the key and the new value.
Definition at line 299 of file BaseClass.h.
string d2s | ( | const double & | double_h | ) | const |
double to string conversion
Definition at line 229 of file BaseClass.cpp.
Referenced by Layers::countMyPixels(), Layers::filterExogenousDataset(), Layers::print(), ModelCoreSpatial::runBiologicalModule(), ModelCoreSpatial::runManagementModule(), and ModelCoreSpatial::runMarketModule().
vector< string > d2s | ( | const vector< double > & | double_h | ) | const |
double to string conversion (vector)
Definition at line 290 of file BaseClass.cpp.
|
inline |
Debug a map.
Definition at line 368 of file BaseClass.h.
|
inline |
Definition at line 372 of file BaseClass.h.
|
inline |
Lookup a map for a value. Return the value starting from the key.
Definition at line 286 of file BaseClass.h.
Referenced by ModelData::getAvailableDeathTimber(), Carbon::getCumSavedEmissions(), Carbon::getStock(), Carbon::HWP_eol2energy(), Output::printDetailedHV(), ModelCoreSpatial::runManagementModule(), ModelCoreSpatial::sumRegionalForData(), and ModelCoreSpatial::updateMapAreas().
|
inline |
Returns the average of the elements in the vector.
Definition at line 399 of file BaseClass.h.
Referenced by ModelCoreSpatial::assignSpMultiplierPropToVols().
|
inline |
Returns the value of the maximum element in the vector (the last one in case of multiple equivalent maxima)
Definition at line 391 of file BaseClass.h.
Referenced by ModelCoreSpatial::assignSpMultiplierPropToVols(), and ModelCoreSpatial::sumRegionalForData().
|
inline |
Returns the position of the maximum element in the vector (the last one in case of multiple equivalent maxima)
Definition at line 383 of file BaseClass.h.
Referenced by ModelCoreSpatial::runManagementModule().
|
inline |
Returns the value of the minimum element in the vector (the first one in case of multiple equivalent minima)
Definition at line 395 of file BaseClass.h.
|
inline |
Returns the position of the minimum element in the vector (the first one in case of multiple equivalent minima)
Definition at line 387 of file BaseClass.h.
|
inline |
Definition at line 421 of file BaseClass.h.
Referenced by ModelCoreSpatial::runManagementModule().
|
inline |
Returns the sd of the elements of a vector. Default to sample sd.
See http://stackoverflow.com/questions/7616511/calculate-mean-and-standard-deviation-from-a-vector-of-samples-in-c-using-boos where there is also an example for covariance
Definition at line 408 of file BaseClass.h.
Referenced by ModelCoreSpatial::assignSpMultiplierPropToVols().
int getType | ( | const string & | type_h | ) | const |
Return a type according to enum TYPE_* from a string (eg: "string" -> TYPE_STRING (2))
Definition at line 310 of file BaseClass.cpp.
Referenced by ModelData::setDefaultSettings(), and ModelData::setScenarioSettings().
string i2s | ( | const int & | int_h | ) | const |
integer to string conversion
Definition at line 219 of file BaseClass.cpp.
Referenced by Layers::addLegendItems(), ModelData::applyOverrides(), ModelCoreSpatial::assignSpMultiplierPropToVols(), LLData::clean(), ModelCoreSpatial::computeEconomicBalances(), Layers::countMyPixels(), LLData::getData(), Pixel::getDoubleValue(), ModelData::getFilenamesByDir(), ModelData::getForData(), Pixel::getPastRegArea(), Pixel::getPathMortality(), ModelData::getProdData(), ModelData::getRegion(), Pixel::getSTData(), ModelCore::initMarketModule(), ModelCoreSpatial::initMarketModule(), Output::initOptimisationLog(), ModelCoreSpatial::loadExogenousForestLayers(), ModelData::loadInput(), Layers::print(), Layers::printBinMap(), Output::printDebugPixelValues(), Output::printDetailedHV(), Output::printOptLog(), Output::printProductData(), ModelCoreSpatial::registerCarbonEvents(), Scheduler::run(), ModelCoreSpatial::runInitPeriod(), ModelCoreSpatial::runManagementModule(), ModelCore::runMarketModule(), ModelCoreSpatial::runMarketModule(), ModelData::setDefaultForData(), ModelData::setDefaultPathogenRules(), ModelData::setDefaultProdData(), ModelData::setDefaultSettings(), ModelData::setForData(), Init::setInitLevel1(), Init::setInitLevel6(), ModelData::setProdData(), ModelData::setScenarioForData(), ModelData::setScenarioPathogenRules(), ModelData::setScenarioProdData(), ModelData::setScenarioSettings(), ModelData::setTimedData(), InputNode::setWorkingFile(), and ModelCoreSpatial::sumRegionalForData().
vector< string > i2s | ( | const vector< int > & | int_h | ) | const |
integer to string conversion (vector)
Definition at line 281 of file BaseClass.cpp.
|
inline |
Increments a value stored in a map of the specified value, given the key.
Definition at line 312 of file BaseClass.h.
Referenced by Carbon::addSavedEmissions(), and ModelCoreSpatial::runManagementModule().
|
inline |
Increments a value stored in a map of the specified value, given the key.
Definition at line 325 of file BaseClass.h.
Referenced by Carbon::registerDeathBiomass(), Carbon::registerHarvesting(), and ModelCoreSpatial::sumRegionalForData().
|
inline |
Definition at line 429 of file BaseClass.h.
Referenced by ModelData::getForTypeParents().
void msgOut | ( | const int & | msgCode_h, |
const string & | msg_h, | ||
const bool & | refreshGUI_h = true |
||
) | const |
Overloaded function to print the output log.
Overloaded method for the output log:
msgCode_h | MSG_DEBUG, MSG_INFO, MSG_WARNING, MSG_ERROR, MSG_CRITICAL_ERROR |
msg_h | message text (string) |
refreshGUI_h | use this call to "ping" the GUI (optional, default=true) |
Definition at line 50 of file BaseClass.cpp.
Referenced by Layers::addLegendItem(), Layers::addLegendItems(), Carbon::addSavedEmissions(), ModelData::addSetting(), ModelData::applyOverrides(), ModelCoreSpatial::assignSpMultiplierPropToVols(), ModelCoreSpatial::cacheDynamicSettings(), ModelCoreSpatial::cachePixelExogenousData(), ModelCore::cacheSettings(), ModelCoreSpatial::cacheSettings(), Pixel::changeValue(), LLData::clean(), Output::cleanScenario(), ModelCore::computeCumulativeData(), ModelCoreSpatial::computeCumulativeData(), ModelCore::computeInventary(), ModelCoreSpatial::computeInventary(), Layers::countMyPixels(), ModelData::delDir(), Layers::filterExogenousDataset(), ModelRegion::getArea(), ModelData::getBaseData(), InputNode::getBoolContent(), Carbon::getCumSavedEmissions(), LLData::getData(), InputNode::getDoubleAttributeByName(), Pixel::getDoubleValue(), ModelData::getFilenamesByDir(), ModelData::getForData(), ModelData::getForType(), ModelData::getForTypeCounter(), ModelData::getForTypeParentId(), InputNode::getIntAttributeByName(), ModelData::getMaxYearUsableDeathTimber(), Pixel::getMyRegion(), InputNode::getNodeByName(), InputNode::getNodesByName(), Output::getOutputFieldDelimiter(), Pixel::getPastRegArea(), Pixel::getPixelsAtDistLevel(), ModelData::getProdData(), ModelData::getRegion(), ModelData::getScenarioIndex(), Pixel::getSpModifier(), Carbon::getStock(), InputNode::getStringAttributeByName(), ModelData::getTable(), ModelData::getTableFromFile(), ModelData::getTimedData(), ModelRegion::getValue(), ModelData::getVectorBaseData(), Output::initCarbonBalance(), Output::initDebugOutput(), Output::initDebugPixelValues(), Carbon::initialiseDeathBiomassStocks(), Carbon::initialiseProductsStocks(), ModelCoreSpatial::initializePixelArea(), ModelCoreSpatial::initializePixelVolumes(), ModelCore::initMarketModule(), ModelCoreSpatial::initMarketModule(), Output::initOptimisationLog(), Output::initOutputForestData(), Output::initOutputMaps(), Output::initOutputProductData(), ModelData::loadInput(), Layers::print(), Output::printCarbonBalance(), Output::printDebugOutput(), Output::printDebugPixelValues(), Output::printDetailedHV(), Output::printForestData(), Output::printOptLog(), Output::printProductData(), ModelData::regSName2RegId(), ModelCoreSpatial::resetPixelValues(), Scheduler::run(), ModelCore::runBiologicalModule(), ModelCoreSpatial::runBiologicalModule(), ModelCoreSpatial::runInitPeriod(), ModelCore::runManagementModule(), ModelCoreSpatial::runManagementModule(), ModelCore::runMarketModule(), ModelCoreSpatial::runMarketModule(), ModelData::setDefaultForData(), ModelData::setDefaultPathogenRules(), ModelData::setDefaultProdData(), ModelData::setDefaultProductResourceMatrixLink(), ModelData::setDefaultSettings(), ModelData::setForData(), Init::setInitLevel(), Init::setInitLevel1(), Init::setInitLevel6(), Pixel::setPastRegArea(), ModelData::setProdData(), ModelData::setReclassificationRules(), ModelData::setScenarioData(), ModelData::setScenarioSettings(), ModelData::setTimedData(), InputNode::setWorkingFile(), ModelCoreSpatial::sumRegionalForData(), Pixel::swap(), ModelData::unpackKeyForData(), ModelData::unpackKeyProdData(), ModelCore::updateMapAreas(), and ModelCoreSpatial::updateMapAreas().
void msgOut | ( | const int & | msgCode_h, |
const int & | msg_h, | ||
const bool & | refreshGUI_h = true |
||
) | const |
Overloaded function to print the output log.
Overloaded method for the output log:
msgCode_h | MSG_DEBUG, MSG_INFO, MSG_WARNING, MSG_ERROR, MSG_CRITICAL_ERROR |
msg_h | message text (int) |
refreshGUI_h | use this call to "ping" the GUI (optional, default=true) |
Definition at line 65 of file BaseClass.cpp.
void msgOut | ( | const int & | msgCode_h, |
const double & | msg_h, | ||
const bool & | refreshGUI_h = true |
||
) | const |
Overloaded function to print the output log.
Overloaded method for the output log:
msgCode_h | MSG_DEBUG, MSG_INFO, MSG_WARNING, MSG_ERROR, MSG_CRITICAL_ERROR |
msg_h | message text (double) |
refreshGUI_h | use this call to "ping" the GUI (optional, default=true) |
Definition at line 78 of file BaseClass.cpp.
|
private |
Do the job of the overloaded functions.
Convenient (private) function to actually do the job of the overloaded functions
Definition at line 88 of file BaseClass.cpp.
double normSample | ( | const double & | avg, |
const double & | stdev, | ||
const double & | minval = NULL , |
||
const double & | maxval = NULL |
||
) | const |
Sample from a normal distribution with bounds. Slower (double time, but still you see the diff only after milion of loops).
It doesn't require the normal_distribution to be passed to it, but due to including MTHREAD its definition can't be placed in the header and hence it can not be templated, so it works only with doubles.
Definition at line 330 of file BaseClass.cpp.
|
inline |
Sample from a normal distribution with bounds. Faster (half time) as the normal_distribution is made only once.
Definition at line 443 of file BaseClass.h.
|
inline |
Return a vector of content from a vector and a vector of positions (int)
Definition at line 359 of file BaseClass.h.
Referenced by ModelCoreSpatial::computeInventary().
void refreshGUI | ( | ) | const |
Ping to periodically return the control to the GUI.
Definition at line 142 of file BaseClass.cpp.
Referenced by MainProgram::run().
|
inline |
Reset all values stored in a map to the specified one.
Definition at line 341 of file BaseClass.h.
Referenced by ModelCoreSpatial::runManagementModule().
bool s2b | ( | const string & | string_h | ) | const |
string to bool conversion
Includes conversion checks.
Definition at line 208 of file BaseClass.cpp.
Referenced by ModelData::createRegions(), ModelData::getBoolSetting(), and ModelData::getBoolVectorSetting().
vector< bool > s2b | ( | const vector< string > & | string_h | ) | const |
string to bool conversion (vector)
Includes conversion checks.
Definition at line 272 of file BaseClass.cpp.
double s2d | ( | const string & | string_h | ) | const |
string to double conversion
Definition at line 171 of file BaseClass.cpp.
Referenced by ModelData::getDoubleSetting(), ModelData::getDoubleVectorSetting(), ModelData::setDefaultForData(), ModelData::setDefaultPathogenRules(), ModelData::setDefaultProdData(), ModelData::setReclassificationRules(), ModelData::setScenarioForData(), ModelData::setScenarioPathogenRules(), and ModelData::setScenarioProdData().
double s2d | ( | const string & | string_h, |
const bool & | replaceComma | ||
) | const |
string to double conversion
Includes comma to dot conversion if needed.
Definition at line 194 of file BaseClass.cpp.
vector< double > s2d | ( | const vector< string > & | string_h, |
const bool & | replaceComma = false |
||
) | const |
string to double conversion (vector)
Includes comma to dot conversion if needed.
Definition at line 255 of file BaseClass.cpp.
Referenced by s2d().
int s2i | ( | const string & | string_h | ) | const |
string to integer conversion
Definition at line 149 of file BaseClass.cpp.
Referenced by ModelData::createRegions(), ModelData::getIntSetting(), ModelData::getIntVectorSetting(), ModelData::setDefaultProductResourceMatrixLink(), ModelData::setDefaultSettings(), ModelData::setForestTypes(), ModelData::setReclassificationRules(), ModelData::setScenarioSettings(), ModelData::unpackKeyForData(), and ModelData::unpackKeyProdData().
vector< int > s2i | ( | const vector< string > & | string_h | ) | const |
string to integer conversion (vector)
Definition at line 245 of file BaseClass.cpp.
T stringTo | ( | const std::string & | s | ) | const |
Definition at line 348 of file BaseClass.cpp.
void tokenize | ( | const string & | str, |
vector< string > & | tokens, | ||
const string & | delimiter = " " |
||
) | const |
Tokenize a string using a delimiter (default is space)
Definition at line 374 of file BaseClass.cpp.
Referenced by Output::cleanScenario().
string toString | ( | const T & | x | ) | const |
std::string toString | ( | const T & | x | ) | const |
Definition at line 322 of file BaseClass.cpp.
void untokenize | ( | string & | str, |
vector< string > & | tokens, | ||
const string & | delimiter = " " |
||
) | const |
Definition at line 392 of file BaseClass.cpp.
|
inline |
Returns a map built using the given vector and the given (scalar) value as keys/values pairs.
Definition at line 349 of file BaseClass.h.
Referenced by ModelCoreSpatial::runManagementModule().
|
inline |
Definition at line 276 of file BaseClass.h.
Referenced by ModelCoreSpatial::assignSpMultiplierPropToVols(), ModelRegion::getArea(), ModelCoreSpatial::initializePixelArea(), ModelCoreSpatial::loadExogenousForestLayers(), Output::printDebugPixelValues(), ModelCoreSpatial::runManagementModule(), ModelCoreSpatial::sumRegionalForData(), ModelCoreSpatial::updateMapAreas(), and ModelCoreSpatial::updateOtherMapData().
|
inline |
Definition at line 277 of file BaseClass.h.
int vSum | ( | const vector< vector< int > > & | vector_h | ) | const |
Definition at line 356 of file BaseClass.cpp.
double vSum | ( | const vector< vector< double > > & | vector_h | ) | const |
Definition at line 365 of file BaseClass.cpp.
|
protected |
Pointer to the Thread manager.
Through this pointer each derived subclass (the vast maiority of those used on FFSM) can "ask" for sending signals to the GUI, like append the log or modify the map.
Definition at line 467 of file BaseClass.h.
Referenced by ModelCoreSpatial::allocateHarvesting(), ModelCoreSpatial::assignSpMultiplierPropToVols(), ModelCoreSpatial::cacheDynamicSettings(), ModelCoreSpatial::cachePixelExogenousData(), ModelCore::cacheSettings(), ModelCoreSpatial::cacheSettings(), Carbon::Carbon(), Pixel::changeValue(), Output::commonInit(), ModelCore::computeCumulativeData(), ModelCoreSpatial::computeCumulativeData(), ModelCoreSpatial::computeEconomicBalances(), ModelCore::computeInventary(), ModelCoreSpatial::computeInventary(), Layers::countMyPixels(), ModelData::createRegions(), ModelData::getAllocableProductIdsFromDeathTimber(), ModelRegion::getArea(), ModelData::getAvailableAliveTimber(), ModelData::getBaseData(), ModelData::getBoolSetting(), ModelData::getBoolVectorSetting(), Layers::getCategory(), Layers::getColor(), ModelData::getDoubleSetting(), Pixel::getDoubleValue(), ModelData::getDoubleVectorSetting(), ModelData::getIntSetting(), ModelData::getIntVectorSetting(), Pixel::getMultiplier(), Output::getOutputFieldDelimiter(), Pixel::getPathMortality(), Pixel::getPixelsAtDistLevel(), ModelData::getRegionIds(), ModelData::getScenarioIndex(), ModelRegion::getSiblings(), Pixel::getSpModifier(), Pixel::getSTData(), Carbon::getStock(), ModelData::getStringSetting(), ModelData::getStringVectorSetting(), ModelData::getTable(), ModelData::getTableFromFile(), ModelData::getTimedData(), ModelCoreSpatial::getVHaByYear(), ModelCore::gfd(), ModelCoreSpatial::gfd(), ModelCore::gpd(), ModelCoreSpatial::gpd(), Carbon::HWP_eol2energy(), Init::Init(), ModelCoreSpatial::initialiseCarbonModule(), Carbon::initialiseDeathBiomassStocks(), ModelCoreSpatial::initialiseDeathTimber(), Carbon::initialiseEmissionCounters(), Carbon::initialiseProductsStocks(), ModelCoreSpatial::initializePixelArea(), ModelCoreSpatial::initializePixelVolumes(), Output::initOutputForestData(), Layers::Layers(), LLData::LLData(), ModelCoreSpatial::loadExogenousForestLayers(), ModelData::loadInput(), MainProgram::MainProgram(), ModelCore::ModelCore(), ModelCoreSpatial::ModelCoreSpatial(), ModelData::ModelData(), ModelRegion::ModelRegion(), Output::Output(), Pixel::Pixel(), Output::print(), Layers::print(), Layers::printBinMap(), Output::printCarbonBalance(), Output::printDebugOutput(), Output::printDebugPixelValues(), Output::printDetailedHV(), Output::printFinalOutput(), Output::printForestData(), Output::printMaps(), Output::printOptLog(), Output::printProductData(), Layers::randomShuffle(), ModelData::regId2RegSName(), ModelCoreSpatial::registerCarbonEvents(), Carbon::registerDeathBiomass(), Carbon::registerHarvesting(), Carbon::registerProducts(), Carbon::registerTransports(), ModelData::regSName2RegId(), ModelCoreSpatial::resetPixelValues(), Scheduler::run(), MainProgram::run(), ModelCore::runBiologicalModule(), ModelCoreSpatial::runBiologicalModule(), ModelCore::runInitPeriod(), ModelCoreSpatial::runInitPeriod(), ModelCore::runManagementModule(), ModelCoreSpatial::runManagementModule(), ModelCore::runMarketModule(), ModelCoreSpatial::runMarketModule(), ModelCore::runSimulationYear(), ModelCoreSpatial::runSimulationYear(), Scheduler::Scheduler(), ModelData::setDefaultSettings(), Init::setInitLevel1(), Init::setInitLevel3(), Init::setInitLevel5(), Init::setInitLevel6(), ModelRegion::setMyPixels(), ModelData::setOutputDirectory(), ModelData::setScenarioData(), ModelData::setScenarioSettings(), ModelData::setTimedData(), ModelCore::sfd(), ModelCoreSpatial::sfd(), ModelCore::spd(), ModelCoreSpatial::spd(), ModelCoreSpatial::sumRegionalForData(), ModelCore::updateMapAreas(), ModelCoreSpatial::updateMapAreas(), and ModelCoreSpatial::updateOtherMapData().