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.1.0.tar.gz (9.9 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for rdadccvt-1.1.0.tar.gz
Algorithm Hash digest
SHA256 241c28a5cec5d764e33367e120b262a287d223aec77fd6b1a7b279be0c2f9ea8
MD5 43d75b764141ed617a596dca1c61b220
BLAKE2b-256 d9c74ec08facfff041fd23a20162d2c776ef13f01494a52dc46903af8e81fbbb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rdadccvt-1.1.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.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 185a606007d0eb4215035fcddf7db33e6d24260ff71cd41d555cccb87eb58e8a
MD5 ddc9a1a7c24061cbe7593b240e64f51b
BLAKE2b-256 f92f12c6fceb31647dc328bb79772a7fd6a39dbafd7c07572f0ebf81edfd8fd6

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