NetworkL is a Python package which extends the scope of the NetworkX package to eXtra-Large time-varying graphs. It supports the manipulation and efficient longitudinal analysis of complex networks
Project description
NetworkL is a Python package which extends the scope of the NetworkX package to eXtra-Large time-varying graphs. It supports the manipulation and efficient longitudinal analysis of complex networks
- Documentation
- Development
A quick example that update the all-pairs shortest path lengths in an undirected graph by using the SparseGeodesicMatrix data structure:
>>> import networkx as nx >>> import networkl as nl >>> from random import randrange >>> >>> N=1000 >>> G = nx.erdos_renyi_graph(N,0.1) #create a graph >>> SparseD = nl.sparse_distance_matrix(G) #compute the Sparse Distance Matrix >>> >>> new_edges = [(randrange(N),randrange(N)) for c in range(100)] #add edges and update Distance Matrix >>> for i,j in new_edges: >>> if G.has_edge(i,j) or i==j: >>> continue >>> nl.update_distance_matrix(G,SparseD,i,j,mode='add') >>> >>> print SparseD[1][1] #accessing distance values
Distributed under the GNU v2 license; see LICENSE.txt:
Copyright (C) 2015 NetworkL Developers Moreno Bonaventura <m.bonaventura@qmul.ac.uk>
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file networkl-0.2.13.tar.gz.
File metadata
- Download URL: networkl-0.2.13.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ae49e1ca09de5bdebb841f44fccb8aa27899a6324c56a0062fd503228cd8233
|
|
| MD5 |
5449f32ff3702522a1a2faed9a5cc66b
|
|
| BLAKE2b-256 |
cecc8f85049976f6b7c8b2fdd09aeff342806f797f71f3f23d22f5ce37e8f284
|
File details
Details for the file networkl-0.2.13.macosx-10.3-fat.tar.gz.
File metadata
- Download URL: networkl-0.2.13.macosx-10.3-fat.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bc9b21bc05ae715329bfb5db3a6e47cc40e861c89235baa1ae75085af7858ac
|
|
| MD5 |
d11bd2c58113d392b8c502161be5feab
|
|
| BLAKE2b-256 |
491b45d883ae63f154c46bb7a5a0c87f6c8a695b63c11fa884a37ee55210046a
|
File details
Details for the file networkl-0.2.13.macosx-10.3-fat.exe.
File metadata
- Download URL: networkl-0.2.13.macosx-10.3-fat.exe
- Upload date:
- Size: 67.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9fd5733403f690caf5c870e39f944985169ed6c50ea38029b4c0e6a6f8c28c7d
|
|
| MD5 |
8c22c948f2ad47e74b44c4271158d5f5
|
|
| BLAKE2b-256 |
4f932ee20fb1d3b6e42d58b74666a60c39ec4e0e8dbc9eacdfb7b9f50d96e8f2
|