I have a project for school where I have to find the shortest route available between two Nodes using Floyd Warshall and Dijkstra Algorithms. All well and good however, further to this I have to provide an amendment to both algorithms so that the optimal route for multiple tasks is computed.
The scenario is based on a public transport pickup/dropoff. For example: you would have a person wanting to go from C to B, and another from D to B, and maybe another from C to F.
The concept is to always start from node A, and compute the optimal route for catering all requests.
Anyone with an idea of the right direction to approach this?