1 / 303
文档名称:

Skiena Algorithms Course.pdf

格式:pdf   页数:303
下载后只包含 1 个 PDF 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

Skiena Algorithms Course.pdf

上传人:bolee65 2014/1/28 文件大小:0 KB

下载得到文件列表

Skiena Algorithms Course.pdf

文档介绍

文档介绍:LectureSchedule
TeuBJectoplcsFeadinghw
1PrefminarfesAnayZI99nE
2Asymptcticnotation1018lout
3*RecurrenceRelations
4Modeling1825
5DataStructsElementarydatastructures2730
6,Binarysearchtrees3031
7Redblacktrees175179
8SortingHeapsort3137lin
9*Quicksort37502out
10【Linearsorting236239
Catalogproblems
MIDTERM1
11DecompositionElementsofdynamicprog5365
12Examplesofdynamicprog6575
13Divideandconquer75772in
14【GraphAlgsDatastructuresforgraphs81883out
15Breadthdepthfirstsearch8892
16【Topsortconnectivity9297
17Minimumspanningtrees97100
18Singlesourceshortestpaths100102
19Alpairsshortestpaths2792833in
MIDTERM2
20SearchCombinatorialsearch1151254out
21Heurtsticmethods125136
Catalogproplems
22IntractabilityReductions139144
23*Satisfiabiltty14414745
24Harderreductions147146
2581CooksTheorem
261Approximationalgorithms156160
CatalogProplemsSin
Graduateonlylecturesdenotedwith
VhatISsAnAlgorithm2
Algorithmsaretheideasbehindcomputerprograms.
Analgorithmisthethingwhichstaysthesamewhether
theprogramisinPascalrunningonaCrayinNewYork
orisinBASICrunningonaMacintoshinKathmandul
Tobeinteresting,analgorithmhastosolveagenerall
specifiedproblem,Analgorithmicproblemisspecified
bydescribingthesetofinstancesitmustworkonand
whatdesiredpropertiestheoutputmusthave,
ExampleSorting
InputASequenceofNnumbersal...an
Outputthepermutationreorderingoftheinputse
quenceSUChaSal人aa一an,
Weseekalgorithmswhicharecoryectandefficient,
Correctness
Foranyalgorithm,wemustprovethatia1waySreturns
thedesiredoutputforalllegalinstancesoftheproblemm.
Forsorting,thismeansevenif1theinputisalready
sorted,or2itcontainsrepeatedelements.
CorrectnessisNotbviousi
Thefollowingproblemarisesofteninmanufacturing
andtransportationtestingapplications,
Supposeyouhavearobotarmequippedwithatool
Sayasolderingiron,Toenabletherobotarmtodo
asolderingjob,wemustconstructanorderingofthe
contactpoints,sotherobotvisitsandsoldersthe
firstcontactpoint,thenvisitsthesecondpoint,third
andsoforthuntilthejobisdone,
Sincerobotsareexpensive,Weneedtofindtheorder
w