Dijkstra

Find the shortest route given explicit path lengths

(no tags)

Algorithmia Platform License

Run an Example

[
  "a",
  "c",
  "d"
]

Install & Use

Use

curl -X POST -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"
]' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/anowell/Dijkstra/0.1.0