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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? roufun.h

?? 實現最短路徑算法。 實現最短路徑算法。
?? H
字號:
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//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"
#include "stdio.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);

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美成人一区二区三区| 婷婷久久综合九色综合伊人色| 美腿丝袜在线亚洲一区| 91精品国产色综合久久久蜜香臀| 亚洲成人免费av| 欧美一级免费大片| 久久国内精品视频| 欧美国产亚洲另类动漫| 91婷婷韩国欧美一区二区| 亚洲欧美激情插| 欧美性淫爽ww久久久久无| 日韩精品成人一区二区三区| 欧美变态tickling挠脚心| 狠狠色丁香婷婷综合久久片| 日本一区二区三区国色天香| 91捆绑美女网站| 日韩av一区二| 国产精品乱码一区二三区小蝌蚪| 色综合欧美在线视频区| 天涯成人国产亚洲精品一区av| 欧美成人福利视频| 波波电影院一区二区三区| 亚洲一级电影视频| 2022国产精品视频| 91麻豆.com| 另类的小说在线视频另类成人小视频在线 | 国精品**一区二区三区在线蜜桃| 日本一区二区三区久久久久久久久不| 色8久久人人97超碰香蕉987| 蜜桃av噜噜一区| 一区二区三区欧美在线观看| 欧美成人bangbros| 欧美在线视频全部完| 久久国产精品99久久人人澡| 亚洲欧美色一区| 久久天天做天天爱综合色| 欧洲一区在线观看| 成人一二三区视频| 日本伊人精品一区二区三区观看方式| 中日韩av电影| 日韩亚洲欧美综合| 欧美三级一区二区| 99麻豆久久久国产精品免费| 久久99精品久久只有精品| 亚洲欧美经典视频| 国产视频在线观看一区二区三区| 欧美日韩精品欧美日韩精品一| 国产成人精品一区二区三区四区 | 亚洲欧洲日韩一区二区三区| 91麻豆精品国产91| 91久久久免费一区二区| 成人av网址在线观看| 韩国一区二区在线观看| 婷婷综合另类小说色区| 亚洲乱码精品一二三四区日韩在线| 久久亚洲一区二区三区四区| 在线播放中文字幕一区| 日本高清免费不卡视频| 成人h动漫精品一区二区| 国产综合久久久久久鬼色| 亚洲成人免费在线观看| 亚洲欧美国产77777| 亚洲国产精品成人综合| 亚洲精品在线一区二区| 日韩一级免费观看| 欧美一区二区三区视频免费播放 | 九色porny丨国产精品| 日韩电影在线免费观看| 亚洲成人av一区二区| 亚洲成a天堂v人片| 亚洲曰韩产成在线| 亚洲成人精品影院| 视频一区中文字幕| 麻豆视频一区二区| 国内不卡的二区三区中文字幕 | 国产亚洲欧美日韩在线一区| 久久精品日韩一区二区三区| 国产亚洲精品资源在线26u| 精品国产伦一区二区三区观看方式 | 久久久久久久久久看片| 久久精品日韩一区二区三区| 国产欧美日韩激情| 中文字幕一区二区在线播放| 综合激情成人伊人| 一区二区三区在线观看欧美 | 精品午夜久久福利影院| 国产成人免费高清| 精品在线免费观看| 日韩1区2区3区| 日本女优在线视频一区二区| 亚洲国产三级在线| 婷婷开心激情综合| 视频一区在线播放| 另类小说综合欧美亚洲| 美腿丝袜一区二区三区| 国产99久久精品| 国产成人精品在线看| 色综合久久综合中文综合网| 日韩av不卡在线观看| 韩国女主播一区| 精品一区二区三区蜜桃| 成人黄色一级视频| 色视频一区二区| 欧美日韩另类一区| 精品久久久久一区二区国产| 精品国产a毛片| 亚洲欧洲日韩综合一区二区| 亚洲精品网站在线观看| 日韩成人免费在线| 久久精品99国产精品日本| 9l国产精品久久久久麻豆| 99久久99久久久精品齐齐| 欧美一区二区福利视频| 日韩欧美一区在线| 亚洲色大成网站www久久九九| 亚洲免费观看高清完整版在线 | 欧美一级二级在线观看| 国产日韩欧美精品综合| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 色天天综合色天天久久| 日韩午夜在线观看视频| 久久久久国产精品麻豆| 91美女福利视频| 久久99精品久久久久久国产越南| 国产suv精品一区二区6| 色综合天天综合网天天狠天天| 在线播放日韩导航| 2020日本不卡一区二区视频| 亚洲自拍都市欧美小说| 男男视频亚洲欧美| 97久久超碰精品国产| 欧美乱妇一区二区三区不卡视频| 国产精品日日摸夜夜摸av| 一区二区成人在线观看| 高清不卡在线观看| 色狠狠一区二区三区香蕉| 久久久国产精品午夜一区ai换脸| 亚洲日本乱码在线观看| 国产资源在线一区| 色综合色狠狠综合色| 国产欧美久久久精品影院| 久久久久久久久97黄色工厂| 亚洲成a人v欧美综合天堂下载| 久久99精品国产.久久久久久| 不卡视频一二三| 久久婷婷成人综合色| 亚洲不卡一区二区三区| 一本到三区不卡视频| 日韩美女主播在线视频一区二区三区| 一区二区三区免费看视频| 国产在线视频一区二区| 欧美一区二区免费视频| 国产精品国产三级国产aⅴ无密码 国产精品国产三级国产aⅴ原创 | 亚洲视频电影在线| 老司机免费视频一区二区三区| 欧美无人高清视频在线观看| 国产亚洲精品超碰| 国内不卡的二区三区中文字幕 | 亚洲高清免费视频| 91久久精品一区二区三区| 国产亚洲一本大道中文在线| 麻豆一区二区三| 色婷婷国产精品综合在线观看| 国产精品第五页| 美女视频第一区二区三区免费观看网站| 91麻豆国产自产在线观看| 国产精品萝li| 亚洲丝袜制服诱惑| 天天做天天摸天天爽国产一区| fc2成人免费人成在线观看播放 | 国产一二三精品| 日韩一区和二区| 韩日欧美一区二区三区| 制服丝袜国产精品| 日韩精品色哟哟| 欧美精品黑人性xxxx| 日韩av电影免费观看高清完整版 | 亚洲成人精品一区二区| 欧美日韩你懂的| 亚洲日本一区二区三区| 在线视频你懂得一区| 亚洲欧美日本韩国| 88在线观看91蜜桃国自产| 欧美激情一二三区| av资源网一区| 精品美女一区二区三区| 日产精品久久久久久久性色| 91精品国产综合久久久久久漫画| 天堂精品中文字幕在线| 日韩一区二区不卡| 久久 天天综合| 国产亚洲成aⅴ人片在线观看 | 国产欧美日韩精品一区| 秋霞午夜鲁丝一区二区老狼| 欧美一级在线免费| 久久国产乱子精品免费女| 久久久一区二区三区| 亚洲精品高清在线| 欧美视频你懂的| 国产在线视频不卡二|