摘要:
// TSP.cpp : Defines the entry point for the console application.//#include "stdafx.h"typedef struct _node_st{ bool inPath ; int nextIndex; _node_st():inPath(false),nextIndex(-1){ }}Node,*NodePtr;#define MAX 6int dis[MAX][MAX]={ 0, 10, 20, 30, 40, 50, 12, 0 ,18, 30, 25, 21, 2... 阅读全文