dijkstra — implementation in java

Revision en1, by Armyx, 2015-08-06 23:23:41

I used to program in c++ and I know that dijkstra implemented on priority_queue works faster than the one implemented using set. What is the best dijkstra implementation in java ? Should I use TreeSet or Priority queue ?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Armyx 2015-08-06 23:23:41 253 Initial revision (published)