![]() |
ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
#include "../Landscape/ls.h"
Go to the source code of this file.
Functions | |
int | vole_tole_move_quality (Landscape *m_TheLandscape, int x, int y) |
int | vole_tole_init_optimal (Landscape *m_TheLandscape, int x, int y) |
int | vole_tole_init_friendly (Landscape *m_TheLandscape, int x, int y) |
double | vole_toletoc_asses_habitat_score (Landscape *m_TheLandscape, int p_Polyref) |
bool | vole_tole_assess_barrier (Landscape *m_TheLandscape, int p_Polyref) |
bool vole_tole_assess_barrier | ( | Landscape * | m_TheLandscape, |
int | p_Polyref | ||
) |
References g_msg, Landscape::SupplyElementType(), tole_ActivePit, tole_AgroForestrySystem, tole_Airport, tole_AlmondPlantation, tole_AmenityGrass, tole_AsparagusPerm, tole_BareRock, tole_BeetleBank, tole_Building, tole_BuiltUpWithParkland, tole_BushFruit, tole_Canal, tole_Carpark, tole_Chameleon, tole_ChestnutForest, tole_ChristmasTrees, tole_Churchyard, tole_Coast, tole_ConiferousForest, tole_Copse, tole_CorkOakForest, tole_DeciduousForest, tole_DrainageDitch, tole_EnergyCrop, tole_EucalyptusForest, tole_FarmBufferZone, tole_FarmFeedingGround, tole_FarmForest, tole_FarmYoungForest, tole_Fence, tole_Field, tole_FieldBoundary, tole_FishFarm, tole_FlowersPerm, tole_FlowerStrip, tole_FlowerStripWithRotation, tole_Foobar, tole_ForestAisle, tole_Freshwater, tole_Garden, tole_GreenFallow, tole_Heath, tole_HedgeBank, tole_Hedges, tole_HeritageSite, tole_HolmOakForest, tole_IndividualTree, tole_InvasiveForest, tole_LargeRoad, tole_MaritimePineForest, tole_Marsh, tole_MetalledPath, tole_Missing, tole_MixedForest, tole_MontadoCorkOak, tole_MontadoHolmOak, tole_MontadoMixed, tole_MownGrassStrip, tole_MushroomPerm, tole_NaturalFarmGrass, tole_NaturalGrassDry, tole_NaturalGrassWet, tole_OAsparagusPerm, tole_OBushFruit, tole_OChristmasTrees, tole_OEnergyCrop, tole_OFarmForest, tole_OFarmYoungForest, tole_OliveGrove, tole_OOrchard, tole_OPermPasture, tole_OPermPastureLowYield, tole_OPermPasturePigs, tole_Orchard, tole_OrchardBand, tole_OtherOakForest, tole_OtherPermCrop, tole_Parkland, tole_PermanentSetaside, tole_PermPasture, tole_PermPastureLowYield, tole_PermPasturePigs, tole_PermPastureTussocky, tole_PermPastureTussockyWet, tole_Pipeline, tole_PitDisused, tole_PlantNursery, tole_Pond, tole_Portarea, tole_Pylon, tole_Railway, tole_RefuseSite, tole_RiceField, tole_River, tole_RiverBed, tole_RiversidePlants, tole_RiversideTrees, tole_RoadsideSlope, tole_RoadsideVerge, tole_Saltmarsh, tole_Saltpans, tole_Saltwater, tole_SandDune, tole_Scrub, tole_SmallRoad, tole_SolarPanel, tole_StonePineForest, tole_StoneWall, tole_Stream, tole_SwampForest, tole_Track, tole_UnknownGrass, tole_UnsprayedFieldMargin, tole_UrbanNoVeg, tole_UrbanPark, tole_UrbanVeg, tole_Vildtager, tole_Vineyard, tole_WalnutPlantation, tole_Wasteland, tole_WaterBufferZone, tole_WindTurbine, tole_WoodlandMargin, tole_WoodyEnergyCrop, tole_YoungForest, and MapErrorMsg::Warn().
Referenced by Vole_Population_Manager::BarrierSearch().
int vole_tole_init_friendly | ( | Landscape * | m_TheLandscape, |
int | x, | ||
int | y | ||
) |
References Landscape::SupplyElementType(), tole_BeetleBank, tole_BushFruit, tole_ChristmasTrees, tole_Churchyard, tole_Copse, tole_FarmBufferZone, tole_FarmYoungForest, tole_Field, tole_FieldBoundary, tole_FlowerStrip, tole_FlowerStripWithRotation, tole_ForestAisle, tole_Garden, tole_GreenFallow, tole_Heath, tole_HedgeBank, tole_Hedges, tole_IndividualTree, tole_Marsh, tole_MownGrassStrip, tole_NaturalGrassDry, tole_NaturalGrassWet, tole_OBushFruit, tole_OChristmasTrees, tole_OEnergyCrop, tole_OliveGrove, tole_OOrchard, tole_OPermPasture, tole_OPermPastureLowYield, tole_Orchard, tole_OrchardBand, tole_OtherPermCrop, tole_Parkland, tole_PermanentSetaside, tole_PermPasture, tole_PermPastureLowYield, tole_PermPastureTussocky, tole_PermPastureTussockyWet, tole_PitDisused, tole_Railway, tole_RiversidePlants, tole_RiversideTrees, tole_RoadsideSlope, tole_RoadsideVerge, tole_Saltmarsh, tole_Scrub, tole_SolarPanel, tole_UnknownGrass, tole_UnsprayedFieldMargin, tole_Vildtager, tole_Vineyard, tole_Wasteland, tole_WaterBufferZone, tole_WoodlandMargin, and tole_YoungForest.
Referenced by Vole_Population_Manager::SuitableStartingLocation().
int vole_tole_init_optimal | ( | Landscape * | m_TheLandscape, |
int | x, | ||
int | y | ||
) |
References Landscape::SupplyElementType(), tole_BeetleBank, tole_FarmYoungForest, tole_FieldBoundary, tole_FlowersPerm, tole_FlowerStrip, tole_FlowerStripWithRotation, tole_NaturalFarmGrass, tole_NaturalGrassDry, tole_NaturalGrassWet, tole_OFarmYoungForest, tole_OPermPasture, tole_OPermPastureLowYield, tole_OrchardBand, tole_PermanentSetaside, tole_PermPasture, tole_PermPastureLowYield, tole_PermPastureTussocky, tole_PermPastureTussockyWet, and tole_YoungForest.
Referenced by Vole_Population_Manager::SuitableStartingLocation().
int vole_tole_move_quality | ( | Landscape * | m_TheLandscape, |
int | x, | ||
int | y | ||
) |
todo Should the orchards be here?
References g_msg, Landscape::SupplyCropType(), Landscape::SupplyElementTypeFromVector(), Landscape::SupplyGrazingPressureVector(), Landscape::SupplyJustMownVector(), Landscape::SupplyJustSprayedVector(), Landscape::SupplyPolyRefIndex(), Landscape::SupplyVegCoverVector(), Landscape::SupplyVegHeightVector(), toc_AsparagusEstablishedPlantation, toc_Beans, toc_Beans_Whole, toc_Beet, toc_BushFruit, toc_Cabbage, toc_CabbageSpring, toc_Carrots, toc_CarrotsSpring, toc_CatchCropPea, toc_CloverGrassGrazed1, toc_CloverGrassGrazed2, toc_CloverGrassGrazed3, toc_CorkOak, toc_DummyCropPestTesting, toc_Fallow, toc_FarmForest, toc_FieldPeas, toc_FieldPeasSilage, toc_FieldPeasStrigling, toc_FodderBeet, toc_FodderGrass, toc_FodderLucerne1, toc_FodderLucerne2, toc_Foobar, toc_GenericCatchCrop, toc_GrassGrazed1, toc_GrassGrazed2, toc_GrassGrazedExtensive, toc_GrassGrazedLast, toc_GrazingPigs, toc_Horticulture, toc_Maize, toc_MaizeSilage, toc_MaizeSpring, toc_MaizeStrigling, toc_MixedVeg, toc_None, toc_OAsparagusEstablishedPlantation, toc_Oats, toc_OBarleyPeaCloverGrass, toc_OBeans, toc_OBeans_Whole, toc_OBushFruit, toc_OCabbage, toc_OCarrots, toc_OCloverGrassGrazed1, toc_OCloverGrassGrazed2, toc_OCloverGrassGrazed3, toc_OCloverGrassSilage1, toc_OFarmForest, toc_OFieldPeas, toc_OFieldPeasSilage, toc_OFirstYearDanger, toc_OFodderBeet, toc_OFodderGrass, toc_OGrazingPigs, toc_OLentils, toc_OliveGrove, toc_OLupines, toc_OMaize, toc_OMaizeSilage, toc_OMixedVeg, toc_OOats, toc_OOrchApple, toc_OOrchardCrop, toc_OOrchCherry, toc_OOrchOther, toc_OOrchPear, toc_OPermanentGrassGrazed, toc_OPermanentGrassLowYield, toc_OPotatoes, toc_OPotatoesIndustry, toc_OPotatoesSeed, toc_OrchApple, toc_OrchardCrop, toc_OrchCherry, toc_OrchOther, toc_OrchPear, toc_ORyeGrass, toc_ORyegrass, toc_OSBarleySilage, toc_OSeedGrass1, toc_OSeedGrass2, toc_OSetAside, toc_OSetAside_Flower, toc_OSpringBarley, toc_OSpringBarleyCloverGrass, toc_OSpringBarleyExtensive, toc_OSpringBarleyPeaCloverGrass, toc_OSpringBarleyPigs, toc_OSpringBarleySilage, toc_OSpringRape, toc_OSpringRye, toc_OSpringWheat, toc_OStarchPotato, toc_OSugarBeet, toc_OTriticale, toc_OVegSeeds, toc_OWinterBarley, toc_OWinterBarleyExtensive, toc_OWinterRape, toc_OWinterRye, toc_OWinterWheat, toc_OWinterWheatUndersown, toc_OWinterWheatUndersownExtensive, toc_OYoungForestCrop, toc_PermanentGrassGrazed, toc_PermanentGrassLowYield, toc_PermanentGrassTussocky, toc_PermanentSetAside, toc_PlantNursery, toc_Potatoes, toc_PotatoesIndustry, toc_PotatoesSeed, toc_PotatoesSpring, toc_Ryegrass, toc_SeedGrass1, toc_SeedGrass2, toc_SetAside, toc_Sorghum, toc_SpringBarley, toc_SpringBarleyCloverGrass, toc_SpringBarleyPeaCloverGrass, toc_SpringBarleySeed, toc_SpringBarleySilage, toc_SpringRape, toc_SpringRye, toc_SpringWheat, toc_StarchPotato, toc_SugarBeet, toc_Sunflower, toc_Triticale, toc_Tulips, toc_Turnip, toc_Unmanaged, toc_VegSeeds, toc_Vineyards, toc_WinterBarley, toc_WinterRape, toc_WinterRye, toc_WinterTriticale, toc_WinterWheat, toc_YellowLupin, toc_YoungForestCrop, tole_ActivePit, tole_AgroForestrySystem, tole_Airport, tole_AlmondPlantation, tole_AmenityGrass, tole_AsparagusPerm, tole_BareRock, tole_BeetleBank, tole_Building, tole_BuiltUpWithParkland, tole_BushFruit, tole_Canal, tole_Carpark, tole_Chameleon, tole_ChestnutForest, tole_ChristmasTrees, tole_Churchyard, tole_Coast, tole_ConiferousForest, tole_Copse, tole_CorkOakForest, tole_DeciduousForest, tole_DrainageDitch, tole_EnergyCrop, tole_EucalyptusForest, tole_FarmBufferZone, tole_FarmFeedingGround, tole_FarmForest, tole_FarmYoungForest, tole_Fence, tole_Field, tole_FieldBoundary, tole_FishFarm, tole_FlowersPerm, tole_FlowerStrip, tole_FlowerStripWithRotation, tole_Foobar, tole_ForestAisle, tole_Freshwater, tole_Garden, tole_GreenFallow, tole_Heath, tole_HedgeBank, tole_Hedges, tole_HeritageSite, tole_HolmOakForest, tole_IndividualTree, tole_InvasiveForest, tole_LargeRoad, tole_MaritimePineForest, tole_Marsh, tole_MetalledPath, tole_Missing, tole_MixedForest, tole_MontadoCorkOak, tole_MontadoHolmOak, tole_MontadoMixed, tole_MownGrassStrip, tole_MushroomPerm, tole_NaturalFarmGrass, tole_NaturalGrassDry, tole_NaturalGrassWet, tole_OAsparagusPerm, tole_OBushFruit, tole_OChristmasTrees, tole_OEnergyCrop, tole_OFarmForest, tole_OFarmYoungForest, tole_OliveGrove, tole_OOrchard, tole_OPermPasture, tole_OPermPastureLowYield, tole_OPermPasturePigs, tole_Orchard, tole_OrchardBand, tole_OtherOakForest, tole_OtherPermCrop, tole_Parkland, tole_PermanentSetaside, tole_PermPasture, tole_PermPastureLowYield, tole_PermPasturePigs, tole_PermPastureTussocky, tole_PermPastureTussockyWet, tole_Pipeline, tole_PitDisused, tole_PlantNursery, tole_Pond, tole_Portarea, tole_Pylon, tole_Railway, tole_RefuseSite, tole_RiceField, tole_River, tole_RiverBed, tole_RiversidePlants, tole_RiversideTrees, tole_RoadsideSlope, tole_RoadsideVerge, tole_Saltmarsh, tole_Saltpans, tole_Saltwater, tole_SandDune, tole_Scrub, tole_SmallRoad, tole_SolarPanel, tole_StonePineForest, tole_StoneWall, tole_Stream, tole_SwampForest, tole_Track, tole_UnknownGrass, tole_UnsprayedFieldMargin, tole_UrbanNoVeg, tole_UrbanPark, tole_UrbanVeg, tole_Vildtager, tole_Vineyard, tole_WalnutPlantation, tole_Wasteland, tole_WaterBufferZone, tole_WindTurbine, tole_WoodlandMargin, tole_WoodyEnergyCrop, tole_YoungForest, MapErrorMsg::Warn(), and Landscape::Warn().
Referenced by Vole_Base::MoveQuality().
double vole_toletoc_asses_habitat_score | ( | Landscape * | m_TheLandscape, |
int | p_Polyref | ||
) |
References g_msg, Landscape::SupplyCropType(), Landscape::SupplyElementTypeFromVector(), Landscape::SupplyGrazingPressureVector(), Landscape::SupplyJustMownVector(), Landscape::SupplyVegCoverVector(), Landscape::SupplyVegHeightVector(), toc_AsparagusEstablishedPlantation, toc_Beans, toc_Beans_Whole, toc_Beet, toc_BushFruit, toc_Cabbage, toc_CabbageSpring, toc_Carrots, toc_CarrotsSpring, toc_CatchCropPea, toc_CloverGrassGrazed1, toc_CloverGrassGrazed2, toc_CloverGrassGrazed3, toc_CorkOak, toc_DummyCropPestTesting, toc_Fallow, toc_FarmForest, toc_FieldPeas, toc_FieldPeasSilage, toc_FieldPeasStrigling, toc_FodderBeet, toc_FodderGrass, toc_FodderLucerne1, toc_FodderLucerne2, toc_Foobar, toc_GenericCatchCrop, toc_GrassGrazed1, toc_GrassGrazed2, toc_GrassGrazedExtensive, toc_GrassGrazedLast, toc_GrazingPigs, toc_Horticulture, toc_Maize, toc_MaizeSilage, toc_MaizeSpring, toc_MaizeStrigling, toc_MixedVeg, toc_None, toc_OAsparagusEstablishedPlantation, toc_Oats, toc_OBarleyPeaCloverGrass, toc_OBeans, toc_OBeans_Whole, toc_OBushFruit, toc_OCabbage, toc_OCarrots, toc_OCloverGrassGrazed1, toc_OCloverGrassGrazed2, toc_OCloverGrassGrazed3, toc_OCloverGrassSilage1, toc_OFarmForest, toc_OFieldPeas, toc_OFieldPeasSilage, toc_OFirstYearDanger, toc_OFodderBeet, toc_OFodderGrass, toc_OGrazingPigs, toc_OLentils, toc_OliveGrove, toc_OLupines, toc_OMaize, toc_OMaizeSilage, toc_OMixedVeg, toc_OOats, toc_OOrchApple, toc_OOrchardCrop, toc_OOrchCherry, toc_OOrchOther, toc_OOrchPear, toc_OPermanentGrassGrazed, toc_OPermanentGrassLowYield, toc_OPotatoes, toc_OPotatoesIndustry, toc_OPotatoesSeed, toc_OrchApple, toc_OrchardCrop, toc_OrchCherry, toc_OrchOther, toc_OrchPear, toc_ORyeGrass, toc_ORyegrass, toc_OSBarleySilage, toc_OSeedGrass1, toc_OSeedGrass2, toc_OSetAside, toc_OSetAside_Flower, toc_OSpringBarley, toc_OSpringBarleyCloverGrass, toc_OSpringBarleyExtensive, toc_OSpringBarleyPeaCloverGrass, toc_OSpringBarleyPigs, toc_OSpringBarleySilage, toc_OSpringRape, toc_OSpringRye, toc_OSpringWheat, toc_OStarchPotato, toc_OSugarBeet, toc_OTriticale, toc_OVegSeeds, toc_OWinterBarley, toc_OWinterBarleyExtensive, toc_OWinterRape, toc_OWinterRye, toc_OWinterWheat, toc_OWinterWheatUndersown, toc_OWinterWheatUndersownExtensive, toc_OYoungForestCrop, toc_PermanentGrassGrazed, toc_PermanentGrassLowYield, toc_PermanentGrassTussocky, toc_PermanentSetAside, toc_PlantNursery, toc_Potatoes, toc_PotatoesIndustry, toc_PotatoesSeed, toc_PotatoesSpring, toc_Ryegrass, toc_SeedGrass1, toc_SeedGrass2, toc_SetAside, toc_Sorghum, toc_SpringBarley, toc_SpringBarleyCloverGrass, toc_SpringBarleyPeaCloverGrass, toc_SpringBarleySeed, toc_SpringBarleySilage, toc_SpringRape, toc_SpringRye, toc_SpringWheat, toc_StarchPotato, toc_SugarBeet, toc_Sunflower, toc_Triticale, toc_Tulips, toc_Turnip, toc_Unmanaged, toc_VegSeeds, toc_Vineyards, toc_WinterBarley, toc_WinterRape, toc_WinterRye, toc_WinterTriticale, toc_WinterWheat, toc_YellowLupin, toc_YoungForestCrop, tole_ActivePit, tole_AgroForestrySystem, tole_Airport, tole_AlmondPlantation, tole_AmenityGrass, tole_AsparagusPerm, tole_BareRock, tole_BeetleBank, tole_Building, tole_BuiltUpWithParkland, tole_BushFruit, tole_Canal, tole_Carpark, tole_Chameleon, tole_ChestnutForest, tole_ChristmasTrees, tole_Churchyard, tole_Coast, tole_ConiferousForest, tole_Copse, tole_CorkOakForest, tole_DeciduousForest, tole_DrainageDitch, tole_EnergyCrop, tole_EucalyptusForest, tole_FarmBufferZone, tole_FarmFeedingGround, tole_FarmForest, tole_FarmYoungForest, tole_Fence, tole_Field, tole_FieldBoundary, tole_FishFarm, tole_FlowersPerm, tole_FlowerStrip, tole_FlowerStripWithRotation, tole_Foobar, tole_ForestAisle, tole_Freshwater, tole_Garden, tole_GreenFallow, tole_Heath, tole_HedgeBank, tole_Hedges, tole_HeritageSite, tole_HolmOakForest, tole_IndividualTree, tole_InvasiveForest, tole_LargeRoad, tole_MaritimePineForest, tole_Marsh, tole_MetalledPath, tole_Missing, tole_MixedForest, tole_MontadoCorkOak, tole_MontadoHolmOak, tole_MontadoMixed, tole_MownGrassStrip, tole_MushroomPerm, tole_NaturalFarmGrass, tole_NaturalGrassDry, tole_NaturalGrassWet, tole_OAsparagusPerm, tole_OBushFruit, tole_OChristmasTrees, tole_OEnergyCrop, tole_OFarmForest, tole_OFarmYoungForest, tole_OliveGrove, tole_OOrchard, tole_OPermPasture, tole_OPermPastureLowYield, tole_OPermPasturePigs, tole_Orchard, tole_OrchardBand, tole_OtherOakForest, tole_OtherPermCrop, tole_Parkland, tole_PermanentSetaside, tole_PermPasture, tole_PermPastureLowYield, tole_PermPasturePigs, tole_PermPastureTussocky, tole_PermPastureTussockyWet, tole_Pipeline, tole_PitDisused, tole_PlantNursery, tole_Pond, tole_Portarea, tole_Pylon, tole_Railway, tole_RefuseSite, tole_RiceField, tole_River, tole_RiverBed, tole_RiversidePlants, tole_RiversideTrees, tole_RoadsideSlope, tole_RoadsideVerge, tole_Saltmarsh, tole_Saltpans, tole_Saltwater, tole_SandDune, tole_Scrub, tole_SmallRoad, tole_SolarPanel, tole_StonePineForest, tole_StoneWall, tole_Stream, tole_SwampForest, tole_Track, tole_UnknownGrass, tole_UnsprayedFieldMargin, tole_UrbanNoVeg, tole_UrbanPark, tole_UrbanVeg, tole_Vildtager, tole_Vineyard, tole_WalnutPlantation, tole_Wasteland, tole_WaterBufferZone, tole_WindTurbine, tole_WoodlandMargin, tole_WoodyEnergyCrop, tole_YoungForest, MapErrorMsg::Warn(), and Landscape::Warn().
Referenced by Vole_Population_Manager::AssessHabitat().