搜索资源列表
XiangGe
- 假定你开去香格里拉。出发前油箱是满的,可以行驶D公里。路上一共有n个加油站,A[i]表示从第i-1加油站到第i个的距离。最后一个加油站在香格里拉。请设计算法帮助驾驶员选择加油站使加油的次数最少-Suppose you open to the Shangri-La. Tank is full before departure, you can drive D km. A total of n-way stations, A [i] that from the first i-1 i-station
TheTravelingSalesmenProblem
- 最佳销售员 某售货员要到若干城市去推销商品,他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程最小。-The best salesman a salesman to several city to sell goods, he shall select a start from the station, after every city again, and finally return to the home of route, the total distance mi
