Takes a design and merge together all points that are closer between them than a certain threshold delta
.
update_design_total(design, delta)
The updated design.
The design to update. It's a dataframe with two columns:
Point
contains the support points of the design.
Weight
contains the corresponding weights of the Point
s.
Threshold which defines how close two points have to be to any of the existing ones in order to merge with them.