Skip to content

MBWhitestone/Gerrymandering_Uncertain_Voters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computational Social Choice 2020

Gerrymandering Attempts with Uncertain Voters

MBWhitestone, csirika & stefanklut

This repository contains the source code for an investigation on the impact of swing voters in two-party gerrymandering.

Files

  • astar.py: code for the heuristic search algorithm
  • gerrymander.py: classes implementing the gerrymander model
  • LICENSE: our code is available under the MIT license
  • readme.md: this file containing a readme of the repository
  • results_0D.txt: results for the 0-dimensional model
  • results_1D.txt: results for the 1-dimensional model
  • results_2D.txt: results for the 2-dimensional model

Requirements

For running the code you need a working version of Python3 with the numpy and tqdm libraries.

About

Gerrymandering Attempts with Uncertain Voters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages