Profile
Achievement
ntamas's Recent SnippetsTagged python
- All /
« Prev 1 Next »
A dictionary-like class that can be used to assign unique integer IDs to names. This class is part of the [igraph library](http://igraph.sourceforge.net), but I need it occasionally in other projects so I post it here.
1
787
posted 15 years ago by ntamas
Also works with weighted degree or any other property you might think of.
0
924
posted 16 years ago by ntamas