Open
Conversation
- 지하철 노선을 생성할 수 있다. - 지하철 노선 이름은 2글자 이상이어야 한다. - 상행 종점역과 하행 종점역이 같을 수는 없다.
- 지하철 노선 저장소에 지하철 노선을 등록할 수 있다. - 중복된 지하철 노선 이름이 등록될 수 없다.
- 지하철 노선 저장소에서 지하철 노선에 구간을 추가할 수 있다. - 해당 노선에 이미 존재하는 지하철 역은 추가할 수 없다.
- 거리 그래프 객체와 시간 그래프 객체를 가지고 있다. - 출발역과 도착역을 입력받아 최단 거리 경로를 조회한다. - 출발역과 도착역을 입력받아 최소 시간 경로를 조회한다. - 경로 조회 시 총 거리, 총 소요 시간도 함께 출력한다. - 경로 조회 시 출발역이나 도착역이 존재하지 않으면 에러를 출력한다. - 경로 조회 시 출발역과 도착역이 같으면 에러를 출력한다. - 경로 조회 시 출발역과 도착역이 연결되어 있지 않으면 에러를 출력한다.
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.
No description provided.