What:
When given an input with a loop consisting of more than one node, the searchForShortestAndLongestPath method will endlessly loop and cause a hangup on the web browser.
Why:
searchForShortestAndLongestPath was checking for loops, but only loops that consisted of one node (where a node points to itself). This made the browser hangup and freeze.
[Issue created by stanleyrya: 2015-10-22]
[Comment created by ohmann: 2015-10-22]
Resolved in 0c33860994de.
[Comment created by stanleyrya: 2015-10-22]
@ohmann:
What: When given an input with a loop consisting of more than one node, the searchForShortestAndLongestPath method will endlessly loop and cause a hangup on the web browser.
Why: searchForShortestAndLongestPath was checking for loops, but only loops that consisted of one node (where a node points to itself). This made the browser hangup and freeze.
[Issue created by stanleyrya: 2015-10-22]
[Comment created by ohmann: 2015-10-22] Resolved in 0c33860994de.
[Comment created by stanleyrya: 2015-10-22] @ohmann:
Ready for review! :)
Changesets:
40fbad64f9e3