#include "string.h"
#include "stdio.h"
#include "malloc.h"
#include "stdlib.h"
#define Max 20000
#define NUM 9
typedef struct ArcCell
{
}ArcCell;
typedef struct VertexType
{
}VertexType;
typedef struct
{
}MGraph;
MGraph G;
int P[NUM][NUM];
long int D[NUM];
int
void CreateUDN(int v,int a);
void narrate();
void ShortestPath(int num);
void output(int sight1,int sight2);
char Menu();
void search();
char SearchMenu();
void
HaMiTonian(int);
void
NextValue(int);
void
void main()
{
printf("nnttt请选择起点景点(0~8):");
scanf("%d",&v0);
printf("ttt请选择终点景点(0~8):");
scanf("%d",&v1);
ShortestPath(v0);
output(v0,v1);
printf("nntttt请按任意键继续...n");
x[0]=1;
printf("nntttt请按任意键继续...n");
}
char Menu()
{
printf("ttt┃
┃n");
printf("ttt┃
1、查询景点路径
┃n");
printf("ttt┃
2、查询景点信息
┃n");
printf("ttt┃
3、推荐参观路线
┃n");
printf("ttt┃
e、退出
┃n");
printf("ttt┃
┃n");
}
char SearchMenu()
{