-
-
Notifications
You must be signed in to change notification settings - Fork 393
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
Union, intersection, etc. (?) based on an attribute #20
Comments
(by gabor.csardi) |
(by gabor.csardi) Extend/redesign the attribute handler to make it more flexible, because right now we cannot express that we are merging and combining attributes from multiple graphs, possibly with renaming them. This is not very clean, a bigger piece of work, and unclear where else we could actually use the new, fairly difficult attribute API functions. Implement the whole thing in R/Python, independently of the C level. This is not really the igraph way, but attributes are probably not really used from C, anyway. Also, it might be slower. The good thing is that for R the code by Magnus is a very good starting point. Probably the winner. Add an optional argument to the C functions, that allows the tracking of the edges. Everything everything else in R/Python. E.g. for intersection a possible implementation might do the following: |
A lot of work was done in the 0.7-ropbyname branch. |
At least, there should be methods for union and intersection, based on a vertex attribute.
Imported from Launchpad using lp2gh.
Code:
Docs:
The text was updated successfully, but these errors were encountered: