




版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進(jìn)行舉報或認(rèn)領(lǐng)
文檔簡介
算法介紹入門Introduction第一頁,共29頁。Welcome!Areyouthinkingaboutthesequestions?
Whydoweneedtostudythiscourse?
Whatshouldwelearninthecourse?
Howabouttheinstructor?
Isithardtopasstheexams?Whatisdifferentfromtheundergraduatecourse?Tobe,ornottobe
第二頁,共29頁。1.1CourseInformation第三頁,共29頁。CourseInformation
Lecturetimeandvenue:
Time:Tuesday(5-6),Thursday(9-11).ThefirstEIGHTweeksVenue:B107,Pingxueloubuilding(Qingshuihecampus)Language:
Chinese+English
Instructor:
Dr.XIAOMingyu(肖鳴宇)
Email:
Tel:
Coursepage:
Announcementsandlecturesare
releasedin:
(passwords:algorithm)
4第四頁,共29頁。Syllabus:
Introduction(2hours)
Basicsofalgorithmdesign&analysis(8hours)
Flows(4hours)
NP-CompletenessandAppro.alg.(10hours)
Advancetopics(12hours)
Practices(4hours)Textbook:
J.Kleinberg,E.Tardos,Algorithmdesign,AddisonWesley,2005Reference:
Cormen,Leiserson,Rivest,Stein,算法導(dǎo)論(影印版),高等教育出版社,2007GradingScheme:
Finalexam70%Practicesandothers30%
CourseInformation網(wǎng)絡(luò)流NP完備性和近似算法算法高級講座課程設(shè)計算法設(shè)計與分析基礎(chǔ)5第五頁,共29頁。CourseInformationDatafrom2015:
Attendedfinalexam:149(Registration:187)
考試129考查20
考試129人90分80分70分60分不及格考查
20人5246531316人通過Datafrom2014:
Attendedfinalexam:164(Registration:175)
考試137考查27
考試137人90分80分70分60分不及格考查
27人3406520918人通過6第六頁,共29頁。CourseInformationDatafromyear2012:
Attendedfinalexam:151(Registration:163)考試106考查45
考試106人90分80分70分60分不及格考查
45人6353314835人通過Datafrom2013:
Attendedfinalexam:144(Registration:163)
考試100考查44
考試100人90分80分70分60分不及格考查
44人2205717441人通過7第七頁,共29頁。CourseInformation
2015年冠軍榜(卷面分?jǐn)?shù))
第一名:94分,寇紹威,計算機(jī)軟件與理論
第二名:89分,潘睿,計算機(jī)應(yīng)用技術(shù)
第三名:87分,蔣鴻斌,計算機(jī)軟件與理論
第四名:86分,蔡騰遠(yuǎn),計算機(jī)應(yīng)用技術(shù)
劉磊,計算機(jī)軟件與理論
2014年冠軍榜(卷面分?jǐn)?shù))
第一名:93分,王治,計算機(jī)系統(tǒng)結(jié)構(gòu)
陳均滔,計算機(jī)系統(tǒng)結(jié)構(gòu)
第三名:88分,張玖林,通信與信息系統(tǒng)
周令輝,通信與信息系統(tǒng)第五名:87分,胡海嘯,計算機(jī)軟件與理論
王飛,計算機(jī)技術(shù)
2013年冠軍:計算機(jī)軟件與理論;2012年冠軍:通信與信息系統(tǒng)
8第八頁,共29頁。CourseInformationFindyourownway2014年12月27日上午8點9第九頁,共29頁。CourseInformationAdvicestowhowantstoregisterthiscourse:
1.Thiscourseisworthyofyourtime.Youwillbeproudofyourselfwhenyoufallinthiscourse.2.Thiscoursemaybeaheavyloadforyou,ifyoudonotwanttospendtimeonit.SoDON’Tselectthiscourseifyoujustwanttogetthecredit.
3.
Readthelecturenotescarefully,whichwillbemorehelpfulforyouthanthetextbooks.
4.MakesurethatyoucansolvetheproblemsthatIputhighlinesinthecourse.5.Insomeinterviewsofjobhunting,youmayfindthetechniquesinthecourseuseful.10第十頁,共29頁。1.2Introduction第十一頁,共29頁。Computersv.s.TractorsWhatisthedifferencebetweenthetwomachines?v.s.Computersaremorepowerful?12第十二頁,共29頁。ComputerProblemsProblemsMathematicalfunctionfrominputstomatchingoutputs.AparticularinputmustalwaysresultinthesameoutputeverytimethefunctioniscomputedProblemdefinitionshouldincludeconstraintsontheresourcesthatmaybeconsumedbyanyacceptablesolutionProblem:Atasktobeperformedbycomputers13第十三頁,共29頁。ThreeKindsofProblemsDecisionProblem(withyes-noanswers)e.g.Isthereasolutionbetterthansomegivenbound?OptimalValue/OptimalSolutione.g.Whatisthevalueofabestpossiblesolution?e.g.FindasolutionthatachievestheoptimalvalueNumericalCalculation
e.g.Solvinganequationgroup14第十四頁,共29頁。Algorithms1.amethodoraprocessfollowedtosolveaproblemusingacomputer
2.takestheinputofaproblemandtransformsittotheoutput
3.AproblemcanhavemanyalgorithmsComputerInputsOutputsWhatisanalgorithm?ProblemAlgorithmProgram15第十五頁,共29頁。ProgramsandalgorithmsAprogramistobereadbycomputerAnalgorithmistobereadbyhumanbeingAlgorithmscanbeexpressedbypseduocodesorjustsomeshortstepsthatareeasytoreadandunderstandAcomputerprogramisaninstance,orconcreterepresentation,foranalgorithminsomeprogramminglanguage.
16第十六頁,共29頁。GoalsofAlgorithmDesignWewanttousecomputestosolveproblems
--TosolveproblemsundertherecourseconstrainsTwo‘conflicting’goals:Todesignanalgorithmthatiseasytounderstand,codeanddebug.Todesignanalgorithmthatmakesefficientuseofthecomputer’sresources.
17第十七頁,共29頁。GoodAlgorithmsAlwaysExist?Someproblemshavegoodalgorithmsandcanbesolvedquickly.Somemaynothave(wehavenotfoundgoodalgorithmsyet).Whatshouldwedoforhardproblems?
-believingthattherearesomegoodalgorithmsforthem?
-believingthattheseproblemsarefundamentallydifferentfromeasyproblems?18第十八頁,共29頁。DifferentClassesofProblemsComputationalcomplexity.
Classifytheproblemsintodifferentclassesbymeasuringtheminimumresource(runningtime,space,orothers)requiredtosolvetheproblem.人類認(rèn)識世界的一個共同規(guī)則:物以類聚Someimportantclasses:P,NP,NPC,PTAS,…19第十九頁,共29頁。DifferentClassesofProblemsNPC:problemsthatmaynothavepolynomial-timealgorithms.P:asolutioncanbesolvedinpolynomialtime.ManyimportantproblemsinpracticeareNPC.NPCPNPNP:asolutioncanbecheckedinpolynomialtime.P=NP?植物是否等同動物?20第二十頁,共29頁。NPCProblemsHeuristicalgorithms:solvingtheproblemsbyyourfeeling.Donotknowifitisrightornot,butthealgorithmrunsfast.ManymethodstodealwithNPCproblems:Approximationalgorithms:thealgorithmfindsasolutionnotfarawayfromtheoptimalsolutionandrunsinpolynomialtime.Fastexactalgorithms:effectiveexponential-timealgorithms(mustfasterthansimplesearchalgorithms).Parameterizedalgorithms:thealgorithmiseffectivewhentheparameterissmall.21第二十一頁,共29頁。1.3SomeRepresentativeProblems第二十二頁,共29頁。IntervalSchedulingInput.Setofjobswithstarttimesandfinishtimes.Goal.Findmaximumcardinalitysubsetofmutuallycompatiblejobs(donotoverlap).Time01234567891011fgheabcdheb23第二十三頁,共29頁。WeightedIntervalSchedulingInput.Setofjobswithstarttimes,finishtimes,andweights.Goal.Findmaximumweightsubsetofmutuallycompatiblejobs.Time01234567891011201116132312202624第二十四頁,共29頁。BipartiteMatchingInput.Bipartitegraph.Goal.Findmaximum
cardinalitymatching.C152AE3BD425第二十五頁,共29頁。Independ
溫馨提示
- 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
- 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
- 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
- 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
- 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負(fù)責(zé)。
- 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請與我們聯(lián)系,我們立即糾正。
- 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。
最新文檔
- 施工云梯采購合同范本
- 酒店員工勞動合同管理與績效評估體系合同2025
- 2025年度解聘勞動合同補償標(biāo)準(zhǔn)與員工安置方案
- 二零二五年度電影票務(wù)平臺優(yōu)惠活動合同范本
- 二零二五年度農(nóng)業(yè)機(jī)械化作業(yè)合同模板范文
- 二零二五年度新能源項目經(jīng)理聘請合同
- 二零二五年度反擔(dān)保人責(zé)任書:新能源車產(chǎn)業(yè)鏈投資風(fēng)險共擔(dān)合同
- 2025年度車抵押貸款合同違約賠償細(xì)則
- 二零二五年度荒山土地流轉(zhuǎn)與生態(tài)農(nóng)業(yè)合作合同
- 2025年度離婚協(xié)議書:子女權(quán)益保障與無財產(chǎn)分割協(xié)議書修訂合同
- 2023年高考真題-地理(天津卷) 含答案
- 2024年10月自考02160流體力學(xué)試題及答案含評分參考
- 2025年公務(wù)員考試《行測》模擬題及答案(詳細(xì)解析)
- 2024年黑龍江省牡丹江市中考?xì)v史試卷
- 滬科版八年級物理知識點總結(jié)
- 孫權(quán)勸學(xué)(原卷版)-2024年中考語文之文言文對比閱讀
- 高速公路日常清掃與養(yǎng)護(hù)方案
- 風(fēng)電epc合同模板
- 2024年新人教版一年級數(shù)學(xué)下冊《第2單元第5課時 20以內(nèi)的退位減法解決問題(1)》教學(xué)課件
- 2022年陜西省普通高校職業(yè)教育單獨招生統(tǒng)一考試語文甲(A)試題
- 失業(yè)保險待遇申領(lǐng)表
評論
0/150
提交評論