We concern the problem of modifying the edge lengths of a tree in minimum total cost so that the prespecified p vertices become the p-maxian with respect to the new edge lengths. This problem is called the inverse p-maxian problem on trees. Gassner proposed in 2008 an efficient combinatorial algorithm to solve the inverse 1-maxian problem on trees. For the case p ≥ 2, we claim that the problem can be reduced to O(p^2 ) many inverse 2-maxian problems. We then develop algorithms to solve the inverse 2-maxian problem under various objective functions. The problem under l1-norm can be formulated as a linear program and thus can be solved in polynomial time. Particularly, if the underlying tree is a star, the problem can be solved in linear time. We also develop O(n log n) algorithms to solve the problems under Chebyshev norm and bottleneck Hamming distance, where n is the number of vertices of the tree.
Tạp chí khoa học Trường Đại học Cần Thơ
Lầu 4, Nhà Điều Hành, Khu II, đường 3/2, P. Xuân Khánh, Q. Ninh Kiều, TP. Cần Thơ
Điện thoại: (0292) 3 872 157; Email: tapchidhct@ctu.edu.vn
Chương trình chạy tốt nhất trên trình duyệt IE 9+ & FF 16+, độ phân giải màn hình 1024x768 trở lên