Open
Conversation
- Dijkstra 라이브러리 사용해서 time, distance Map을 생성
- View class를 생성할 때 앱 레이아웃 생성
- 길 찾기 이벤트 생성
- 최단거리를 찾는 라이브러리를 이용함으로써 주어진 노선에서 연결되지 않은 두 역이 없음을 확인
- data를 가져올 땐 Model 통해서 가져오는 로직으로 변경 - 최단거리, 시간을 구할 때도 Model에서 구한 뒤 리턴
- radio id가 구체적이지 않아 겹칠 수 있어 재설정 - Model에서 불필요하게 정의된 함수 제거 - DISTANCE 라는 상수가 파일명과 맞지 않고 Controller에서만 쓰여서 재정의
- data라는 파일명에 맞게 데이터만 관리하고 변경하는 로직은 다른 파일에서 관리
- 예로 매봉-양재시민의숲 은 sections에 없으므로 뒤집어서 처리
- return 전에 띄워서 가독성 높이기
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
최종 미션 제출합니다.