
29 Apr
2009
29 Apr
'09
4:34 p.m.
Hi, I want to keep a set of paths, which are implemented as a vector of edge_descriptor. I don't care about the order. I just have to add paths and be able to know the number of different paths present in the set. So, I plan to use unordered_set but I'd like to know you opinion about a hash function, since AFAIK, unordered_set is like an hash_set? My main issue is to use as few memory as possible, because there will have a lot of paths in the set. Any idea? Thanks for your help. -- Johan