- 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>
Weniger vermeidbare Gruppentrennungen:
- strafen.cfg: Tischbesetzung bestraft jetzt gestaffelt nach freien
Plaetzen (teilbelegte Tische am teuersten, mit Fallback auf den
naechstkleineren Eintrag), Trennungsstrafen deutlich erhoeht - so
werden Gruppen nicht mehr getrennt, obwohl leere Tische danebenstehen
- gibPunkte('Tischbesetzung') mit Naechst-kleiner-Fallback
- mutieren() setzt geraeumte Gruppen groesste-zuerst neu
(GruppenSetzen(GrosseZuerst=True)), damit grosse Gruppen die frei
gewordenen ganzen Tische bekommen und wieder zusammenkommen
(uebrig bleiben nur physisch unvermeidbare Trennungen, Gruppe > Tisch)
Abstammungsbaum (neuer Schalter --show-lineage -> Abstammung.svg):
- neue Klasse ga.Abstammung zeichnet den vollen Mutationsbaum aller
Loesungen; der Ast der finalen besten Loesung ist hervorgehoben und
mit ihrer Id beschriftet
- hierarchische Loesungs-Ids (Farm._WurzelId/_KindId): Wurzel '7',
Mutationskind '7.2', dessen Kind '7.2.1' - die ganze Abstammung ist
direkt aus der Id ablesbar
Tests (15 gruen), README und CLAUDE.md aktualisiert; Beispiele mit den
neuen Strafen und beiden Grafiken neu berechnet.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Zyklus/Farm:
- neuer adaptiver Modus: grosse Startpopulation, die je Generation
schrumpft (Start/Schrumpfung/MinPopulation) und bei Konvergenz stoppt
(Geduld Generationen ohne Verbesserung >= Schwelle, max MaxGenerationen)
- Zyklus.laden erkennt adaptives Profil am Feld 'Start' (Modus adaptiv),
sonst klassisch (Abfolge/Anzahl); Farm._LaufStatisch/_LaufAdaptiv
- neue Trunkierungs-Selektion Farm.PopulationBegrenzen
- [Adaptiv]-Profil in zyklus.cfg (dokumentiert)
Entwicklungsgrafik:
- zweites Panel unter dem Verlauf zeigt die Anzahl erzeugter
Verteilungen im Pool je Schritt (gemeinsame Zeitachse)
Konfiguration:
- platz.cfg entfernt; zyklus.cfg/strafen.cfg werden direkt aus
$PLATZ_CFG geladen
- neuer Schalter --zyklus-art (Default Adaptiv) waehlt das GA-Profil
- web/main.py analog: direktes Laden, Profil via PLATZ_ZYKLUSART
Doku (README.md, CLAUDE.md) und Tests entsprechend aktualisiert;
Beispiele mit dem Adaptiv-Default neu berechnet.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- strafen.cfg: neuer optionaler Abschnitt [Abstand] mit Faktor je
normierter Abstandseinheit (0..100, bezogen auf die max. Ausdehnung
der Tischanordnung)
- Strukturdaten.py: Strafliste.AbstandFaktor, gibPunkte('Abstand',...),
bewerten() bestraft den max. Tisch-Tisch-Abstand getrennter Gruppen;
abwaertskompatibel (fehlt der Abschnitt -> Faktor 0)
- platz.py: --show-/--hide-connections steuern die Verbindungslinien
getrennter Gruppen in der SVG
- work/*, doc/images/*: Beispiele neu durchgerechnet
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Surveys wedding/event seating tools currently available: most are
pure drag-and-drop editors with no optimization algorithm, while a
smaller group (notably PerfectTablePlan) uses the same genetic
algorithm / scoring approach as this project. Documents pricing
patterns and identifies the gap this project could fill: a
web-native SaaS with real optimization and a German/EU-focused,
GDPR-friendly hosting story, which none of the surveyed competitors
currently offer together.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Documents a 5-milestone path (foundation, MVP web tool, variant
generation, accounts/persistence, monetization) to turn the
existing GA seating solver into a hosted service for wedding/event
seating, including effort estimates, GDPR considerations once real
guest data is stored long-term, and why a freemium/one-time-payment
model fits this use case better than advertising.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sitzplatzverteilung.alsSVG() (libs/Strukturdaten.py) draws tables as
white circles and people as colored circles inside their table's
circle, colored by group membership. Table radius is derived from
the number of seats so all person-circles fit without touching; the
table-to-table grid spacing is derived from the largest table radius
so tables never overlap regardless of their Koordinaten values.
libs/platz.py gains a --tosvg switch that writes
<indir>/Sitzplatzverteilung.svg alongside the existing text/CSV
output.
The three unittest scenarios now each write their rendering to
doc/images/, and doc/docu_tests.md explains the three configurations
and what each test actually verifies (including why the "split
groups land on true neighbor tables" property only holds for a
specifically chosen seed in the circle scenario, not in general).
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Tischedatei, XMLdatei_Bestellung, AusgabeTischePersonen and
AusgabePersonTisch are no longer configured in platz.cfg. Instead,
platz.py now requires a --indir <dir> command-line switch pointing
at a directory that must contain tische.ini and bestellung.xml, and
into which TischePersonen.txt/PersonenTische.csv are written - e.g.
work/test1 or work/test2. This makes it trivial to run against
different guest lists without editing platz.cfg. platz.bat/platz.sh
forward extra arguments so --indir can be passed through.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Documents tische.ini, bestellung.xml, and the output file formats
using real examples from work/test1 and work/test2.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>