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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: rdadccvt-1.4.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.4.0.tar.gz
Algorithm Hash digest
SHA256 23c58835e8cdf8b31d7638f556f9c6562a0a4d30e696692c4c7807daab24ef5c
MD5 43701b4aba2c5a5546f8a677a10f2f5a
BLAKE2b-256 b0a8551326475ffac4351dd57b1cfb13da5900b5ea23c3ec2040d6acc7fd6cb2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rdadccvt-1.4.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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 158531810dd5061ec4d98522474d096cc19295083dbc2ff09c8c7fed8cdad7c9
MD5 141f26707d7cb6f35e6a9cee872eac91
BLAKE2b-256 03e15abb707348f3b301199b4b374762dda5b3c799381ab9f9041114f68b3106

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