pcompress-1.0.3 is not a library.
Visit the last successful build:
pcompress-1.0.7
pcompress
Currently it is hard to store the state of every single step of a normal Markov Chain Monte Carlo from GerryChain Python or GerryChain Julia. This repo aims to produce an efficient intermediate binary representation of partitions/districting assignments that will enable for generated plans to be saved on-the-fly. Each step is represented as the diff from the previous step, enabling a significant reduction in disk usage per step.
Installation
Python Usage
Note that chain is a normal MarkovChain object and graph is a normal GerryChain graph.
Recording
# normal chain stuff here
Replaying
# normal chain stuff here