EntwurfsforschungKI Lab ← Frühe SimulationenEarly Simulations

11 Krieg der Kulturen11 War of cultures

/

Start: Kulturen breiten sich aus, sterben und werden neu gegründet · Regler wirken sofort · Zurück: neues Setup mit neuen GencodesStart: cultures spread, die and are founded anew · sliders apply at once · Reset: new setup with new gene codes

Das Experiment folgt dem „Krieg der Kulturen“ von Peter Jossen und Daniel Eyer (Wachstumssimulationen, fraktalwelt.de). Sechs Kulturen leben auf einem Feld von 61 × 61 Zellen. Jede besitzt neun Gencodes aus je acht Bit. In jedem Schritt liest jede Zelle die Zustände ihrer acht Nachbarn als 8-Bit-Muster. Stimmt das Muster mit einem Gencode einer Kultur überein, die unter den Nachbarn vertreten ist, lebt die Zelle im nächsten Schritt als Teil dieser Kultur – sonst stirbt sie:

Zelle lebt mit Kultur i ⇔ ein Nachbar gehört zu i und Muster der Nachbarn = Kgen[i][j] ≠ 00000000

Passen mehrere Kulturen, entscheidet der Zufall. Der Rand bleibt tot. Ist eine Kultur ausgestorben, wird sie an einer zufälligen Stelle mit einem einzelnen Keim neu gegründet; ihre Gencodes übernimmt sie teils von der stärksten Kultur (zwei Fünftel), teils von irgendeiner Kultur (zwei Fünftel), teils entstehen neue Zufallscodes (ein Fünftel). Mit der mutate-rate erhält ein zufälliger Code einen neuen Wert, mit der death-rate wird die kleinste Kultur ausgelöscht, sofern alle sechs leben.

Die meisten Neugründungen scheitern nach wenigen Schritten, weil ihre Codes nicht zu den Mustern passen, die sie selbst erzeugen. Hin und wieder trifft eine Kultur eine Kombination, mit der sie sich über große Teile des Feldes ausbreitet – bis eine Mutation, eine Auslöschung oder eine besser angepasste Kultur sie verdrängt. Die App setzt das NetLogo-Experiment aus Reinhard Königs Strukturexperimenten mit denselben Regeln und Voreinstellungen um; was geändert wurde, steht in QUELLE.md.

The experiment follows the “War of Cultures” by Peter Jossen and Daniel Eyer (growth simulations, fraktalwelt.de). Six cultures live on a field of 61 × 61 cells. Each has nine gene codes of eight bits. In every step each cell reads the states of its eight neighbours as an 8-bit pattern. If the pattern matches a gene code of a culture that is present among the neighbours, the cell lives on in the next step as part of that culture – otherwise it dies:

cell lives with culture i ⇔ a neighbour belongs to i and neighbour pattern = Kgen[i][j] ≠ 00000000

If several cultures match, chance decides. The edge stays dead. When a culture has died out, it is founded anew with a single seed at a random spot; it takes its gene codes partly from the strongest culture (two fifths), partly from any culture (two fifths), and partly new random codes arise (one fifth). With the mutate-rate a random code receives a new value, and with the death-rate the smallest culture is wiped out, provided all six are alive.

Most new foundations fail after a few steps, because their codes do not fit the patterns they produce themselves. Now and then a culture hits a combination with which it spreads over large parts of the field – until a mutation, a wipe-out or a better adapted culture displaces it. The app re-implements the NetLogo experiment from Reinhard König's structure experiments with the same rules and defaults; changes are listed in QUELLE.md.