Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ihfaz297/MND/llms.txt
Use this file to discover all available pages before exploring further.
Overview
MND supports three primary transport modes that can be combined intelligently to create optimal multi-modal routes:Bus
Free scheduled university buses
Local
Paid CNG/rickshaw transport
Walking
Free pedestrian movement
π Bus Transport
Overview
SUST operates 7 free bus routes serving 19 locations across Sylhet city.Bus Characteristics
Bus Characteristics
University buses are 100% free for students and staff
Buses run on fixed schedules with specific departure times:
- Morning: 07:30 - 09:35
- Afternoon: 13:10 - 17:10
- Evening: 18:30 (limited routes)
Standard bus capacity, can get crowded during peak hours
Average travel time between consecutive stops
Route Coverage
Route Coverage
7 Bus Routes:
- Bus 1 & 2: TILAGOR β CAMPUS (via AMBARKHANA)
- Bus 3 & 4: NAIORPUL β CAMPUS (via JAIL_RD)
- Bus 5: LAKKATURA β CAMPUS
- Bus 6: NAIORPUL/SHAHI_EIDGAH β CAMPUS
- Bus 7: SHEIKHGHAT/SHAHI_EIDGAH β CAMPUS
- AMBARKHANA (5 routes)
- SUBIDBAZAR (6 routes)
- CAMPUS (all routes)
Schedule Example
Schedule Example
Bus 1 Schedule (Sample Day):
| Trip ID | Direction | Departure | Route |
|---|---|---|---|
| bus1_0825 | to_campus | 08:25 | TILAGOR β CAMPUS |
| bus1_0930 | to_campus | 09:30 | TILAGOR β CAMPUS |
| bus1_1310 | from_campus | 13:10 | CAMPUS β TILAGOR |
| bus1_1710 | from_campus | 17:10 | CAMPUS β TILAGOR |
Data Model
MND-backend/src/data/routes.json
Travel Time Calculation
Bus travel time is estimated using a 5-minute-per-hop heuristic:The 5-minute estimate accounts for driving time + stop duration. Actual times may vary based on traffic.
Color Coding: Blue
In the mobile app, bus segments are displayed in blue:π Local Transport (CNG/Rickshaw)
Overview
Local transport refers to paid, on-demand options like CNG auto-rickshaws and cycle rickshaws.CNG Auto-Rickshaw
CNG Auto-Rickshaw
Characteristics:
- π° Cost: 20-50 BDT (typically ~2 BDT per 100m)
- β‘ Speed: Moderate (faster than rickshaw, slower than bus)
- π£οΈ Range: Short to medium distances (1-5 km)
- π¦ Availability: High (found everywhere in Sylhet)
- Final mile connectivity (after bus drop-off)
- Destinations not served by buses
- Urgent travel (no time to wait for bus)
Cycle Rickshaw
Cycle Rickshaw
Characteristics:
- π° Cost: 10-30 BDT (cheaper than CNG)
- π Speed: Slow (human-powered)
- π£οΈ Range: Very short distances (< 2 km)
- π¦ Availability: High in residential areas
- Very short distances
- Budget-conscious travel
- Areas with narrow roads (CNG canβt access)
Data Model
Cost Calculation
Local transport costs are estimated using a distance-based formula:Distance Matrix Integration
When local transport segments are not in the graph, MND uses Google Maps Distance Matrix API:Color Coding: Orange
Local transport segments are displayed in orange:πΆ Walking
Overview
Walking is used for very short distances between nearby locations.Walking Characteristics
Walking Characteristics
Use Cases
Use Cases
- Between nearby stops: SUBIDBAZAR β RIKABI_BAZAR (300m)
- Campus navigation: Building to building
- Last 100 meters: From bus stop to exact destination
Data Model
Color Coding: Green
Walking segments are displayed in green:Multi-Modal Routes
MNDβs power lies in combining transport modes intelligently:Example 1: Bus + Local
Route Breakdown:
Total: 40 min | 30 BDT
Example 2: Bus + Walk + Bus (Transfer)
Route Breakdown:
Total: 40 min | 0 BDT
Example 3: Local Only (Fallback)
When Used:- β No bus routes serve both locations
- β° Late night (no buses running)
- π¨ Emergency (canβt wait for bus)
Mode Selection Logic
How does MND decide which transport mode to use?Decision Tree
Optimization Criteria
- Fastest Route
- Least Local
- Weighted Score
Minimize total journey time including:
- β° Wait time for bus
- π Bus travel time
- π Local transport time
- πΆ Walking time
Transport Mode Statistics
Network Coverage
Bus Edges
1,537 connections50% of total graph edges
Local Edges
1,200 connections39% of total graph edges
Walking Edges
337 connections11% of total graph edges
Average Journey Composition
- Morning Commute
- Afternoon Return
- Off-Hours
07:00 - 10:00 (to campus)
| Mode | % of Routes | Avg Time | Avg Cost |
|---|---|---|---|
| Bus Only | 45% | 40 min | 0 BDT |
| Bus + Local | 35% | 35 min | 25 BDT |
| Local Only | 20% | 25 min | 60 BDT |
Visual Reference
Transport Mode Icons
Bus
π Blue routesFree scheduled service
CNG
π Orange routesPaid on-demand
Walking
πΆ Green routesFree pedestrian
Route Card Design (Flutter)
API Response Example
Hereβs how transport modes appear in API responses:Next Steps
Graph Model
See how transport modes connect 19 locations
Routing Algorithm
Learn how modes are combined optimally
API: Plan Route
Try the routing API with different modes
Architecture
Understand the full system design