Dijkstra
Royalty Free
Find the shortest route given explicit path lengths
Language
Java
Metrics
API Calls - 774
Avg call duration -
N/A
Permissions
This is not a recognized license.
Run an Example
Input
Output
[
"a",
"c",
"d"
]
Install and Use
Install
Install the Algorithmia CLI client by running:
curl -sSLf https://algorithmia.com/install.sh | sh
Then authenticate by running:
$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
Use
algo run anowell/Dijkstra/0.1.0 -d '[
{
"a":{"b":1, "c":2, "d":9},
"b":{"c":2, "a":3, "d":7},
"c":{"a":1, "b":1, "d":5},
"d":{"b":6, "a":7}
}, "a", "d"
]' --timeout 300