This function processes the given distance list by adding certain zero-cost edges so that the user-specified controls are forced into the final matched samples. This function is of little interest to most users.
force_control(dist_list, Z, include)
This function returns a distance list object with added edges.
A distance_list object.
A length-n vector of treatment indicator.
A binary vector indicating which controls must be included (length(include) = sum(1-Z).