Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow info to be stored per node in an array of node ids #139

Open
pankajgupta opened this issue Jan 29, 2015 · 0 comments
Open

Allow info to be stored per node in an array of node ids #139

pankajgupta opened this issue Jan 29, 2015 · 0 comments

Comments

@pankajgupta
Copy link
Contributor

Motivated by #138 where a centrality score is being computed per node and it might be sometimes most efficient to keep information per node stored in an array.

Currently we have graph.tourist.InfoKeeper that keeps info in a mutable.Map which precludes storing infoPerNode in an array.

How about declaring a new trait that has get/put. and allowing infoPerNode to return a collection of this trait type. This can be either a mutable.Map (as now) or an Array with implicit conversions from the Map and Array to this trait?

Comments @szymonm ?

@pankajgupta pankajgupta changed the title Allow info to be stored per node in an array of nodes Allow info to be stored per node in an array of node ids Jan 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant