Add feature : Dijkstra with Node and Edge Objects via Protocol - #1
Add feature : Dijkstra with Node and Edge Objects via Protocol#1topchul wants to merge 4 commits into
Conversation
|
Hi Gregory, Thank you very much for your input. I am a bit busy at the moment. I will Regards, On 21 June 2013 12:04, Gregory J.H. Rho notifications@github.com wrote:
|
struct can not contain __strong NSObject pointer
It's a great implementation of dijkstra.
I compare some implementations.
It's easy to read, so good.
but, It just use Dictionaries.
I want to use with core data or other repositories with objects.
So, I added 2 protocols(Node, Edge).
And clone your algorithm with the protocols.
I added 3 test case testDijkstraWithNodes, testShortestPathWithNodes, testShortestPathWithCirculaNodes.
You can easily check equivalent cases via [graph description].
I want to merge this fearture.
Thanks for your efforts.
test case