Creating fractal networks
Project description
This package creates Fractal networks.
The steps for installationa are as follows:
- pip install package_name
- 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 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 amd 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-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a513bc5ace66eb848a356d3d978d77377bfcb2c4ed4598c0ed203b98cb7b194 |
|
MD5 | a3e7711fac810deed19282a4c802ff9f |
|
BLAKE2b-256 | 1e7662b3322c25e07807fc5abb134368db4a1e8ec451c9fcb57c651a439f40d4 |