Dijkstra, different output

35 views
Skip to first unread message

Johannes Hutabarat

unread,
Jun 16, 2013, 1:12:15 AM6/16/13
to vog...@googlegroups.com
I've follow your article about Dijkstra Algorithm, thank you so much.

When I compiled it, console only show route by Nodes. Can you tell me how to show result with Edge too?

Example :
Node_0
Edge_1
Node_2
Edge_4
Node_7
Edge_8
Node_9
Edge_10
Node_10

Or just Edges is fine too, Please help me. (sorry for my bad English)

regards, JH (Indonesia)

Lars Vogel

unread,
Jun 17, 2013, 4:22:16 AM6/17/13
to vog...@googlegroups.com
If you have the nodes and can calculate the edges based on them. 


2013/6/16 Johannes Hutabarat <imel...@gmail.com>

--
You received this message because you are subscribed to the Google Groups "vogella" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vogella+u...@googlegroups.com.
To post to this group, send email to vog...@googlegroups.com.
Visit this group at http://groups.google.com/group/vogella.
For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages