亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? roufun.~h

?? 實(shí)現(xiàn)最短路徑算法。 實(shí)現(xiàn)最短路徑算法。
?? ~H
字號(hào):
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//This file is the interface file of the routing program
//It declaration the functions in the program and can be used by program designer who want to use these functions
//Program designer:chaidengfeng
//Zhejiang University,Hangzhou,Zhejiang
//e_mail:chaidf@263.net
//Any question about the program can be asked by sending e_mail to chaidf@263.net
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////

#include "routing1.h"

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//This is interface function
//It call all the left function to find path between source and destination point
//Parameters:
//  vexFile:  file name of file that contain vertex information
//  arcFile:  file name of file that contain arc information
//  topoFile: file name of file that contain topo information
//  attrFile: file name of file that contain attribute information(distance and time)
//  xSou,ySou,xDes,yDes :the coordinate of source and destination point
//  pathDis:  the minimal distance cost path found
//  pathTim:  the minimal time cost path found
//  N:        the number of paths expected to find
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

DllExport bool routing_short(char *vexFile,char *topoFile,char *attrFile,double xSou,double ySou,double xDes,double yDes,PathsNode **pathDis,PathsNode **pathTim,int N);


///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//This is garph construct function
//It read data from files and construct a graph
//Parameters:
//  vexFile:  file name of file that contain vertex information
//  arcFile:  file name of file that contain arc information
//  topoFile: file name of file that contain topo information
//  attrFile: file name of file that contain attribute information(distance and time)
//  graph:    the pointer of pointer of graph this function constructed
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

bool graph_construct(char *vexFile,char *topoFile,char *attrFile,VexNode **graph);

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//This is garph construct function
//It destructed a graph and free the memory allocated for it
//Parameters:
//  graph:    the pointer of graph this function will destructed
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

bool graph_destruct(VexNode *graph);

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//This is Dijkstra function used to get the shortest path between two vertex
//Parameters:
//  graph:    the pointer of graph this function will use to get path
//  souNo:    source vertex No.
//  desNo:    destination vertex No.
//  allCost:  cost of the path the function find
//  kind:     parameter used to denote time or distance shortest path is expected to get
//  path:     the path found
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

bool graph_Dij(VexNode *graph,int souNo,int desNo,double *allCost,int kind,PathNode **path);

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//This is N_shortest paths finder function 
//It can be used to get the N_shortest path between two vertex
//Parameters:
//  graph:    the pointer of graph this function will use to get path
//  souNo:    source vertex No.
//  desNo:    destination vertex No.
//  allCost:  cost of the path the function find
//  kind:     parameter used to denote time or distance shortest path is expected to get
//  pathCost: the path found
//  N:        the number of paths expected to find
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

bool graph_Dij_N(VexNode *graph,int souNo,int desNo,int kind,PathsNode **pathCost,int N);

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//This is function that set distance and time attributes of graph
//It read data from file and set distance and time attributes of graph
//Parameters:
//  attrFile: file name of file that contain attribute information(distance and time)
//  graph:    the pointer of pointer of graph this function constructed
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

bool Set_Attr(FILE *attrFp,VexNode **graph);

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//This is function that set topo information of graph
//It read data from file and set topo information of graph
//Parameters:
//  topoFile: file name of file that contain topo information
//  graph:    the pointer of pointer of graph this function used
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

bool Set_Topo(FILE *topoFp,VexNode **graph);

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//This is function that set vertex information of graph
//It read data from file and set vertex information of graph
//Parameters:
//  vexFile:  file name of file that contain vertex information
//  graph:    the pointer of pointer of graph this function used
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

bool Set_Vex(FILE *vexFp,VexNode **graph);

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//This is function that adjust some struct or complement some information of graph
//Parameters:
//  graph:    the pointer of pointer of graph this function used
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

bool complement(VexNode **graph);

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//This is path destructed function
//It destructed a path and free the memory allocated for it
//Parameters:
//  path:    the pointer of path this function will destructed
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

DllExport bool path_destruct(PathsNode *path);

///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//This is the function that find the nearest vertex to point(x,y)
//Parameters:
//  graph:    the pointer of graph this function will use
//      x:    x coordinate of the point 
//      y:    y coordinate of the point 
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

int get_vexNo(VexNode *graph,double x,double y);
bool create_test(VexNode **graph,char *vexFile,char *topoFile);

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美在线影院一区二区| 精品国产伦一区二区三区免费| 91毛片在线观看| 欧美日韩视频在线第一区 | 亚洲高清免费视频| 亚洲第一二三四区| 精品亚洲porn| 不卡区在线中文字幕| 欧美美女一区二区三区| 久久综合九色综合97婷婷 | 午夜伊人狠狠久久| 毛片不卡一区二区| www.亚洲免费av| 911精品产国品一二三产区| 久久这里只精品最新地址| 国产精品毛片无遮挡高清| 亚洲成人tv网| 国产成人免费在线| 欧美不卡123| 亚洲午夜久久久久久久久电影院 | 美国欧美日韩国产在线播放| av一二三不卡影片| 欧美精品一区二区三| 日韩av二区在线播放| 欧美在线一区二区三区| 国产亚洲欧美中文| 精品一区二区在线观看| 欧美在线综合视频| 亚洲欧美日韩综合aⅴ视频| 国产91精品一区二区| 亚洲精品在线电影| 久久国产福利国产秒拍| 91麻豆精品国产91久久久久久久久| 日韩一区中文字幕| 成人网在线免费视频| 久久久久久亚洲综合| 国产美女av一区二区三区| 91麻豆精品国产91久久久久久久久| 亚洲午夜久久久久久久久电影院| 色婷婷久久久亚洲一区二区三区| 国产精品免费人成网站| 波多野结衣亚洲| 亚洲六月丁香色婷婷综合久久| 成人激情电影免费在线观看| 国产亚洲精品中文字幕| 国产成人免费在线视频| 国产精品国产精品国产专区不蜜| 丁香婷婷深情五月亚洲| 国产免费久久精品| 一本色道久久加勒比精品| 亚洲影视资源网| 欧美xxxx老人做受| 国产成人在线网站| 亚洲人成影院在线观看| 日本乱人伦aⅴ精品| 视频一区二区欧美| 精品成人佐山爱一区二区| 国产在线国偷精品免费看| 国产欧美视频一区二区| 欧美吻胸吃奶大尺度电影 | 欧美成人午夜电影| 精品在线你懂的| 中文字幕在线观看不卡视频| 91亚洲精品久久久蜜桃| 午夜成人在线视频| 久久久久久久久岛国免费| 欧美专区日韩专区| 丁香五精品蜜臀久久久久99网站| 亚洲视频在线一区| 亚洲成人免费视频| 国产精品久久久久精k8| 欧美一区二区三区在线视频| 成人av网站大全| 久久精品国产精品亚洲综合| 国产精品久久久久久福利一牛影视| 欧美日韩久久久| 不卡一区二区在线| 国产不卡视频在线观看| 日韩电影在线一区二区三区| 国产精品久久久久久久久免费樱桃| 欧美一区二区免费视频| 色综合天天天天做夜夜夜夜做| 久久se精品一区精品二区| 五月婷婷久久综合| 亚洲国产精品久久人人爱| 久久99久国产精品黄毛片色诱| 一区二区三区欧美视频| 亚洲视频在线一区二区| 国产精品视频一二三区| 久久久不卡网国产精品二区| 日韩三级视频在线观看| 欧美大片免费久久精品三p| 91麻豆精品久久久久蜜臀| 欧美日韩一区二区三区在线看 | 亚洲天堂2014| 亚洲欧洲性图库| 自拍偷拍国产精品| 国产精品久久久久久久久免费相片 | 激情欧美一区二区三区在线观看| 日本不卡免费在线视频| 香蕉久久一区二区不卡无毒影院 | 极品瑜伽女神91| 国产成人精品影视| 99视频热这里只有精品免费| 95精品视频在线| 欧美日韩国产色站一区二区三区| 精品视频一区二区不卡| 91精品国产aⅴ一区二区| 久久久精品tv| 夜夜爽夜夜爽精品视频| 日韩av中文在线观看| 欧美一级理论性理论a| 久久久久久久网| 亚洲黄色小说网站| 精品综合久久久久久8888| 成人教育av在线| 欧美日韩一区 二区 三区 久久精品| 欧美大片顶级少妇| 亚洲欧洲av在线| 蜜臀av性久久久久蜜臀av麻豆| 国产 日韩 欧美大片| 9191精品国产综合久久久久久 | av中文字幕不卡| 69堂精品视频| 日韩一区中文字幕| 韩日欧美一区二区三区| 精品视频色一区| 国产精品区一区二区三| 日本不卡中文字幕| 91免费看`日韩一区二区| 久久久午夜精品理论片中文字幕| 亚洲综合在线免费观看| 丁香激情综合国产| 久久蜜桃av一区精品变态类天堂| 日韩高清一级片| 欧美色涩在线第一页| 国产蜜臀av在线一区二区三区| 久久精品99久久久| 欧美色手机在线观看| 亚洲欧美日韩国产综合在线 | 九九热在线视频观看这里只有精品| 91免费看`日韩一区二区| 国产精品网站在线播放| 国产伦精一区二区三区| 日韩欧美一二三四区| 日韩av二区在线播放| 制服丝袜日韩国产| 午夜电影一区二区| 欧美一区二区二区| 激情国产一区二区| 欧美电影免费观看高清完整版在线观看 | av资源站一区| 成人免费在线视频| 99精品视频在线观看| 国产日韩精品一区二区浪潮av| 免费在线欧美视频| 欧美一级免费观看| 久久av资源站| 亚洲欧洲一区二区在线播放| 美美哒免费高清在线观看视频一区二区| 91黄色免费版| 看电影不卡的网站| 国产日韩欧美亚洲| 91久久线看在观草草青青| 偷偷要91色婷婷| 久久精品欧美日韩| 91福利国产成人精品照片| 狠狠色丁香婷婷综合| 成人免费一区二区三区视频 | 国产偷国产偷亚洲高清人白洁 | voyeur盗摄精品| 人人超碰91尤物精品国产| 国产精品久久久久久妇女6080 | 91蜜桃网址入口| 极品少妇xxxx精品少妇偷拍| 玉米视频成人免费看| 日韩丝袜情趣美女图片| 91网站最新网址| 久久国产免费看| 亚洲综合男人的天堂| 久久久久久免费毛片精品| 欧美视频你懂的| 成人av电影免费在线播放| 蜜桃精品视频在线| 亚洲综合成人在线| 国产精品美女久久福利网站| 精品人伦一区二区色婷婷| 在线亚洲人成电影网站色www| 风流少妇一区二区| 精品制服美女久久| 日本 国产 欧美色综合| 亚洲成a人片在线观看中文| 综合中文字幕亚洲| 国产精品久久久久久久第一福利| 精品国产乱子伦一区| 精品少妇一区二区三区| 日韩欧美你懂的| 欧美变态tickling挠脚心| 欧美一级欧美三级| 精品sm在线观看|