Closed Meratyn closed 2 years ago
Student's solution is correct.
Model solution steps: nodes edge0 AB edge1 AE edge7 EI edge8 EJ edge4 BF edge13 JN edge2 BC edge11 IM edge5 BG edge16 NO Yes, these are same edge clicks as in the model image sequence in spec/test/valid/figures/dijkstra-solution/model*.png.
Good work!
Fulfill #4 , #5 , and #7 .
jaal-dijkstra-student.json is a copy of jaal-dijkstra.json. The initialState is set to an undirected, weighted graph as per /spec/test/valid/figures/dijkstra-solution/initial.png. The animation is set as 3 click events for edges AB, AE, IN as per /spec/test/valid/figures/dijkstra-solution/student*.png.
The nodes and edges are set with the styles visited/unvisited (nodes) or selected/unselected (edges) as in /spec/test/valid/figures/dijkstra-solution/student03.png .
Add modelAnswer array of clicks as per /spec/test/valid/figures/dijkstra-solution/model*.png. Correct values in score as per the steps as above.