EntwurfsforschungKI Lab ← Frühe SimulationenEarly Simulations

Quellen und Ziele der Bewegungen (Path System 02)Sources and destinations of movement (Path System 02)

/

Start: die Agenten laufen los · Ziehen mit der Maus setzt Markierungen, rechte Maustaste (oder Umschalt) löscht sie · „Schritte je Bild“ hoch für tausende SchritteStart: the agents set off · drag to add marks, right mouse button (or shift) to erase them · raise “steps per frame” for thousands of steps

Ausgehend vom Modell „Path System 01“ werden zehn zufällig verteilte Ausgangsorte (Home Cells, rot) und ein zentraler Ort (Center Cell, grün) in der Mitte des Feldes festgelegt. Die Agenten werden anfangs gleichmäßig auf die Home Cells verteilt. Solange sie weder die Center Cell noch eine Wegemarkierung entdeckt haben, bewegen sie sich in einem random walk über das Feld: Ihre Richtung schwankt jeweils um bis zu angle threshold nach links oder rechts.

Erreicht ein Agent die Center Cell, wechselt er seinen inneren Zustand und versucht, möglichst schnell und kostengünstig zu seiner Home Cell zurückzukommen, deren Koordinaten er sich gemerkt hat. Auf dem Rückweg erhöht er die Markierung jeder Zelle, die er überquert, um mark strenght. Alle Agenten betrachten die Zellen in ihrem Sichtfeld (heading ± angle threshold); liegt die Summe der Markierungen dort über dem sniff threshold, folgen sie per hill climbing der stärksten Markierung (oder gewichtet per roulette wheel), mit einer zufälligen Abweichung bis wiggle threshold. Markierungen verdunsten mit der evaporate rate oder diffundieren.

Es entsteht eine Vernetzung der Home Cells und der Center Cell, wobei die Home Cells oft untereinander mit direkten Wegen verbunden sind, aber nicht immer eine direkte Verbindung zum zentralen Ort haben. Nach anfänglichen Schwankungen stellt sich eine relativ stabile Wegestruktur ein, die sich über lange Zeit nur wenig verändert und gegen Störungen mit der Maus recht unempfindlich ist. Mit den Voreinstellungen braucht ein stabiles Wegesystem meist rund 400 Zellen (Diagramm, Zellen über dem visibility threshold).

Die App ist eine Neuumsetzung von 332_Quellen_Ziele („Path System 02“, gleicher Quellcode wie 38_pathSystem_02) von Reinhard König, nach F. Schweitzer: Brownian Agents and Active Particles (2003). Was geändert wurde, steht in QUELLE.md.

Building on the model “Path System 01”, ten randomly placed origins (home cells, red) and one central place (center cell, green) in the middle of the field are defined. At first the agents are spread evenly over the home cells. As long as they have found neither the center cell nor a path mark, they move across the field in a random walk: their direction varies by up to angle threshold to the left or right.

Once an agent reaches the center cell, it switches its internal state and tries to get back to its home cell, whose coordinates it remembers, as quickly and cheaply as possible. On the way back it raises the mark of every cell it crosses by mark strenght. All agents look at the cells in their field of view (heading ± angle threshold); if the sum of marks there exceeds the sniff threshold, they follow the strongest mark by hill climbing (or weighted by roulette wheel), with a random deviation of up to wiggle threshold. Marks evaporate at the evaporate rate or diffuse.

A network linking the home cells and the center cell emerges; the home cells are often connected to each other by direct paths but not always directly to the central place. After initial fluctuations a fairly stable path structure settles, changing only slightly over long periods and fairly insensitive to disturbances with the mouse. With the default settings a stable path system usually needs about 400 cells (chart: cells above the visibility threshold).

The app re-implements 332_Quellen_Ziele (“Path System 02”, same source code as 38_pathSystem_02) by Reinhard König, after F. Schweitzer: Brownian Agents and Active Particles (2003). Changes are listed in QUELLE.md.