Kleinberg's Grid Ultimate
Great Trilogies Come in Threes.
-
Kleinberg's Grid Reloaded proposed a new dynamic rejection sampling approach to simulate Kleinberg's small world model on very large graphs.
-
Kleinberg's Grid Unchained introduced double rejection sampling, enabling computations on virtual grids the size of the universe (yes, that's big).
-
Kleinberg's Grid Ultimate proposes an improved version of the simulator that isn't afraid with universe to the square! And it is nicely packaged for everyone to use.
-
Free software: MIT license
-
Documentation: https://balouf.github.io/kleinberg-grid-simulator/.
Features
- Provides a Python frontend with possibility to use Julia or Python backend.
- Julia backend improved with fixed-size big ints (
int256,int512,int1024) to speed up computation. - Provides tools to parallelize, estimate complexity bounds, estimate reasonable shortcut distributions.
- Provides notebooks to benchmark the performance and reproduce the results from previous papers.
Installation
Pip installation preferred.
pip install kleinberg-grid-simulator
Usage
from kleinberg_grid_simulator import compute_edt
compute_edt(n=1000, r=2, p=1, q=1)
Credits
Céline Comte, co-author of Kleinberg's Grid Unchained.
This package was created with Cookiecutter and the Package Helper 3 project template.
Metadata
Release files for kleinberg-grid-simulator 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| kleinberg_grid_simulator-0.1.0.tar.gz | 13.9 kB | Without provenance | Details for kleinberg_grid_simulator-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| kleinberg_grid_simulator-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for kleinberg_grid_simulator-0.1.0-py3-none-any.whl |
Total release size: 30.7 kB
Release files / kleinberg_grid_simulator-0.1.0.tar.gz
| Download URL | kleinberg_grid_simulator-0.1.0.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62613d3a0796b50a422df1cb98e44808b2392002dc72883f6dce61d97ca09b4c
|
|
BLAKE2b-256 checksum How to use checksums |
17b3f5880d0036febac0e17f119c84a5134f53d2330187893af38c29b9be0c5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure
|
Release files / kleinberg_grid_simulator-0.1.0-py3-none-any.whl
| Download URL | kleinberg_grid_simulator-0.1.0-py3-none-any.whl |
|---|---|
| Size | 16.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96257e097d6a9f62b1ce5ca6e14e1dc87d0d66aacfc7be9cd9f6e342197d55f2
|
|
BLAKE2b-256 checksum How to use checksums |
c65738002f0946508f2dae6415336a84a0a56a8cb07aaecdba0aa55c4e6ba2a4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.11.7 Linux/6.2.0-1018-azure
|
Security for kleinberg-grid-simulator 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.