源码简介: |
设计并实现一个简单的南京公交线路查询系统。要求如下:线路查询:用户输入要查询的公交线路,系统给出被查询线路经过的所有站点。站站查询:用户输入要查询的上车站点和目的站点,系统给出换乘线路。换乘线路有多条时,可以给出多个候选。换乘线路必须说明从哪站上坐哪路车,到哪站下换乘哪路车。站站功能有两种功能要求:1.给出最少换乘次数的乘车线路;2.给出经过最少站点数的乘车路线。以上两种功能可任选其一实现,都实现最高可得满分。实现一些其他相关功能,如模糊查询也能适当加分。-Design and implement a simple query system bus lines in Nanjing. Requirements are as follows: Line query: User input to query the bus routes, the system has been given query line passes through all sites. Station Enquiry: User input to query the car site and destination site, the system transfer line is given. Transfer lines have another, you can give multiple candidates. Transfer lines must specify which road where cars stand on the seat, where the next transfer station where bus. Station features two functional requirements: 1. Gives the least transfer times of the car lines 2. Given site through at least the number of car lines. Choose one of these two functions can be achieved out of all the highest available. To achieve a number of other features, such as fuzzy query can be appropriate bonus.
|