How ashlytorrejon/complejidad-de-algortimos-s2-2026- works
RoadToFest is a festival-concert itinerary planner, delivered as a browser app and wrapped for Android with Capacitor. The user enters the app, chooses concerts and an algorithm, then generates an itinerary that balances artist affinity and priority against walking time and schedule conflicts. Greedy constructs a candidate route; simulated annealing starts from that route and searches for improvements. The app displays the itinerary and optimization details. The sampled sources show the data, scoring, and algorithm interactions; some UI dispatch details are only documented in the README.
Main entry points: app.js Planner interface · evaluador.js Route evaluator · recocidoSimulado.js Simulated annealing · algoritmoGreedy.js Greedy planner
Components 9
App interface
- Planner interface
public/src/app.js - Route results
public/src/app.js
Route planning
- Greedy planner
public/src/algoritmoGreedy.js - Simulated annealing
public/src/recocidoSimulado.js - Route evaluator
public/src/evaluador.js
Festival model
- Concert catalog
public/src/datosFestival.js
App platform
- Browser entry
public/index.html - Android bridge
android/app/src/main/java/cl/ucen/roadtofest/MainActivity.java
Other components
- Festivalgoer
Connections 13
- Festivalgoer → Browser entry: opens app
README.md - Festivalgoer → Planner interface: chooses concerts
README.md - Browser entry → Planner interface: runs interface
- Android bridge → Browser entry: hosts web app
- Planner interface → Concert catalog: loads concerts
public/src/app.js - Planner interface → Greedy planner: selects algorithm
README.md - Planner interface → Simulated annealing: selects algorithm
README.md - Greedy planner → Route evaluator: evaluates route
public/src/algoritmoGreedy.js - Simulated annealing → Greedy planner: builds starting route
public/src/recocidoSimulado.js - Simulated annealing → Route evaluator: scores candidates
public/src/recocidoSimulado.js - Route evaluator → Concert catalog: reads festival data
public/src/evaluador.js - Planner interface → Route evaluator: evaluates itinerary
public/src/app.js - Planner interface → Route results: renders route
public/src/app.js