Skip to main content

Adaptive overlapping community discovery algorithm package in python.

Project description

shuffle_graph

PyPI PyPI - Status GitHub Release Date Build Status Code Intelligence Status Language grade: Python Codacy Badge Scrutinizer Code Quality PyPI - Downloads PyPI - Python Version PyPI - License

Adaptive overlapping community discovery algorithm package in python.

Welcome to complete the documentation.

Installation

Installation can be done through pip. You must have python version >= 3.6.

pip install shuffle-graph

Usage

The statement to import the package:

from shuffle_graph_package import *

Example:

>>> calculate_number_of_shuffles_required_under_default_random_function(10000)
6


>>> G = Graph({0: {1: {}}, 1: {0: {}, 2: {}}, 2: {1: {}, 3: {}}, 3: {2: {}, 4: {}}, 4: {3: {}}})
>>> shuffle_graph(G, 1, 65535).adj  #Set seed to make the results repeatable.
AdjacencyView({3: {2: {}, 4: {}}, 4: {3: {}}, 1: {0: {}, 2: {}}, 2: {3: {}, 1: {}}, 0: {1: {}}})

Project details


Download files

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

Files for shuffle-graph, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size shuffle_graph-1.0.0-py3-none-any.whl (16.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size shuffle_graph-1.0.0.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page