revert_dist_list_cpp: Revert a treated-to-control distance list.
Description
Revert a treated-to-control distance list.
Usage
revert_dist_list_cpp(n_t, n_c, startn, endn, d)
Arguments
startn
Vector of starting nodes of edges
endn
Vector of ending nodes of edges
d
Vector of cost associated with edges