Error
There was an error loading the page.
Attempt to apply Dijkstra's algorithm to find the shortest path from the source node (a) to a given sink node.
Metadata
-
England schools
-
England university
-
Scotland schools
Taxonomy: mathcentre
Taxonomy: Kind of activity
Taxonomy: Context
Contributors
Feedback
From users who are members of Stephen's workspace :
Stephen Maher | said | Ready to use | 3 years, 4 months ago |
History
Stephen Maher 3 years, 4 months ago
Gave some feedback: Ready to use
Stephen Maher 3 years, 4 months ago
Published this.Stephen Maher 3 years, 4 months ago
Created this.There is only one version of this question that you have access to.
There is one other version that you do not have access to.
Name | Type | Generated Value |
---|
ab | integer |
3
|
||||
ac | integer |
1
|
||||
ad | integer |
4
|
||||
ae | integer |
2
|
||||
bc | integer |
4
|
||||
bf | integer |
1
|
||||
ce | integer |
5
|
||||
cg | integer |
5
|
||||
de | integer |
4
|
||||
df | integer |
3
|
||||
dg | integer |
5
|
||||
eg | integer |
1
|
||||
fg | integer |
3
|
||||
sinkoptions | list |
[ "f", "g", "h" ]
|
||||
sinkchoice | integer |
2
|
||||
sink | string |
h
|
||||
edgeweights | list |
Nested 8×8 list
|
||||
shortestdist | list |
[ 4, 7, 5 ]
|
||||
distances | list |
Nested 8×8×2 list
|
||||
answer | number |
5
|
||||
nodenames | list |
List of 8 items
|
||||
numnodes | number |
8
|
||||
ch | integer |
4
|
||||
eh | integer |
1
|
||||
gh | integer |
5
|
||||
maxweight | integer |
5
|
Generated value: integer
3
← Depends on:
This variable doesn't seem to be used anywhere.
Parts
Use this tab to check that this question works as expected.
Part | Test | Passed? |
---|---|---|
Number entry | ||
Hasn't run yet |