How can the A* algorithm be applied to the traveling salesman problem? [duplicate]
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: Using A* to solve Travelling Salesman Problem I have recently learned that the A* algorithm can be applied to the travelling salesman problem. Bot how exactly do we define the start and the goal here, and how do we apply weights to nodes (what is the heuristic)? Would someone explain to me how A* can be applied here? 回答1: A* is a derivative of Dijsktra, which I don't think can be used in this fashion. First, the