Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

BasicEnums.h File Reference

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define AGENTF_ENTRIES_BEFORE_LABOR   11
#define AGENTF_ENTRIES_BEFORE_PER_HA   5
#define STATUS_ADDITIONAL   1
#define CULTIVO_ENTRIES_BEFORE_LABOR   3
#define GHANA_NONIRRIGABLE_PLOT   0
 some country-specific defines needed for lottery
#define CHILE_SOIL_TYPE_FRUITS   0
#define PEAK_LABOR_FRUIT   0.75
#define PEAK_LABOR_BERRY   1.5
#define MIN_HECTARE_T2   5.0

Enumerations

enum  WaterAssignmentType { onlyActual, onlyRandom, bothRights }
 assigment of water rights to agents More...
enum  typeIrrigationMethod {
  irrigMethodFlood, irrigMethodFurrow, irrigMethodTerrassing, irrigMethodDrip,
  irrigMethodImprovedFurrow, irrigMethodAdvancedFurrow, irrigMethodSprinkler, irrigMethodTape,
  irrigMethodCenterPivot, irrigMethodMicroSprinkler, irrigMethodEND
}
enum  TypeRoleInCoupling {
  typeSequencer, typeDatamanager, typeMPMAS, typeWasimWrapper,
  typeCropModel
}
enum  TypeDataExchangeType { typeMatrixDouble, typeRaster2D }
enum  TypeDataExchangeChannel {
  typeControllerToPerif1, typePerif1ToController, typeControllerToPerif2, typePerif2ToController,
  typeControllerToPerif3, typePerif3ToController, typeControllerToPerif4, typePerif4ToController,
  typeControllerToPerif5, typePerif5ToController, typeControllerToPerif6, typePerif6ToController
}
enum  TypeHydroModel { typeHydroNull, typeHydroEdic, typeHydroWasim }
enum  TypeCropModel { typeCropNull, typeCropTspc, typeCropWat }
enum  TypeEdicFlow {
  enumMethodPlantuptake, enumMethodSurfaceOvernight, enumMethodSurface, enumMethodLateral,
  enumMethodDeep, enumMethod_MAX_read, enumMethodCanalDeep, enumMethodCanalLateral,
  enumMethodCanalSurface, enumMethodEND
}
enum  POSITIONMATRIXtranslation {
  posM_LPcol, posM_crA, posM_CropID, posM_tech,
  posM_max, posM_LUwasim, posM_freq, posM_binQuant,
  posM_bin, posM_numG
}
enum  EnumFileType {
  fileTypeGisInput, fileTypeGisOutputYearly, fileTypeGisOutputMonthly, fileTypeIsDAT,
  fileTypeIsDatByCatchment, fileTypeIsDatYearly, fileTypeIsDatMonthly, fileTypeIsTEST,
  fileTypeIsOUT, fileTypeIsOutByCatchment, fileTypeIsOutByCatchmentAndMonth
}
enum  Content {
  contFarmID, contPropID, contSoilID, contCluID,
  contNetwID, contPopID, contAgentID, contDistFromHome,
  contUser, contSectorID, contENDBASIC, contSoilN,
  contSoilP, contSoilK, contSoilA, contSoilC,
  contSoilSl, contSoilSe, contSlopeLen, contSlopeErosion,
  contSoilCond, contENDTSPC, contCropAct, contPrecip,
  contIrrigQuantEdic, contENDIRRIG, contSoilMoist, contSoilMoist05,
  contSoilMoist1, contETpot, contETreal, contSurfaceRunoff,
  contPercol, contBaseFlow, contGroundwaterRecharge, contIrrigGrid,
  contLUGrid, contLUwasim, contETdiff, contFlowMat,
  contWATERWAYS, contDEM, contIrrigQuant, contInterceptEvap,
  contThrougfall, contENDCOUPL, contLUTable, contIrrigTable,
  fileTypeBasicData, fileTypeMarket, fileTypePCrops, fileTypeSoils,
  fileTypeMILP, fileTypeLivestock, fileTypeSegment, fileTypePopulation,
  fileTypeCluster, fileTypeEdicCalibrationFactor, fileTypeEdicSurfaceRunoff, fileTypeEdicLateralFlows,
  fileTypeEdicRiverFlows, fileTypeEdicIrrigationMethods, fileTypeRegion, fileTypeCropWat,
  fileTypeEffectivePrecip, fileTypeActualPrecip, fileTypeSectorRandomWaterRights, fileTypeSectorActualWaterRights,
  fileTypeSectorInfrastructureProjects, fileTypeLanduseByCatchment, fileTypeTimeHandler, fileTypeIrrigationFactors,
  fileTypeSpatialExportInfo, fileTypeENDFILETYPE, contIsInit, contNotInit,
  contNotFound, contData, contNOTYPE, contEMPTY,
  contNoDataVal, contmapData, contCntrlData, contSectorCntrl,
  contOutputData, contMonthlyData, contMAXLEN
}
enum  ExportType {
  expFlowMat, expIrrigTable, expLUTable, expIrrigGrid,
  expLUGrid, expWATERWAYS, expDEM, expSoilMoist,
  expSoilMoist05, expSoilMoist1, expETpot, expETreal,
  expETdiff, expPrecip, expIrrigQuant, expSurfaceRunoff,
  expBaseFlow, expGroundwaterRecharge, expInterceptEvap, expThroughfall,
  expPercol, expNOTYPE
}
enum  KEYTYPE {
  keyDEFAULTS, keyMAS2WASIM, keyCROPACT, keyWASIMFILENAMES,
  keySECTORtight, keySECTORFULL, keyENUM_SECIDS, keyENUM_CatchIDS,
  keyDATAEXCH, keyACTIVITY, keyLU_fixed, keyPROP,
  keyELEV, keyLOG, keyLOG2, keyTABLE_onetime,
  keyTABLE_timeseries, keyLUFILTER, keyFILTER_FINE, keyWasimZONEascii,
  keyINFLOWvect, keyMedianVect, keyMonthlyDir, keyAbstraTrunk,
  keyIrrigDir, keyIrrigTrunk, keySectorRaster_WasimResolution, keyZoneBinary,
  keyWasimControlTemp, keyWasimControlFin, keyIRR_InflowMat, keyTimeHandler,
  keyFilenamesInitialize, keyIrrigationTableBackground, keyWasimIrrigationRasterBackground, keyWasimIrrigationRasterBinary,
  keyWasimRasterLanduseBackground, keyIrrigationTableForStandalone, keyIrrigationGridForStandalone, keyLanduseGridForStandalone,
  keyCropKey, keyActivityKey, keyIrrigationFactors, keyFilesMax
}
enum  enumIrrigationPosition { posIrrID, posIrrTech, posIrrClust, posIrrLUC }
enum  SolverType { symphony, cbc, osl }
 Encoding of MIP solver type. More...
enum  CapacityType {
  labor, liquidity, firstWater, firstSoil,
  averageCapital, averageLabor, averageMachinery, binaryDisinvestmentCap,
  firstFoodNutrientDemand, soilInvestments
}
 Enumeration to encode capacity types in class ProblemDescripion. More...
enum  ActivityType {
  saving, extraConsumption, femaleLaborYes, femaleLaborNo,
  maleLaborYes, maleLaborNo, binaryDisinvestmentAct, manureAccounting,
  fixedVariablesConsumption
}
 Enumeration to encode activity types in class ProblemDescripion. More...
enum  EarningType {
  other, earningsInCash, earningsInKind, purchasedFood,
  consumedProducedFood
}
 Enumeration to encode type of earnings in income statement. More...
enum  enumYieldInfo {
  typeYieldInfo_waterActivityID, typeYieldInfo_areaPlanted, typeYieldInfo_lpColumn, typeYieldInfo_priceColumn,
  typeYieldInfo_yieldRow, typeYieldInfo_irrigationPriority, typeYieldInfo_irrigationType, typeYieldInfo_plantShare,
  typeYieldInfo_preHarvestCostsPerHa, typeYieldInfo_potentialYieldPerHa, typeYieldInfo_expectedYieldPerHa, typeYieldInfo_actualYieldPerHa,
  typeYieldInfo_potentialTotalProduction, typeYieldInfo_expectedTotalProduction, typeYieldInfo_actualTotalProduction, typeYieldInfo_reductionCoefficientKr,
  typeYieldInfo_yieldReductionFactor, typeYieldInfo_totalProductionLoss, typeYieldInfo_MAX
}
enum  enumActivityType {
  type_sellingBuying, type_irrigatedAnnual, type_irrigatedPerennial, type_divisibleIrrigated,
  type_indivisible, type_rainfedAnnual, type_rainfedPerennial, type_activityTypeMAX
}
enum  columnsInPermamentCropsRegistry {
  typePermCrops_investmentObjectID, typePermCrops_status, typePermCrops_activityLP, typePermCrops_yieldRowLP,
  typePermCrops_sizeHa, typePermCrops_currentCropYield, typePermCrops_currentVariableCosts, typePermCrops_currentPreHarvestCosts,
  typePermCrops_futureCropYield, typePermCrops_futureVariableCosts, typePermCrops_futurePreHarvestCosts, typePermCrops_MAX
}
enum  enumTypeCanalModel {
  typeModeInherited, typeModeRedistributed, typeModeRedistributedLambda, typeModeMixedInhRedistr,
  typeModeMixedInhRedistrLambda, max_typeModeMixed
}
enum  rowsInPerennialCropsHandler { permCropsHandler_relativeYield, permCropsHandler_preHarvestCosts, permCropsHandler_harvestCosts, permCropsHandler_MAX }
enum  objectTypesInLottery {
  objTypeLeverage = -5, objTypeLiquidity, objTypeExpectations, objTypeInnovativeness,
  objTypeFemaleHead, objTypeDefault, objTypeNoLandDemand, objTypeSymbolicObjects,
  objTypeFruitProduction, objTypeBerryProduction, objTypeHiringPeakLabor, objTypeMachineryT0,
  objTypeMachineryT1, objTypeMachineryT2, objTypeMachineryT3, objTypeHiringT2,
  objTypeHiringT3, objTypeMAX
}


Define Documentation

#define AGENTF_ENTRIES_BEFORE_LABOR   11
 

#define AGENTF_ENTRIES_BEFORE_PER_HA   5
 

#define CHILE_SOIL_TYPE_FRUITS   0
 

#define CULTIVO_ENTRIES_BEFORE_LABOR   3
 

#define GHANA_NONIRRIGABLE_PLOT   0
 

some country-specific defines needed for lottery

#define MIN_HECTARE_T2   5.0
 

#define PEAK_LABOR_BERRY   1.5
 

#define PEAK_LABOR_FRUIT   0.75
 

#define STATUS_ADDITIONAL   1
 


Enumeration Type Documentation

enum ActivityType
 

Enumeration to encode activity types in class ProblemDescripion.

Enumeration values:
saving 
extraConsumption 
femaleLaborYes 
femaleLaborNo 
maleLaborYes 
maleLaborNo 
binaryDisinvestmentAct 
manureAccounting 
fixedVariablesConsumption 

enum CapacityType
 

Enumeration to encode capacity types in class ProblemDescripion.

Enumeration values:
labor 
liquidity 
firstWater 
firstSoil 
averageCapital 
averageLabor 
averageMachinery 
binaryDisinvestmentCap 
firstFoodNutrientDemand 
soilInvestments 

enum columnsInPermamentCropsRegistry
 

Enumeration values:
typePermCrops_investmentObjectID 
typePermCrops_status 
typePermCrops_activityLP 
typePermCrops_yieldRowLP 
typePermCrops_sizeHa 
typePermCrops_currentCropYield 
typePermCrops_currentVariableCosts 
typePermCrops_currentPreHarvestCosts 
typePermCrops_futureCropYield 
typePermCrops_futureVariableCosts 
typePermCrops_futurePreHarvestCosts 
typePermCrops_MAX 

enum Content
 

Enumeration values:
contFarmID 
contPropID 
contSoilID 
contCluID 
contNetwID 
contPopID 
contAgentID 
contDistFromHome 
contUser 
contSectorID 
contENDBASIC 
contSoilN 
contSoilP 
contSoilK 
contSoilA 
contSoilC 
contSoilSl 
contSoilSe 
contSlopeLen 
contSlopeErosion 
contSoilCond 
contENDTSPC 
contCropAct 
contPrecip 
contIrrigQuantEdic 
contENDIRRIG 
contSoilMoist 
contSoilMoist05 
contSoilMoist1 
contETpot 
contETreal 
contSurfaceRunoff 
contPercol 
contBaseFlow 
contGroundwaterRecharge 
contIrrigGrid 
contLUGrid 
contLUwasim 
contETdiff 
contFlowMat 
contWATERWAYS 
contDEM 
contIrrigQuant 
contInterceptEvap 
contThrougfall 
contENDCOUPL 
contLUTable 
contIrrigTable 
fileTypeBasicData 
fileTypeMarket 
fileTypePCrops 
fileTypeSoils 
fileTypeMILP 
fileTypeLivestock 
fileTypeSegment 
fileTypePopulation 
fileTypeCluster 
fileTypeEdicCalibrationFactor 
fileTypeEdicSurfaceRunoff 
fileTypeEdicLateralFlows 
fileTypeEdicRiverFlows 
fileTypeEdicIrrigationMethods 
fileTypeRegion 
fileTypeCropWat 
fileTypeEffectivePrecip 
fileTypeActualPrecip 
fileTypeSectorRandomWaterRights 
fileTypeSectorActualWaterRights 
fileTypeSectorInfrastructureProjects 
fileTypeLanduseByCatchment 
fileTypeTimeHandler 
fileTypeIrrigationFactors 
fileTypeSpatialExportInfo 
fileTypeENDFILETYPE 
contIsInit 
contNotInit 
contNotFound 
contData 
contNOTYPE 
contEMPTY 
contNoDataVal 
contmapData 
contCntrlData 
contSectorCntrl 
contOutputData 
contMonthlyData 
contMAXLEN 

enum EarningType
 

Enumeration to encode type of earnings in income statement.

Enumeration values:
other 
earningsInCash 
earningsInKind 
purchasedFood 
consumedProducedFood 

enum enumActivityType
 

Enumeration values:
type_sellingBuying 
type_irrigatedAnnual 
type_irrigatedPerennial 
type_divisibleIrrigated 
type_indivisible 
type_rainfedAnnual 
type_rainfedPerennial 
type_activityTypeMAX 

enum EnumFileType
 

Enumeration values:
fileTypeGisInput 
fileTypeGisOutputYearly 
fileTypeGisOutputMonthly 
fileTypeIsDAT 
fileTypeIsDatByCatchment 
fileTypeIsDatYearly 
fileTypeIsDatMonthly 
fileTypeIsTEST 
fileTypeIsOUT 
fileTypeIsOutByCatchment 
fileTypeIsOutByCatchmentAndMonth 

enum enumIrrigationPosition
 

Enumeration values:
posIrrID 
posIrrTech 
posIrrClust 
posIrrLUC 

enum enumTypeCanalModel
 

Enumeration values:
typeModeInherited 
typeModeRedistributed 
typeModeRedistributedLambda 
typeModeMixedInhRedistr 
typeModeMixedInhRedistrLambda 
max_typeModeMixed 

enum enumYieldInfo
 

Enumeration values:
typeYieldInfo_waterActivityID 
typeYieldInfo_areaPlanted 
typeYieldInfo_lpColumn 
typeYieldInfo_priceColumn 
typeYieldInfo_yieldRow 
typeYieldInfo_irrigationPriority 
typeYieldInfo_irrigationType 
typeYieldInfo_plantShare 
typeYieldInfo_preHarvestCostsPerHa 
typeYieldInfo_potentialYieldPerHa 
typeYieldInfo_expectedYieldPerHa 
typeYieldInfo_actualYieldPerHa 
typeYieldInfo_potentialTotalProduction 
typeYieldInfo_expectedTotalProduction 
typeYieldInfo_actualTotalProduction 
typeYieldInfo_reductionCoefficientKr 
typeYieldInfo_yieldReductionFactor 
typeYieldInfo_totalProductionLoss 
typeYieldInfo_MAX 

enum ExportType
 

Enumeration values:
expFlowMat 
expIrrigTable 
expLUTable 
expIrrigGrid 
expLUGrid 
expWATERWAYS 
expDEM 
expSoilMoist 
expSoilMoist05 
expSoilMoist1 
expETpot 
expETreal 
expETdiff 
expPrecip 
expIrrigQuant 
expSurfaceRunoff 
expBaseFlow 
expGroundwaterRecharge 
expInterceptEvap 
expThroughfall 
expPercol 
expNOTYPE 

enum KEYTYPE
 

Enumeration values:
keyDEFAULTS 
keyMAS2WASIM 
keyCROPACT 
keyWASIMFILENAMES 
keySECTORtight 
keySECTORFULL 
keyENUM_SECIDS 
keyENUM_CatchIDS 
keyDATAEXCH 
keyACTIVITY 
keyLU_fixed 
keyPROP 
keyELEV 
keyLOG 
keyLOG2 
keyTABLE_onetime 
keyTABLE_timeseries 
keyLUFILTER 
keyFILTER_FINE 
keyWasimZONEascii 
keyINFLOWvect 
keyMedianVect 
keyMonthlyDir 
keyAbstraTrunk 
keyIrrigDir 
keyIrrigTrunk 
keySectorRaster_WasimResolution 
keyZoneBinary 
keyWasimControlTemp 
keyWasimControlFin 
keyIRR_InflowMat 
keyTimeHandler 
keyFilenamesInitialize 
keyIrrigationTableBackground 
keyWasimIrrigationRasterBackground 
keyWasimIrrigationRasterBinary 
keyWasimRasterLanduseBackground 
keyIrrigationTableForStandalone 
keyIrrigationGridForStandalone 
keyLanduseGridForStandalone 
keyCropKey 
keyActivityKey 
keyIrrigationFactors 
keyFilesMax 

enum objectTypesInLottery
 

Enumeration values:
objTypeLeverage 
objTypeLiquidity 
objTypeExpectations 
objTypeInnovativeness 
objTypeFemaleHead 
objTypeDefault 
objTypeNoLandDemand 
objTypeSymbolicObjects 
objTypeFruitProduction 
objTypeBerryProduction 
objTypeHiringPeakLabor 
objTypeMachineryT0 
objTypeMachineryT1 
objTypeMachineryT2 
objTypeMachineryT3 
objTypeHiringT2 
objTypeHiringT3 
objTypeMAX 

enum POSITIONMATRIXtranslation
 

Enumeration values:
posM_LPcol 
posM_crA 
posM_CropID 
posM_tech 
posM_max 
posM_LUwasim 
posM_freq 
posM_binQuant 
posM_bin 
posM_numG 

enum rowsInPerennialCropsHandler
 

Enumeration values:
permCropsHandler_relativeYield 
permCropsHandler_preHarvestCosts 
permCropsHandler_harvestCosts 
permCropsHandler_MAX 

enum SolverType
 

Encoding of MIP solver type.

The enumeration SolverType is used in the solver choosing section of MipHandler::switchSolver()

Enumeration values:
symphony 
cbc 
osl 

enum TypeCropModel
 

Enumeration values:
typeCropNull 
typeCropTspc 
typeCropWat 

enum TypeDataExchangeChannel
 

Enumeration values:
typeControllerToPerif1 
typePerif1ToController 
typeControllerToPerif2 
typePerif2ToController 
typeControllerToPerif3 
typePerif3ToController 
typeControllerToPerif4 
typePerif4ToController 
typeControllerToPerif5 
typePerif5ToController 
typeControllerToPerif6 
typePerif6ToController 

enum TypeDataExchangeType
 

Enumeration values:
typeMatrixDouble 
typeRaster2D 

enum TypeEdicFlow
 

Enumeration values:
enumMethodPlantuptake 
enumMethodSurfaceOvernight 
enumMethodSurface 
enumMethodLateral 
enumMethodDeep 
enumMethod_MAX_read 
enumMethodCanalDeep 
enumMethodCanalLateral 
enumMethodCanalSurface 
enumMethodEND 

enum TypeHydroModel
 

Enumeration values:
typeHydroNull 
typeHydroEdic 
typeHydroWasim 

enum typeIrrigationMethod
 

Enumeration values:
irrigMethodFlood 
irrigMethodFurrow 
irrigMethodTerrassing 
irrigMethodDrip 
irrigMethodImprovedFurrow 
irrigMethodAdvancedFurrow 
irrigMethodSprinkler 
irrigMethodTape 
irrigMethodCenterPivot 
irrigMethodMicroSprinkler 
irrigMethodEND 

enum TypeRoleInCoupling
 

Enumeration values:
typeSequencer 
typeDatamanager 
typeMPMAS 
typeWasimWrapper 
typeCropModel 

enum WaterAssignmentType
 

assigment of water rights to agents

Enumeration values:
onlyActual 
onlyRandom 
bothRights 


Generated on Thu Aug 28 12:38:57 2008 for MPMAS by  doxygen 1.3.9.1