Home › Forums › Urban Modeling and Simulation › attractivity map – alternatives to roulette wheel › Reply To: attractivity map – alternatives to roulette wheel
July 1, 2019 at 17:31 #9583
Reinhard Koenig
Keymaster
Small update, this should be used for making attractive locations more attractive:
// — make attractive locations even more attractive —
for(int i = 0; i < newPop; i++)
{
double power = 6;
if (AttractPop[i]>0)
AttractPop[i] = Math.Pow((1+AttractPop[i]), power);
}