Skip to main content

Balzer's algorithm (DCCVT) to find a maximally population compact map

Project description

rdadccvt

Balzer's algorithm (DCCVT) to find a maximally population compact map

Installation

To clone the repository:

$ git clone https://github.com/alecramsay/rdadccvt
$ cd rdadccvt

To install the package:

$ pip install rdadccvt

Then copy the dccvt executable from the bin directory to the bin directory where you installed the package.

Usage

See the rdatools/rdaroot and rdatools/rdaensemble repositories for examples of how to use this package. The former takes contiguous and 'roughly equal' population maps, and minimizes the energy (maximizes the population compactness). The latter uses Balzer's algorithm as part of a multi-step process to create a contiguous and 'roughly equal' population map from a random set of starting district centroids.

Project details


Download files

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

Source Distribution

rdadccvt-1.3.0.tar.gz (10.0 kB view details)

Uploaded Source

Built Distribution

rdadccvt-1.3.0-py3-none-any.whl (10.3 kB view details)

Uploaded Python 3

File details

Details for the file rdadccvt-1.3.0.tar.gz.

File metadata

  • Download URL: rdadccvt-1.3.0.tar.gz
  • Upload date:
  • Size: 10.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for rdadccvt-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b4abf934aad3b66a05c8477a14a6c24e965b1e3e9aa3d32ae003442a2021c555
MD5 e390c4cfc78a4f5629ce49bc9e53daf1
BLAKE2b-256 96f8d32eb73de1907808515dadb5f802b24dcdd21148a80117599b14e2081f4e

See more details on using hashes here.

File details

Details for the file rdadccvt-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: rdadccvt-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 10.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.6

File hashes

Hashes for rdadccvt-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a345194a1dd1a916b2f77f752c05289051429290267fa06d9511a1ee299dc4d4
MD5 39ded8f08eadb11b330234dc8c9626f2
BLAKE2b-256 a2f6e79f1f0ed0107884d265de693611bcf9308788ed9c573c4a99c50eddd29c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page