moghya / dsalglib

This is improved and stable version of dsalib ready to use C++ data structures and algorithms template library
http://moghya.me/dsalglib
29 stars 27 forks source link

fix broken Graph #8

Open moghya opened 6 years ago

ssumukh commented 6 years ago

Can you please elaborate?

moghya commented 6 years ago

@nonejk aim is to implement generic template for graph in c++ without using any library function.

I tried to do that but could not complete it. The part of having id to every object and then managing objects using the id is what I stucked upon.

Today on giving it thought I came up with solution of using hash function to calculate hash value for objects and then use value as id.

Please go through the library and understand the design.

Thanks for considering this issue :)