2 — The Map
Due Wednesday, 06 October 2021, 11:59:59pm
Delivery Place the product of this week’s milestone into your repo as follows:
for the Programming Task, place map.PP in Common/
.PP stands for a language-specific suffix, which depends on your choice of TAHBPL. Some languages demand a specific organization within the file system. In that case, you may place a link to map.PP into Common/.
for the Design Task, place visual.md in Planning/
Programming Task Design and implement a data representation for maps of train connections.
an operation that constructs a map from cities and connections between cities;
accessors to this information;
an operation that yields the names of all cities on the map;
an operation that determines all feasible destinations.
Design Task Plan for a program that visualizes the map. What should the program consume? How should it be organized?
Describe the design in sufficient detail so that you can ship it to Codemanistan. There, an efficient and inexpensive subsidiary will program the design in your chosen language. When you get the code back, you should be able to (1) call it according to your specification without having to read the (probably complicated) code and (2) see maps drawn in (mostly) the way you desired them.
Note Sooner or later you will be in a position at work where formulating such descriptions will be your primary job. The key is to find the correct balance between being clear and essentially writing the code.
The memo should not exceed a page. Less is more.
Keep in mind our Trains.Com, a Plan when you work on designs.