Releases: alarm-redist/redist
Releases · alarm-redist/redist
redist 4.2.0
- Deprecate functionality that is provided by
redistmetrics
package. - Improve contiguity checking speed drastically.
- Support for multiple independent scoring functions in
redist_shortburst()
.
With multiple scorers, the algorithm will stochastically explore to try to
find the largest Pareto frontier for the scores. The frontier can be accessed with
attr(<plans obj>, "pareto_score")
. - Removes the MPI vignette which relied on older implementations of
redist.mcmc()
, which was replaced byredist.flip()
a few years ago, and finallyredist_flip()
.
redist 4.1.0
- Improved diagnostic output
- New
redist_ci
interface for confidence interval calculation - Improved plotting options with
redist.plot.distr_qtys()
for custom geometry types. - Improved resampling efficiency at the final SMC stage
- Faster implementation of loop-erased random walk in C++
- Faster random number generation in C++
- Updated citation information
CRAN Version 4.0.1
- A new constraint interface that is more flexible, user friendly, and consistent
across algorithms (seeredist_constr()
and?constraints
). For the first time,
user-defined custom constraints are supported and integrated within all three
algorithms. - New diagnostic-checking function,
summary.redist_plans()
- Summary statistics have been broken out into a new
redistmetrics
package
This will speed up compilation time and also provides a cleaner, more extensible
interface for the implementation of additional metrics. - Parallel computing support for the SMC algorithm, both within and across sampling runs
- Reproducible across-run parallelism throughout the package, via
doRNG
- Much faster
match_numbers()
using the Hungarian method min_move_parity()
calculates how much population needs to be moved between
districts in order to completely balance a redistricting plan.- Support for partial SMC simulations, where fewer districts are drawn than the
total number. Allows advanced users to manually combine partial runs to
form complete maps. - Improved algorithm reporting, including new progress bars and
cli
errors and
warnings throughout the package - Update the SMC algorithm to include a missing correction factor for the number
of ways to sequentially label districts. This factor should not have an effect
on substantive conclusions and summary statistics. - Remove deprecated functions
- Many bug fixes (see https://github.com/alarm-redist/redist/issues)
CRAN Version 3.1.5
- Removes prior deprecated functions and arguments
- Fix bugs (#78, #81, #86)
- Introduces
redist_mergesplit_parallel()
- Adds
rbind()
generic forredist_plans
objects - Improves sampling speed for SMC and Merge-split with county constraint
- Adds county split measures.
- Adds population overlap measures for plan comparisons.
- Deprecates
redist.smc()
in favor ofredist_smc()
andredist.mergesplit()
in favor ofredist_mergesplit()
.
CRAN Version 3.0.7
CRAN Version 3.0.2
CRAN Version 3.0.1
redist 3.0.1
- New tidy interface, including new
redist_map
andredist_plans
objects - Merge-split MCMC now available in
redist_mergesplit()
- Short burst MCMC optimization now available in
redist_shortburst()
along
with scoring functions (?scorers
) - Improved Flip MCMC interface and performance improvements
- New support for larger simulation size limits
- Functions to freeze parts of a map and extract district cores
- New VRA constraint
- Many new plotting functions
- Consistent function and argument names
- New partisanship and compactness metrics
- Performance improvements to compactness calculations
- Plan comparison and classification in
compare_plans()
andclassify_plans()
- New
iowa
dataset and cleaned-up package data - New vignettes for redistricting analysis and workflows
- Various bug fixes
CRAN Version 2.0-2
Large expansion of user tools for metrics, mapping, and compactness.
Adds in SMC and Enumeration methods
CRAN Version 1.3-2
Bug fix for redist.enumerate()
that would make connected components too large or small when size constraint was applied. Thanks to Moon Duchin and Zachary Schutzman for bringing this to our attention.
CRAN Version 1.3-1
v1.3-1 cleanup of builder