Skip to content

Commit

Permalink
One last thing before release merge
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrrock2 committed Mar 1, 2024
1 parent 9dba10a commit 4ab6137
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/user/recom.rst
Original file line number Diff line number Diff line change
Expand Up @@ -286,11 +286,11 @@ bridge node are more likely to be (mostly) preserved in the subtree on either si
of the cut.

In the implementation of :meth:`~gerrychain.tree.biparition_tree` we further bias this
choice by deterministically selecting bridge edges first. In the event that multiple
types of regions are specified, the surcharges are added together, and edges are selected
first by the number of types of regions that they span, and then by the surcharge added to
those weights. So, if we have a region surcharge dictionary of ``{"a": 1, "b": 4, "c": 2}``
then we we look for edges according to the order
choice by deterministically cutting bridge edges first (when possible). In the event that
multiple types of regions are specified, the surcharges are added together, and edges are
selected first by the number of types of regions that they span, and then by the
surcharge added to those weights. So, if we have a region surcharge dictionary of
``{"a": 1, "b": 4, "c": 2}`` then we we look for edges according to the order

- ("a", "b", "c")
- ("b", "c")
Expand Down

0 comments on commit 4ab6137

Please sign in to comment.