ALMaSS Partridge ODdox
1.1
The partridge model description following ODdox protocol
|
Go to the documentation of this file.
27 #define _CRTDBG_MAP_ALLOC
56 class RodenticidePredators_Population_Manager;
164 #ifdef __RECORDFARMEVENTS
165 ofstream *m_farmeventfile;
184 #ifdef __RECORDFARMEVENTS
185 void RecordEvent(
int a_event,
int a_day,
int a_year) {
186 (*m_farmeventfile) << a_event <<
'\t' << a_day <<
'\t' << a_year << endl;
208 void PolysDump(
const char *a_filename );
209 void DumpMap(
const char *a_filename );
215 unsigned int sz = (int)
m_elems.size();
216 for (
unsigned int i = 0; i < sz; i++)
228 void EventDump(
int x,
int y,
int x2,
int y2);
243 bool BorderTest(
int a_fieldpoly,
int a_borderpoly,
int a_x,
int a_y );
244 bool StepOneValid(
int a_polyindex,
int a_x,
int a_y,
int step );
245 bool UMarginTest(
int a_fieldpoly,
int a_borderpoly,
int a_x,
int a_y,
int a_width );
247 bool BorderStep(
int a_fieldpoly,
int a_borderpoly,
int* a_x,
int* a_y);
248 bool BorderStep(
int a_fieldpoly,
int a_borderpoly, APoint* a_coord);
256 void AxisLoop(
int a_poly,
int* a_x,
int* a_y,
int a_axis);
257 void AxisLoop(
int a_poly, APoint* a_cor,
int a_axis);
258 void AxisLoopLtd(
int a_poly, APoint* a_cor,
int a_axis,
int a_limit);
294 int a_neighbour_color );
308 void hb_dump_map(
int a_beginx,
int a_width,
309 int a_beginy,
int a_height,
311 bool a_high_numbers );
312 int hb_dump_color(
int a_x,
int a_y,
313 bool a_high_numbers );
449 int LineHighTest(
int a_cx,
int a_cy,
double a_offsetx,
double a_offsety);
548 if (a_goose == gs_Pinkfoot)
552 if (a_goose == gs_Barnacle)
554 if (a_height == 0.0)
return 0.0;
557 if (a_goose == gs_Greylag)
561 Warn(
"Landscape::SupplyGooseGrazingForage",
"Unknown Goose Type");
574 if (a_goose == gs_Pinkfoot)
578 if (a_goose == gs_Barnacle)
582 if (a_goose == gs_Greylag)
586 Warn(
"Landscape::SupplyGooseGrazingForage",
"Unknown Goose Type");
793 bool a_dump_zero_areas,
794 bool a_write_veg_names
797 void Warn( std::string a_msg1, std::string a_msg2 );
916 return m_elems[ a_index ]->GetDigestability();
933 return m_elems[ a_index ]->GetVegHeight();
950 return m_elems[ a_index ]->GetVegBiomass();
1055 return m_elems[ a_index ]->GetVegCover();
1065 return m_elems[a_index]->GetLastSownVeg();
1106 return m_elems[ a_index ]->GetElementType();
1194 opf = dynamic_cast<OptimisingFarm*>(
m_elems[
m_land->
Get( a_x, a_y ) ]->GetOwner());
1195 return opf-> Get_farmType();
1202 return m_elems[ a_polyref ]->GetArea();
1222 return m_elems[ a_index ]->GetVegType();
1234 return m_elems[ a_index ]->GetCattleGrazing();
1260 return m_elems[ a_index ]->IsRecentlyMown();
1272 return m_elems[ a_index ]->IsRecentlySprayed();
1453 return m_elems[ a_index ]->GetPoly();
1463 return (
unsigned int)
m_elems.size();
1518 return m_elems[ a_magic ]->GetPoly();
1562 if (a_pt.m_x < 0) a_pt.m_x = 0;
1563 if (a_pt.m_y < 0) a_pt.m_y = 0;
1673 #endif // LANDSCAPE_H
double SupplyVegCoverVector(unsigned int a_index)
int BackTranslateEleTypes(TTypesOfLandscapeElement EleReference)
void CalculateCentroids(void)
vector< int > m_PondRefsList
List of pond polyrefs.
void hb_MarkTopFromLocalMax(int a_color)
TTypesOfFarm SupplyFarmType(int a_polyref)
double SupplyVegDigestability(int a_polyref)
void ResetGrainAndMaize()
Resets all grain.
LE * SupplyLEPointer(int a_polyref)
void DumpMapInfoByArea(const char *a_filename, bool a_append, bool a_dump_zero_areas, bool a_write_veg_names)
unsigned int SupplyNumberOfPolygons(void)
bool SubtractPondLarvalFood(double a_food, int a_polyrefindex)
Removes larval food from a pond and returns true if it was possible, otherwise false.
int SupplyJustSprayed(int a_polyref)
double SupplyGreenBiomass(int a_polyref)
PlantProtectionProducts
A list PPP names for tracking by the Pesticide class.
int SupplyNumberOfFarms()
TTypesOfVegetation TranslateVegTypes(int VegReference)
double SupplyHumidity(void)
RodenticidePredators_Population_Manager * m_RodenticidePreds
bool SupplyPesticideDecay(PlantProtectionProducts a_ppp)
Returns true if there is any pesticide in the system at all at this point.
double SupplyLATotal(int a_x, int a_y)
double SupplyMeanTemp(long a_date, unsigned int a_period)
int MagicMapP2PolyRef(int a_magic)
void DumpMap(const char *a_filename)
vector< LE * > hb_new_hbs
int SupplyCountryDesig(int a_x, int a_y)
int SupplyRandomPondRef()
Returns random pond polyref.
bool hb_MapBorder(int a_x, int a_y)
bool SupplyJustMown(int a_polyref)
TTypesOfVegetation SupplyVegType(int a_x, int a_y)
void hb_PaintBorder(int a_color)
TTypesOfLandscapeElement SupplyElementType(int a_polyref)
int SupplySimAreaMaxExtent(void)
void PolysDump(const char *a_filename)
int CalulateFieldOpennessCentroid(int a_pref)
Provides a measure of the shortest distance in 360 degree, e-g- looking NE % SW before tall obstacles...
std::string VegtypeToString(TTypesOfVegetation a_veg)
int RemoveSmallPolygons(void)
Removes small polygons from the map.
double SupplyVegBiomassVector(unsigned int a_index)
int SupplyOpenness(int a_x, int a_y)
Get openness for a location.
bool UMarginTest(int a_fieldpoly, int a_borderpoly, int a_x, int a_y, int a_width)
double SupplyVegHeightVector(unsigned int a_index)
double SupplySnowDepth(void)
bool BorderStep(int a_fieldpoly, int a_borderpoly, int *a_x, int *a_y)
bool hb_FindBoundingBox(int a_poly_num)
vector< unsigned > polylist
double SupplyLAGreen(int a_polyref)
bool SupplySkScrapes(int a_polyref)
double GetActualGooseGrazingForage(int a_polygon, GooseSpecies a_goose)
Returns the leaf forage resource as seen from a goose standpoint at a polygon referenced by x,...
int SupplyWindDirection(void)
void RecordGooseNumbersTimed(int a_poly, int a_number)
This records the number of geese on the polygon the day before at a predefined time....
void hb_AddNewHedgebanks(int a_orig_poly_num)
bool SupplyOsmiaNest(int a_x, int a_y)
Find out whether an osmia nest can be made here.
void DumpAllSymbolsAndExit(const char *a_dumpfile)
int hb_MaxUnpaintedNegNeighbour(int a_x, int a_y)
void RemoveMissingValues()
A method for replacing missing values in the map with corrected ones - slow.
int SupplyCentroidY(int a_polyref)
int SupplyFarmArea(int a_polyref)
void SetMaleNewtPresent(int a_InPondIndex)
Sets a male as being present in a pond.
void VegDump(int x, int y)
class LE_TypeClass * g_letype
void GISASCII_Output(string outpfile, int UTMX, int UTMY)
Write ASCII file of the ALMaSS map.
Farm * SupplyFarmPtr(int a_owner)
int Get(int a_x, int a_y)
void CorrectCoords(int &x, int &y)
Function to prevent wrap around errors with co-ordinates using x/y pair.
int SupplyOpenness(int a_poly)
Get openness for a polygon.
int SupplyGrazingPressure(int a_polyref)
double SupplyDaylightProp()
double SupplyBirdMaizeForage(int a_polyref)
Returns the maize forage resource.
int HowManyPonds()
Returns the number of ponds in the landscape.
PollenNectarQuality SupplyPollen(int a_polyref)
bool SupplyJustMownVector(unsigned int a_index)
int BackTranslateVegTypes(TTypesOfVegetation VegReference)
int SupplyPolyRefCC(int a_x, int a_y)
void hb_DownPolyNumbers(void)
TTypesOfOptFarms SupplyOptFarmType(int a_x, int a_y)
int SupplyCentroidY(int a_x, int a_y)
bool SupplySnowcover(void)
void SkylarkEvaluation(SkTerritories *a_skt)
int SupplySoilTypeR(int a_x, int a_y)
Returns the soil type in rabbit warren reference numbers.
PollenNectarQuality SupplyPollen(int a_x, int a_y)
bool BorderNeed(TTypesOfLandscapeElement a_letype)
PollenNectarQuality SupplyNectar(int a_polyref)
bool SupplyOverspray(int a_x, int a_y)
Gets the overspray flag.
double SupplyTotalPollen(int a_polyref)
int SupplyTreeHeight(int)
int GetPolymapping(int a_index)
vector< int > m_polymapping
int SupplyUnderGrowthWidth(int)
double SupplyTrafficLoad(int a_x, int a_y)
bool SupplyIsGrass(int a_polyref)
void WriteOpenness(void)
Stores openness for all polygons to a standard file.
std::string PolytypeToString(TTypesOfLandscapeElement a_le_type)
void ReleaseOsmiaNest(int a_x, int a_y)
Reopen the osmia nest here
double GetWind(long a_date)
int SupplyJustSprayedVector(unsigned int a_index)
PesticideMap * m_PesticideMap
For specialised pesticide recording.
int SupplyVegDensity(int a_polyref)
double SupplyWeedBiomass(int a_polyref)
void AxisLoopLtd(int a_poly, APoint *a_cor, int a_axis, int a_limit)
TTypesOfVegetation SupplyLastSownVeg(int a_polyref)
int GetGooseNumbers(int a_poly)
This returns the number of geese on the polygon the day before.
Farm * GetFarmPtr(int a_owner)
Returns the pointer to a farm with a specific number.
void InitOsmiaBeeNesting()
Read in the Osmia nest density files and allocate to each LE object.
double SupplyDeadBiomass(int a_polyref)
int * GetMagicP(int a_x, int a_y)
void SetBirdMaizeForage(int a_polyref, double a_fooddensity)
Sets the maize forage resource as seen from a goose standpoint at a polygon.
class MapErrorMsg * g_msg
FarmManager * m_FarmManager
List of all the farms.
void SetPolyMaxMinExtents(void)
int SupplyTreeAge(int a_Polyref)
double GetDaylightProportion(void)
double SupplyBirdSeedForage(int a_x, int a_y)
Returns the grain forage resource as seen from a goose standpoint at an x,y location.
TTypesOfVegetation vegtype
int SupplyHour(void)
Get the hour of the day.
void RebuildPolyMapping()
TTypesOfVegetation SupplyVegTypeVector(unsigned int a_index)
int roostdists[gs_foobar]
TTypesOfLandscapeElement TranslateEleTypes(int EleReference)
void BorderAdd(LE *a_field, TTypesOfLandscapeElement a_type)
void TestCropManagement(void)
The landscape class containing all environmental and topographical data.
double GetSnowDepth(void)
Get the current snow depth.
void UnsprayedMarginAdd(LE *a_field)
int SupplyGrazingPressureVector(unsigned int a_index)
RodenticideManager * m_RodenticideManager
double GetActualGooseGrazingForage(int a_x, int a_y, GooseSpecies a_goose)
Returns the leaf forage resource as seen from a goose standpoint at a polygon referenced by x,...
double GetTemp(long a_date)
Get the temperature on a particular date.
void ReadPolys2(const char *a_polyfile)
reads in polygon information. Version 2 including centroid and openness information
bool SupplyIsCereal(int a_polyref)
int SupplySoilType(int a_x, int a_y)
Returns the soil type in ALMaSS types reference numbers.
int SupplySimAreaMinExtent(void)
APoint SupplyCentroid(int a_polyref)
FarmManager * SupplyFarmManagerPtr()
void UnsprayedMarginScan(LE *a_field, int a_width)
class Configurator * g_cfg
double SupplyPesticide(int a_x, int a_y, PlantProtectionProducts a_ppp)
Gets total pesticide for a location.
int SupplyDayInMonth(void)
bool SupplyIsMatureCereal(int a_polyref)
int SupplySimAreaHeight(void)
int SupplyFarmOwner(int a_x, int a_y)
bool ReadSymbols(const char *a_cfgfile)
void DumpPublicSymbols(const char *a_dumpfile, CfgSecureLevel a_level)
int SupplySimAreaWidth(void)
Polynomial2CurveClass * m_GooseIntakeRateVSVegetationHeight_GL
double SupplyTotalNectar(int a_x, int a_y)
void IncOsmiaNest(int a_x, int a_y)
Reopen the osmia nest here
TTypesOfLandscapeElement TranslateEleTypes(int EleReference)
bool m_DoMissingPolygonsManipulations
int SupplyCentroidX(int a_x, int a_y)
APoint CorrectCoordsPt(int x, int y)
Function to prevent wrap around errors with co-ordinates using x/y pair.
bool IsFieldType(TTypesOfLandscapeElement a_tole)
double GetHumidity(void)
Get the humidity score today.
bool ReadSymbols(const char *a_cfgfile)
void DumpPublicSymbols(const char *a_dumpfile, CfgSecureLevel a_level)
int hb_first_free_poly_num
vector< int > m_PondIndexList
List of pond indexes.
void AddBeetleBanks(TTypesOfLandscapeElement a_tole)
double GetMeanTemp(long a_date, unsigned int a_period)
void BorderScan(LE *a_field, int a_width)
double SupplyTotalNectar(int a_polyref)
TTypeOfDirections
ALMaSS 8 standard directions
double SupplyGooseGrazingForageH(double a_height, GooseSpecies a_goose)
Returns the leaf forage resource as seen from a goose standpoint at a polygon based on the height onl...
LE_Signal SupplyLESignal(int a_polyref)
bool SupplyVegPatchy(int a_polyref)
void BeetleBankAdd(int x, int y, int angle, int length, LE *a_field, TTypesOfLandscapeElement a_tole)
int GetQuarryNumbers(int a_poly)
This returns the number of geese which are legal quarry on the polygon the day before.
void ReadOpenness(void)
Reads openness values from a standard input file for all polygons.
Population_Manager * SupplyThePopManager()
Get the pointer to the current main population manager.
int hb_StripingDist(void)
GooseFieldList * GetGooseFields(double)
Gets the list of suitable goose foraging fields today.
int LineHighTest(int a_cx, int a_cy, double a_offsetx, double a_offsety)
Provides a measure of the shortest distance in using a vector from a_cx,a_cy unitl tall obstacles are...
int m_treatment_counts[last_treatment]
void hb_RestoreHedgeCore(int a_orig_poly_number)
TTypesOfPesticide m_PesticideType
An attribute to hold the pesticide type being tested, if there is one, if not default is -1.
bool hb_HasNeighbourColor(int a_x, int a_y, int a_neighbour_color)
void RodenticidePredatorsEvaluation(RodenticidePredators_Population_Manager *a_rppm)
int SupplyMinute(void)
Get the minute of the hour.
int SupplyValidY(int a_polyref)
void CountMapSquares(void)
void Warn(MapErrorState a_level, std::string a_msg1, std::string a_msg2)
bool hb_PaintWhoHasNeighbourColor(int a_neighbour_color, int a_new_color)
double SupplyPolygonArea(int a_polyref)
void SetThePopManager(Population_Manager *a_ptr)
Set the pointer to the current main population manager.
double SupplyRodenticide(int a_x, int a_y)
Gets total rodenticide for a location.
Base class for all population managers.
bool CIPELandscapeMaker()
double GetWindPeriod(long a_date, unsigned int a_period)
int SupplyDayInYear(void)
void hb_UpPolyNumbers(void)
void hb_MarkTheBresenhamWay(void)
void AddGreenElement(LE *a_green)
double SupplyVegBiomass(int a_polyref)
void DumpTreatCounters(const char *a_filename)
bool SupplyHasTramlines(int a_x, int a_y)
TTypesOfPesticide SupplyPesticideType(void)
double SupplyBirdSeedForage(int a_polyref)
Returns the grain forage resource.
int FindLongestAxis(int *x, int *y, int *a_length)
double SupplyGooseGrazingForageH(int a_polygon, GooseSpecies a_goose)
Returns the leaf forage resource as seen from a goose standpoint at a polygon referenced by number ba...
void CheckForPesticideRecord(LE *a_field, TTypesOfPesticideCategory a_pcide)
Check if needed and record pesticide application.
TTypesOfPesticideCategory
int SupplyYearNumber(void)
void CorrectCoordsPointNoWrap(APoint &a_pt)
Function to prevent wrap around errors with co-ordinates using a APoint.
void hb_GenerateHBPolys(void)
void RecordGooseNumbers(int a_poly, int a_number)
This records the number of geese on the polygon the day before. To prevent lots of unnecessary cleari...
double SupplyVegCover(int a_polyref)
void ChangeMapMapping(void)
int SupplyPolyRefVector(unsigned int a_index)
int SupplyUnderGrowthWidth(int, int)
void hb_ClearPolygon(int a_poly_num)
const char * SupplyVersion(void)
bool GetSnow(long a_date)
RasterMap * m_land
The big map.
bool FindFieldCenter(LE *a_field, int *x, int *y)
void ReadPolys(const char *a_polyfile)
TTypesOfVegetation TranslateVegTypes(int VegReference)
TTypesOfLandscapeElement SupplyElementTypeFromVector(unsigned int a_index)
std::string EventtypeToString(int a_event)
A list item entry of field polygon reference numbers with associated openness and goose food scores.
int SupplyTreeAge(int, int)
bool m_NeedCentroidCalculation
a flag to ensure centroid calculation on object construction
bool SupplyInStubble(int a_polyref)
Returns whether its cereal.
void CreatePondList()
Creates a list of pond polygon refs/indexes for easy look up.
double SupplyInsects(int a_polyref)
Polynomial2CurveClass * m_GooseIntakeRateVSVegetationHeight_BG
int SupplyPondIndex(int a_pondref)
Returns the index of a pond based on pondref or -1 if not found.
double SupplyPesticideP(int a_x, int a_y, PlantProtectionProducts a_ppp)
Gets plant pesticide for a location.
double SupplyGlobalRadiation()
bool BeetleBankPossible(LE *a_field, TTypesOfLandscapeElement a_tole)
void CalculateOpenness(bool a_realcalc)
Causes openness to be calulated and stored for all polygons.
int SupplyVegAge(int a_Polyref)
void DumpVegAreaData(int a_day)
double SupplyVegHeight(int a_polyref)
double SupplyVegDigestabilityVector(unsigned int a_index)
void GrazeVegetation(int a_poly, double a_forage)
Removes grazing forage from a poly per m2.
int SupplyFarmIntensityI(int a_polyindex)
bool SupplyMaleNewtPresent(int a_InPondIndex)
Determines if a male is present in a pond.
int SupplyRandomPondIndex()
Returns random pond index.
bool SupplyLEHigh(int a_x, int a_y)
Tests whether the polygon at a_x,a_y is designated as high.
double GetTempPeriod(long a_date, unsigned int a_period)
int SupplyCentroidX(int a_polyref)
bool SupplyIsCereal2(TTypesOfVegetation a_vege_type)
int geesespTimed[gs_foobar]
int CalulateFieldOpennessAllCells(int a_pref)
Provides a measure of the shortest distance in 360 degree, e-g- looking NE % SW before tall obstacles...
double SupplyPondPesticide(int a_poly_index)
Get the pesticide concentration per liter from a pond (must be a pond index on calling)
double SupplyPesticideS(int a_x, int a_y, PlantProtectionProducts a_ppp)
Gets soil pesticide for a location.
void hb_ResetColorBits(void)
double GetGlobalRadiation(long a_date)
int SupplyPesticideCell(int a_polyref)
void SetPolymapping(int a_index, int a_val)
The base class for all farm types.
int SupplyVegPhase(int a_poly)
double SupplyWindPeriod(long a_date, int a_period)
void RecordGooseSpNumbersTimed(int a_poly, int a_number, GooseSpecies a_goose)
This records the number of geese of each species on the polygon the day before at a predefined time....
int SupplyValidX(int a_polyref)
int SupplyFarmAnimalCensus(int a_farm_ref, int a_LifeStage)
bool BorderTest(int a_fieldpoly, int a_borderpoly, int a_x, int a_y)
Polynomial2CurveClass * m_GooseIntakeRateVSVegetationHeight_PF
Curve relatning goose intake rates in KJ/min to vegetation height.
int SupplyRoadWidth(int, int)
TTypesOfVegetation SupplyLastSownVegVector(unsigned int a_index)
void RecordGooseRoostDist(int a_polyref, int a_dist, GooseSpecies a_goose)
Records the distance to the closest roost of goose species.
double SupplyDayDegrees(int a_polyref)
void DegreesDump()
Prints the sum of day degrees. See FarmManager::daydegrees.
LE * NewElement(TTypesOfLandscapeElement a_type)
RodenticidePredators_Population_Manager * SupplyRodenticidePredatoryManager()
bool PolysRemoveInvalid(void)
bool SupplyIsGrass2(TTypesOfVegetation a_vege_type)
void AxisLoop(int a_poly, int *a_x, int *a_y, int a_axis)
void DumpMapGraphics(const char *a_filename)
void CentroidSpiralOut(int a_polyref, int &a_x, int &a_y)
int SupplyFarmOwnerIndex(int a_x, int a_y)
void UpdateOsmiaNesting()
Tesll all LE objects to update their osmia nest status.
A farm that carries out crop, pesticide and fertilizer planning using simplified optimisation or othe...
double SupplyBirdMaizeForage(int a_x, int a_y)
Returns the maize forage resource as seen from a goose standpoint at an x,y location.
double SupplyRainPeriod(long a_date, int a_period)
void GrazeVegetationTotal(int a_poly, double a_forage)
Removes grazing forage from a poly and divides this out per m2.
void BuildingDesignationCalc()
used to calculate whether a building is rural or town - for rodenticide use
int BackTranslateVegTypes(TTypesOfVegetation VegReference)
void RecordGooseSpNumbers(int a_poly, int a_number, GooseSpecies a_goose)
This records the number of geese of each species on the polygon the day before. To prevent lots of un...
double SupplyTempPeriod(long a_date, int a_period)
std::vector< GooseFieldListItem > GooseFieldList
A list of GooseFieldListItem s.
TTypesOfLandscapeElement SupplyElementTypeCC(int a_x, int a_y)
double SupplyPolygonAreaVector(int a_polyref)
Returns the area of a polygon using the vector index as a reference.
Population_Manager * m_ThePopManager
a pointer to the current main population manager
void EventDumpPesticides(int x1, int y1)
double GetRain(long a_date)
int SupplyLastTreatment(int a_polyref, int *a_index)
int SupplyPolyRefIndex(int a_x, int a_y)
int SupplyLargestPolyNumUsed()
int GetWindDirection(void)
void PolysValidate(bool a_exit_on_invalid)
double SupplyTotalPollen(int a_x, int a_y)
bool FindValidXY(int a_field, int &a_x, int &a_y)
void Warn(std::string a_msg1, std::string a_msg2)
vector< LE * > m_elems
List of all landscape elements. The index is a sequential number, to get the polynum look this number...
int * SupplyMagicMapP(int a_x, int a_y)
bool StepOneValid(int a_polyindex, int a_x, int a_y, int step)
int SupplyDaylength(void)
bool m_NeedOpennessCalculation
a flag to ensure openness calculation on object construction
int SupplyPolyRef(int a_x, int a_y)
void EventDump(int x, int y, int x2, int y2)
int SupplyFarmIntensity(int a_x, int a_y)
APoint SupplyCentroidIndex(int a_polyrefindex)
class Weather * g_weather
void DumpAllSymbolsAndExit(const char *a_dumpfile)
void SetBirdSeedForage(int a_polyref, double a_fooddensity)
Sets the grain forage resource as seen from a goose standpoint at a polygon.
PollenNectarQuality SupplyNectar(int a_x, int a_y)
long SupplyGlobalDate(void)
int SupplyTreeHeight(int, int)
polylist * SupplyLargeOpenFieldsNearXY(int x, int y, int range, int a_openness)
Returns a pointer to a list of polygonrefs to large open fields within a range of location x,...
void SimulationClosingActions()
double GetHareFoodQuality(int a_polygon)
bool hb_HasOtherNeighbour(int a_x, int a_y)
int SupplyElementSubType(int a_polyref)
void SetLESignal(int a_polyref, LE_Signal a_signal)
double GetRainPeriod(long a_date, unsigned int a_period)
void ConsolidatePolys(void)
int BackTranslateEleTypes(TTypesOfLandscapeElement EleReference)
void IncTreatCounter(int a_treat)