66a772ebb0
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
35 lines
1.0 KiB
Markdown
35 lines
1.0 KiB
Markdown
# CLAUDE.md
|
|
|
|
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
|
|
|
|
## Projektübersicht
|
|
|
|
**SimulationTuplesort** ist ein Werkzeug zur Simulation verschiedener Sortierverfahren in
|
|
einer Anlage — **Picksort** und **Tuplesort**. Modelliert werden Kreisel (`Roundabout`),
|
|
Weichen (`Switch`) und deren Zusammenspiel; das Verhalten wird über Unittests
|
|
veranschaulicht (siehe `README.md` mit Animationen in `video/`).
|
|
|
|
## Projektstruktur
|
|
|
|
```text
|
|
SimulationTuplesort/
|
|
├── Roundabouts.py # Simulationslogik (Roundabout, Switch, Sortierverfahren)
|
|
├── doc/ # Dokumentation
|
|
├── video/ # Animationen der Verfahren (picksort.gif u. a.)
|
|
├── LICENSE
|
|
└── README.md
|
|
```
|
|
|
|
## Konzept
|
|
|
|
- **Picksort:** holt bei jeder Umdrehung das kleinstmögliche Objekt aus dem ersten
|
|
Kreisel → sortierte Liste im zweiten Kreisel.
|
|
- **Tuplesort:** alternatives Verfahren (siehe README).
|
|
|
|
## Nutzung
|
|
|
|
```cmd
|
|
python Roundabouts.py
|
|
```
|
|
Beispiel/Unittest siehe `README.md` (`Roundabout`, `Switch`).
|