Could a Galway bus map help you find your way by showing you less?
You're looking at a busy map of Galway and you need to get to the hospital by bus. Every building is marked, but all you want to know is where to get on and where to change. What could you erase without losing your way?
You've used decomposition to break a system into smaller parts. A bus network has stops and routes. Some stops are shared by routes, so you can change there. Each route has links between consecutive stops. You can follow those links to see where the bus goes next.
The detailed map shows buildings and gives distances along the blue and green routes. On the journey map below, the buildings and distances disappear. You can still follow blue from A to B and green from B to C. B is where you change.
You need the map to show how to get from A to C by bus and where to change. You're not trying to work out how far you'll travel. Pick the detail you can leave out.
Read the blue and green routes as lists of stops. B appears in both lists, just as both links meet at B on the map. In either model, you can see where to change without building names or distances. Keeping what you need for a purpose is called abstraction.
The first function compares walking distances to A and B. The second checks that two single-link routes meet and connect the start to the destination. With A eighty metres away and B two hundred and fifty, the first function returns A. The second returns B as the change.
Keep the blue link from A to B, then the green link from B to C. Keep B because you change buses there. Leave out the library building because you don't need it to follow either route or find the change. Check that you can still trace A to C via B.
On a different map, the red bus goes from D to E and the yellow bus goes from E to F. The map also shows a sports hall with no stop. To keep the journey from D to F clear, pick the edit with the right reason.
With E on the map, you can see that the red and yellow routes meet there. Delete E and draw one link from D to F, and the map suggests you can stay on one bus. You've made the drawing simpler, but you've also changed what journey it describes.
If the question says illustrate, draw the stops and label the route links so the change is visible. If it says justify an omission, give a reason tied to the task. For example, distances are omitted because you can find where to change without them.