Gebruik dit voorbeeld om de PO te maken. Startpunt is Centrum.
| ID | Naam | x | y |
|---|---|---|---|
| 1 | Centrum | 2 | 3 |
| 2 | Station | 5 | 2 |
| 3 | Winkelgebied | 7 | 6 |
| 4 | Park | 3 | 7 |
| # | Adres | x | y |
|---|---|---|---|
| 1 | Station | 5 | 2 |
| 2 | Winkelgebied | 7 | 6 |
| 3 | Park | 3 | 7 |
Startpunt: Centrum. Aantal te bezoeken punten vandaag: 3.
Brute force wordt niet uitgevoerd als er meer dan 10 punten zijn (factorieel!).
Centrum → Station → Winkelgebied → Park | totaal: 11,76