pprepair icon indicating copy to clipboard operation
pprepair copied to clipboard

In case of ties in the "r -LB" , RN choice should only be between the LB neighbors, not all neighbors

Open lucasmation opened this issue 9 years ago • 0 comments

As discussion in issue #36 indicates, the -r LB (longest border) criteria will handle ties by assining the problematic area to a RN (random neighbor). However this random choice occurs among all neighbors, including the ones that have the smaller borders.

In case of ties in "r -LB" criteria, -RN should choose only among the neighbors that have the longest border.

(and please make sure this change trickes down to pprepair-new, or any version that runs on linux)

lucasmation avatar Jan 22 '16 11:01 lucasmation