How bilalabidi342-hub/dsa_routesphere works
RouteSphere is a school-bus management product whose documented workflow assigns students to stops and buses, plans shortest routes, and reroutes when roads close. The sampled runtime is an early skeleton: the graph supports stop/road management, while the routing engine delegates those operations to it; the remaining route-query methods are declared but not implemented in the excerpt. The README also names parent, driver, and admin features, but their implementation and wiring are not shown, so those capability links are dashed and unverified.
Main entry points: RoutingEngine.h Shortest routes · main_ui.cpp Management UI · RoutingEngine.cpp Routing engine · fleet Student assignment
Components 15
User interfaces
- Management UI
ui/main_ui.cpp - Console entry
console/main_console.cpp
Routing domain
- Routing engine
core/routing/RoutingEngine.cpp - Road graph
core/routing/Graph.cpp - Shortest routes
core/routing/RoutingEngine.h - Road closures
core/routing/Graph.cpp
Bus operations
- Student assignment
core/fleet - Bus assignment
core/fleet - Role accounts
core/accounts
Shared structures
- Path result
core/common.h - Array queue
core/routing/ArrayQueue.h - Array stack
core/routing/ArrayStack.h
Other components
- Admin
- Parent
- Driver
Connections 10
- Routing engine → Road graph: delegates stop and road operations
core/routing/RoutingEngine.cpp - Routing engine → Shortest routes: declares route queries
core/routing/RoutingEngine.h - Admin → Management UI: uses management features
README.md - Parent → Management UI: uses parent features
README.md - Driver → Management UI: uses driver features
README.md - Shortest routes → Road graph: plans from road network
README.md - Road closures → Shortest routes: reroutes after closures
README.md - Student assignment → Bus assignment: assigns students to buses
README.md - Student assignment → Shortest routes: assigns students to stops
README.md - Role accounts → Management UI: provides role features
README.md