【正文】
突然想到那件藍(lán)格子襯 衫;那些被折成各種各樣形狀的信紙;那段從街角深巷伊始的友誼;還有那場還沒有開始就宣告了終結(jié)的邂逅計(jì)劃 …… 那些年那些天的非做不可,終于和青春一樣,都將在我們的人生中謝幕。也曾經(jīng)好像已經(jīng)下定了決心去做某件事,但更多的時(shí)候是最后又打起了退堂鼓。t really grow up, it seems is not so important。s actions. CSKA said they were surprised and disappointed by Toure39。t charge you more than 35% of your pensation if you win the case. If you are thinking about signing up for a damagesbased agreement, you should make sure you39。 [2] 嚴(yán)蔚敏,吳偉民 . 數(shù)據(jù)結(jié)構(gòu)題集 (C語言版 ) .清華大學(xué)出版社 .2021 年 5 月。 經(jīng)驗(yàn)和體會(huì) 在本次課程設(shè)計(jì)中主要是對(duì)圖的數(shù)據(jù)結(jié)構(gòu)操作,所有剛開始對(duì)知識(shí)不是很熟悉操作起來有一定難度,容易在程序的關(guān)鍵地方但經(jīng)過翻閱教材能較好的解決問題 。 } 故宮導(dǎo)游咨詢 20 } 4 調(diào)試分析 測試數(shù)據(jù) 測試數(shù)據(jù)見圖 1. 調(diào)試問題 在調(diào)試過程中遇到輸出路徑算法有錯(cuò)誤,當(dāng)刪除一條路徑時(shí)時(shí)不能正確輸出相應(yīng)路徑,然后對(duì)輸出路徑的條件進(jìn)行改進(jìn),增加了條件,測試成功。) { ()。) { ()。 cout*** B、查詢到景點(diǎn)的最佳路徑 ***endl。B39。) { ()。) { ()。 cout********************************endl。 cout*** 歡迎登陸故宮管理系統(tǒng) ***endl。A39。 cout******************************endl。 if(n!=1) cout。 c[j]=Vertices[k].dingdian。 int j=0。amp。dist[j]min) { u=j。 for(i=0。i++) { dist[i]=Edge[v][i]。 string b。 j++。 cout最佳路徑長度為 :。 } } 故宮導(dǎo)游咨詢 13 for( i=0。 for(int w=0。 int u=v。amp。 for(int i=0。n=1。 故宮導(dǎo)游咨詢 11 cout路徑為 :。amp。amp。dist[j]min) { u=j。 for(i=0。i++) { dist[i]=Edge[v][i]。 for(int i=0。 numE。 } } cout撤銷成功 !endl。 for(int j=0。 for(int i=0。 Vertices[i].xinxi=c。 } } 修改操作 void Graph::xiugai() { string a,c。 cout景點(diǎn)信息 :。 } 故宮導(dǎo)游咨詢 6 、錄入信息 void Graph::Creat() { int i,vi,vj,w。ix。 for(i=0。j++) { if(i==j) Edge[i][j]=0。 string xinxi。 string xinxi。//刪除景點(diǎn)和路徑信息。//錄入景點(diǎn)和路徑的信息。本課程設(shè)計(jì)采用的編程環(huán)境為 Microsoft Visual Stdio 。 首先是對(duì)需求分析的簡要闡述,說明系統(tǒng)要完成的任務(wù)和相應(yīng)的分析,并給出測試數(shù)據(jù)。 其次是概要設(shè)計(jì),說明所有抽象數(shù)據(jù)類型的定義、主程序的流程以及各程序模塊之間的層次關(guān)系,以及 ADT 描述。 需求分析 游客游覽某一景點(diǎn)時(shí),對(duì)景點(diǎn)都不熟悉。 void select()。 void shortpath1()。 } 各功能模塊 錄入模塊 :void Creat()錄入景點(diǎn)和路徑的信息,并儲(chǔ)存。 } 初始化 構(gòu)造函數(shù)初始化變量: Graph::Graph() { for(int i=0。 else Edge[i][j]=MAXweight。iy。i++) { cout輸入添加景點(diǎn)到景點(diǎn)的路徑的長度 (vi,vj,length):。 cout輸入路徑的條數(shù)數(shù)和景點(diǎn)數(shù): 。 cinVertices[i].xinxi。 int b=0。 b++。inumV。jk。 } for(int i=0。 故宮導(dǎo)游咨詢 9 } else cout不存在該路線 !endl。inumV。 s[i]=0。inumV。 min=dist[j]。dist[u]+Edge[u][w]dist[w]) { dist[w]=dist[u]+Edge[u][w]。dist[i]!=MAXweight) { string c[10]。 do{ j++。n) { coutc[n]。inumV。dist[i]MAXweight) path[i]=v。 for(int j=0。wnumV。inumV。 coutdist[i]米 。 c[j]=Vertices[k].dingdian。 cout輸入你所在的景點(diǎn) :。 s[i]=0。inumV。 故宮導(dǎo)游咨詢 15 min=dist[j]。dist[u]+Edge[u][w]dist[w]) { dist[w]=dist[u]+Edge[u][w]。 int k=i。 k=path[k]。 } coutendl。 cout****** A、管理員 ******endl。) { 故宮導(dǎo)游咨詢 17 int d。 cout********************************endl。 cinb。 system(pause)。 system(pause)。) { char b。 cout*** C、查詢到所有景點(diǎn)的最佳路徑 ***endl。 system(pause)。 system(pause)。 算法時(shí)間復(fù)雜度 錄入:時(shí)間復(fù)雜度為 O(n)。 5 用戶使用說明 本系統(tǒng)是關(guān)于故宮的管理 系統(tǒng)分為兩類用戶,管理員和游客, 由于管理員可以對(duì)數(shù)據(jù)進(jìn)行修改,為了保護(hù)數(shù)據(jù),所以 管理員登陸 需 要密碼 而游客不需要密碼,管理員有添加景點(diǎn)和路徑、刪除景點(diǎn)和路徑、修改景點(diǎn)信息權(quán)限,游客能查詢景點(diǎn)信息、查找到某一景點(diǎn)的最佳路徑和到所有景點(diǎn)的最佳路徑。 [3] 楊秀金,數(shù)據(jù)結(jié)構(gòu) (C++版 ) .高等教育出版社 .2021 年 4月 。re clear about the terms of the agreement. It might be best to get advice from an experienced adviser, for example, at a Citizens Advice Bureau. To find your nearest CAB, including those that give advice by , click on nearest CAB. For more information about making a claim to an employment tribunal, see Employment tribunals. The (lack of) air up there Watch mCayman Islandsbased Webb, the head of Fifa39。s plaint. In a statement the Russian side added: We found no racist insults from fans of CSKA. Age has reached the end of the beginning of a word. May be guilty in his seems to passing a lot of different life became the appearance of the same day。 Then in high school, think don39。嫌惡過自己的怯懦,最終卻發(fā)現(xiàn)有很多 緣分 ,有很多錯(cuò)過,好像冥冥之中真的已經(jīng)注定。 Baumgartner the disappointing news: Mission aborted. r plays an important role in this mission. Starting at the ground, conditions have to be very calm winds less than 2 mph, with no precipitation or humidity and limited cloud cover. The balloon, with capsule attached, will move through the lower level of the atmosphere (the troposphere) where our daytoday weather lives. It will climb higher than the tip of Mount Everest ( miles/ kilometers), drifting even higher than the cruising altitude of mercial airliners ( miles/ kilometers) and into the stratosphere. As he crosses the boundary layer (called the tropopause),e can expect a lot of turbulence. The