12.07.2015 Views

Netlogo - part 2 (PDF)

Netlogo - part 2 (PDF)

Netlogo - part 2 (PDF)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Universitàdi Modenae ReggioEmiliaAn Uphill Algorithm• Our goal is to still get the turtles to find an 'optimalmaximum', which is one of the white patches.Agents and PervasiveComputing Groupto recolor-patchesask patches[ set elevation pycorset pcolor scale-color green elevation(0 - screen-edge-y) screen-edge-y]endAfter Replace the line: diffuse elevation 1with repeat 5 [ diffuse elevation 1 ]

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!