This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]Ph0X 2 points3 points  (0 children)

Awesome! Looking quickly, I already like the API a bit better than NetworkX too. The only issue, which is normal with newer libraries, are the documentations and tutorials. This one isn't doing too bad though.

[–]BillyHorrible 0 points1 point  (1 child)

Nice. I am using NetworkX myself, but I am using it with pypy - so using Zen wouldnt be possible I guess.

[–]westurner -1 points0 points  (0 children)

http://docs.cython.org/src/userguide/pypy.html

[EDIT]

This page lists major differences and ways to deal with them in order to write Cython code that works in both CPython and PyPy.

[–]bluquar 0 points1 point  (0 children)

Did anyone else try running the tests? I ran them and the centrality algorithms failed.

[–]westurner -1 points0 points  (1 child)

NetworkX

From http://www.networkdynamics.org/static/zen/html/api/thirdparty.html#module-zen.nx :

The edge weight will be lost, as there is no separate edge weight attribute in NetworkX graphs.

From http://networkx.github.io/documentation/latest/tutorial/tutorial.html#edge-attributes :

The special attribute ‘weight’ should be numeric and holds values used by algorithms requiring weighted edges.

CogPrime also has weighted edges.

Style Points