☰ Categories

Car Navigation System

a car navigation system. You will develop algorithms for calculating the best routes from one location to another, be able to provide detailed updates

CategoryDevelopment › Coding
TagsAnalyzingIdeationDeveloper
Prompt
I want you to act as a car navigation system. You will develop algorithms for calculating the best routes from one location to another, be able to provide detailed updates on traffic conditions, account for construction detours and other delays, utilize mapping technology such as Google Maps or Apple Maps in order to offer interactive visuals of different destinations and points-of-interests along the way. My first suggestion request is "I need help creating a route planner that can suggest alternative routes during rush hour."

What this prompt does

This is useful for designing route-planning features such as rush-hour alternatives. It references mapping technologies like Google Maps or Apple Maps.

Model comparison

Gemini offers the best overall balance. Claude is the most concrete but has incorrect example figures and excess length, while ChatGPT is concise but less implementation-ready.

GeminiTop overall
43/ 50

+ Balances dynamic routing, alternatives, and map integration.

- It is lengthy and may double-count traffic-related delays.

ChatGPT
42/ 50

+ Explains core features and rerouting flow with clarity.

- It lacks implementation code and precise alternative-route rules.

Claude
42/ 50

+ Provides concrete time-dependent A* code and service rules.

- Example times conflict with the code; the 08:40 claim is false.

CriterionChatGPTClaudeGeminiLeader
Instruction following8109Claude +11%
Accuracy979Tie
Specificity7109Claude +11%
Structure999Tie
Right length967ChatGPT +29%

Scored 1–10 by gpt-5.6-sol with model names hidden (2026-09-24). This is an AI review, not a measurement.

Read full answers

We gave three models the same input and copied their answers unedited. Each ran in its CLI (an agent harness), and answers in the ChatGPT or Claude apps or on the web may differ. Outputs are in Korean.

gpt-5.6-luna (codex CLI · 에이전트 하네스) · Run on 2026-09-24

좋습니다. 러시아워 대체 경로 추천기는 다음과 같이 설계할 수 있습니다.

핵심 기능

  1. 출발지·목적지 입력
  2. 현재 교통량과 사고·공사 정보 반영
  3. 기본 경로와 2~3개의 대체 경로 계산
  4. 예상 시간, 거리, 통행료, 신호 수 비교
  5. 지연 발생 시 자동 재탐색
  6. 지도에서 경로와 주요 지점 시각화

경로 계산 방식

도로를 그래프로 표현합니다.

  • 노드: 교차로, 진출입로, 목적지
  • 간선: 도로 구간
  • 가중치: 예상 통행 시간

각 도로의 비용은 다음처럼 계산할 수 있습니다.

도로 비용 =
기본 주행 시간
+ 교통 지연 시간
+ 공사 지연 시간
+ 사고 지연 시간
+ 신호 대기 시간
+ 통행료 가중치

이후 Dijkstra 또는 A* 알고리즘으로 최단 경로를 계산하고, 기존 경로와 일부 구간이 겹치지 않는 후보 경로를 추가로 생성합니다.

러시아워 추천 기준 예시

  • 가장 빠른 경로: 예상 도착 시간이 가장 짧은 경로
  • 안정적인 경로: 교통 변동성이 낮은 경로
  • 우회 경로: 고속도로 정체를 피하는 경로
  • 경제적인 경로: 통행료와 연료비가 낮은 경로

예를 들어 다음과 같이 표시할 수 있습니다.

경로 예상 시간 거리 특징
추천 경로 42분 28km 가장 빠름
대체 경로 A 45분 25km 정체 구간 회피
대체 경로 B 49분 31km 통행료 없음

지도 연동

실제 서비스에서는 다음 API를 사용할 수 있습니다.

  • Google Maps Platform: Routes API, Traffic 정보, Maps JavaScript API
  • Apple MapKit: iOS·macOS 앱에 적합
  • Mapbox: 경로와 지도 스타일을 세밀하게 제어 가능
  • OpenStreetMap + OSRM/GraphHopper: 자체 서버 구축에 적합

단, 실시간 교통·사고·공사 정보는 해당 지도 서비스의 API 권한과 요금제가 필요합니다.

재탐색 로직

운전 중에는 일정 주기로 다음을 확인합니다.

현재 위치 갱신
→ 현재 경로의 예상 지연 계산
→ 대체 경로 탐색
→ 새 경로가 기존 경로보다 충분히 빠른지 비교
→ 최소 절약 시간 이상이면 사용자에게 제안

예를 들어 새 경로가 5분 이상 빠를 때만 경로 변경을 제안하면 불필요한 재탐색을 줄일 수 있습니다.

추천 시스템의 첫 버전은 “출발지·목적지 입력 → 실시간 교통 반영 → 기본 경로와 대체 경로 3개 비교 → 지도 표시” 범위로 구현하는 것이 적절합니다.

More in this category

12-Month AI and Computer Vision Roadmap for Defense Applications
2046 Puzzle Game Challenge
21st.dev component prompt
3D FACTORY
3D FPS Game