#21 allow customizing Map types in DirectedSparseGraph

open
nobody
None
5
2011-04-17
2011-04-17
No

Currently, DirectedSparseGraph uses HashMaps for maps with vertex and edge keys.
I have specialized maps that work faster for my vertex and edge types.
It would be good if I could pass in a factory that DirectedSparseGraph would use to create maps -- both the initial maps for the 'vertices' and 'edges' fields,
and maps created by methods such as addVertex().
Another solution might be to add protected methods createVertexMap() and createEdgeMap().
Thanks!

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks