Open jteresco opened 8 years ago
Professor Teresco,
I think based on any Algorithm that's not too bad to change the items considered in that row of table.
On Thu, Aug 18, 2016 at 4:24 PM, Jim Teresco notifications@github.com wrote:
We could replace the stack/queue with other structures that would show different traversals. Some possibilities:
-
Replace the stack/queue with a priority queue and base the priorities on things such as longest edge, shortest edge, or even northernmost edge (to have a bias toward searching northward first).
Replace the stack/queue with a structure that chooses an element randomly to consider next.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TravelMapping/EduTools/issues/32, or mute the thread https://github.com/notifications/unsubscribe-auth/ABbTSxcKC76yuFKUFUjz6lyHbDDnSNUqks5qhL-PgaJpZM4Jn4R4 .
The reimplementation of the graph traversals with the action-based framework will make adding these pretty straightforward, hopefully.
What we have now in the common graph traversal implementation by changing the behavior of the list of discovered vertices (LDV):
Dijkstra's and Prim's implementations use the common implementation, but are available in HDX as their own AVs. They could be added as options in the general graph traversals AV. Others that could be added:
We could replace the stack/queue with other structures that would show different traversals. Some possibilities: