mggg/GerryChain

Four of six default proposal functions require a `cut_edges` updater

pizzimathy opened this issue · 1 comments

The propose_chunk_flip, propose_random_flip, slow_reversible_propose_bi, and slow_reversible_propose proposal functions all require that a cut_edges updater is present on the partition parameter passed to the function.

Returns a KeyError.

After a small discussion with @maxhully, I think it'd be wise to provide a set of default updaters on the Partition class to automatically compute things like cut edges.