Loesungs-Ids wieder als fortlaufende Nummern 1..N (Vorgaenger separat)

- Farm._WurzelId/_KindId ersetzt durch _NeueId: jede Loesung bekommt eine
  einfache fortlaufende Nummer (Wurzeln wie Mutationskinder gleich)
- die Abstammung steckt nicht mehr in der Id, sondern im schon vorher
  gemerkten Vorgaenger (Abstammung-Knoten 'eltern'); der Baum und die
  Hervorhebung des Sieger-Astes funktionieren unveraendert
- Tests auf das neue Id-Schema umgestellt (Nummern 1..N, Abstammung ueber
  Vorgaenger), README/CLAUDE.md aktualisiert
- Beispiele neu berechnet

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Michael Stangl
2026-07-11 22:48:49 +02:00
parent 6710d4f06a
commit 740c420900
22 changed files with 3554 additions and 3507 deletions
+3 -3
View File
@@ -136,9 +136,9 @@ Two more optional graphs go into the `--indir` directory:
- `--show-development` → `Entwicklung.svg`: the course of the search (best/average/worst
value over time, plus a panel with the number of solutions in the pool per step).
- `--show-lineage` → `Abstammung.svg`: the mutation tree of every solution. The final best
solution's ancestral branch is highlighted and labelled with its lineage id. Ids are
hierarchical — a root solution is a plain number (`7`), each mutation appends a child index
(`7.2`, then `7.2.1`) — so the id itself spells out the whole ancestry.
solution's ancestral branch is highlighted and labelled with its id. Every solution gets a
plain running number (`1..N`); the ancestry is recorded via each node's stored predecessor
(parent id), not encoded in the id itself, and is followed back along the highlighted branch.
## Further details