Skip to content
OTP
  • Home
  • Courses
  • Forums
  • Lecturers
  • Results
    • Student Lectures
    • Design Studios
    • Master and Bachelor Thesis
  • How to
  • Log In
  • Register
  • Search

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);
}

Post navigation
Next Reply →
Copyright © 2018 - 2025 OTP Bauhaus-Universität Weimar
Created by Chairs of Computational Architecture and Computer Science in Architecture
Datenschutzerklärung / Privacy // Imprint