The output depends on the function. The output could be a number (for example, the shortest distance between two cities), a string (the shortest path between two network nodes), and a table.
The output depends on the function. The output could be a number (for example, the shortest distance between two cities), a string (the shortest path between two network nodes), and a table.