Spatial Voting simulations on a grid with random challengers
Project description
gridvoting
Voting simulations on a 2D grid of feasible outcomes
Helper class and functions for a Markov Chain voting model based on a series of status quos and random challenges.
This software is at a pre-release stage and not yet intended for general use.
Inputs:
- grid size in 2D -glimit <= x,y <= glimit
- utility functions for each voter for each point on the grid
- challenger strategy (zi True/False)
Outputs:
- Markov chain transition matrix
- Existence of core (absorbing) points
- Stationary distributions (no core)
- Diagnostic and distribution plots
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
gridvoting-0.0.15.tar.gz
(6.7 kB
view details)
Built Distribution
File details
Details for the file gridvoting-0.0.15.tar.gz
.
File metadata
- Download URL: gridvoting-0.0.15.tar.gz
- Upload date:
- Size: 6.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf3ee5f0a3ba28bd23f4e840b131c81572dbf2793858a7a31d2d46ff3aef90d7 |
|
MD5 | e878cbc58cd85d4906a7b0d9ab80c8b0 |
|
BLAKE2b-256 | 88506af4de61bb83cbb0f80221ad53c412a06745ec2252f82fb2017dadfc6ab9 |
File details
Details for the file gridvoting-0.0.15-py3-none-any.whl
.
File metadata
- Download URL: gridvoting-0.0.15-py3-none-any.whl
- Upload date:
- Size: 7.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 314c027058651bdc36bedc5cb125620127ac8fbbe24dee44f6e6b3fbd40d871a |
|
MD5 | dce243ce014dfe2c85b844398114c91a |
|
BLAKE2b-256 | b61bcf40d3bc905752afa71e9a8345aa522d3fee7ac3ff49835ae7c766becb74 |