众所周知,欧几里得 TSP 是 NP 完全的。
在我的特殊度量中,A 和 B 之间的距离定义为:
- 从 A 到 B =
max(x coordinate of A , y coordinate of B); - 从 B 到 A =
max(x coordinate of B , y coordinate of A).
这仍然是NP完全的吗?
众所周知,欧几里得 TSP 是 NP 完全的。
在我的特殊度量中,A 和 B 之间的距离定义为:
max(x coordinate of A , y coordinate of B);max(x coordinate of B , y coordinate of A).这仍然是NP完全的吗?