Skip to main content

This package creates Fractal networks.

The steps for installationa are as follows:

  1. pip install package_name
  2. from fractal_network import NetworkGenerator
  3. 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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fractal_network-0.0.2.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fractal_network-0.0.2-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file fractal_network-0.0.2.tar.gz.

File metadata

  • Download URL: fractal_network-0.0.2.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5

File hashes

Hashes for fractal_network-0.0.2.tar.gz
Algorithm Hash digest
SHA256 c20378ff0f9c7c7a4d66b0fbfd9885c99da591540f657c729925a96b9f0ff44f
MD5 c2396f35c8931e8c35dd3fc6690c8a59
BLAKE2b-256 d411882b14dd89f420bc09634b838614091862d100fe6d066de14a8d6012096e

See more details on using hashes here.

File details

Details for the file fractal_network-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: fractal_network-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.5

File hashes

Hashes for fractal_network-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 9a513bc5ace66eb848a356d3d978d77377bfcb2c4ed4598c0ed203b98cb7b194
MD5 a3e7711fac810deed19282a4c802ff9f
BLAKE2b-256 1e7662b3322c25e07807fc5abb134368db4a1e8ec451c9fcb57c651a439f40d4

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page