Creating fractal networks from Monsivais et al, Chaos 30, 123146 (2020)
Project description
This package creates Fractal networks.
The steps for installation are as follows:
- pip install fractal-network-generator
- from fractal_network import NetworkGenerator
- NetworkGenerator.graph(num_of_levels,num_of_nodes_in_a_clique)
OUTPUT: A file will be created in the current working directory having the name num_of_nodes_in_a_clique-num_of_levels.dat. Example: If NetworkGenerator.graph(4,3) is entered then a dat file with name "3-4.dat" will be created.
Column 1: node number
Column 2: label
Column 3: Degree
The next columns indicate the neighbour and the level of connection between the node and neighbour alternately. For example:
12 10110 3 10 2 13 1 14 1
12 is the node numer, 10110 is the label, 3 is the degree.
10 2 indicates a connection between 12 and 10 having level 2.
13 1 indicates a connection between 12 and 13 having level 1.
14 1 indicates a connection between 12 and 14 having level 1.
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 Distribution
Hashes for fractal_network_generator-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 07248b44fbae844613cd123e6f13d316c7707c7bdc21765830cf355fbcacdee0 |
|
MD5 | 6d5195356241c9aa072c788c92ae1420 |
|
BLAKE2b-256 | 03f026c11cb962c4604e4e2fdfc0da51187fe7efdb68e62036b89a3bc728fb16 |
Hashes for fractal_network_generator-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 072c36642d3dd5e418f63c4216db4ad784c5cbeb4f9ba1e864e033eed270a2aa |
|
MD5 | 6a4bda4bb9c8f53cc88f56b33c6e48d5 |
|
BLAKE2b-256 | 5ff9444da36a255b0c59e306cf8020d52ad0999d594610fa5f8eda529e67018c |