Again for this assignment I play two roles; client and instructor. As the client I need the working project, and as instructor I need reassurance that you are properly designing your program.
For the client you should submit a working program. Meaning I can plan trips with it, see my route on the map and given the total distance. You should generate several maps files that specify a map. The format of the file will be a series of lines each line containing a city description followed by hiway discriptiong
[city] [longitude_location] [latitude_location]The files should have extensons .map
[another_city] [longitude_location] [latitude_location]
...
[yet_another_city][longitude_location] [latitude_location]
END
[hiway] [city][another_city][distance]
[another_hiway] [yet_another_city][again_another_city] [distance]
...
[yet_another_hiway_hiway][city][another_city][distance]
ENDwhere:
- [city] is a single word String representing the name of the city.
- [longitude_location][latitude_location] are doubles locating the city on the globe.
- [hiway]is a unique single word Sting representing the name of the hiway.
- [city] and [another_city]are the city names that the hiway connects
- [distance] is a double representing the distance between origin and destination city on this hiway.
- END indiates the end of the lsit of cities or hiways
If I have made comments to your previous assignments you should incorporate them into this assignment, otherwise I will be disappointed and you know what that means.
Assignment:
Submit by the due date a working program with at least one file called
TripPlanIntermediate.java
with TripPlanIntermediate the only public class.