1 / 62
文档名称:

Parallel Programming in C with the Message Passing Interface.ppt

格式:ppt   大小:394KB   页数:62页
下载后只包含 1 个 PPT 格式的文档,没有任何的图纸或源代码,查看文件列表

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

Parallel Programming in C with the Message Passing Interface.ppt

上传人:rovend 2020/7/1 文件大小:394 KB

下载得到文件列表

Parallel Programming in C with the Message Passing Interface.ppt

相关文档

文档介绍

文档介绍:Today’binatorialSearch:ExamplesLayingoutcircuitsinVLSIPlanningmotionofrobotarmsAssigningcrewstoairlineflights,roommatestodormroomsProvingtheoremsPlayinggamesWe’binatorialSearchMethodsDivideandconquerBacktracksearchBranchandboundAlpha-betasearchState-spaceSearchTreeEachnoderepresentsaproblemorsub-problemRootoftree:initialproblemtobesolvedChildrenofanodecreatedbyaddingconstraintsANDnode:tofindsolution,mustsolveproblemsrepresentedbyallchildrennodesORnode:tofindsolution,solveanyofproblemsrepresentedbychildrennodesSearchTree(cont.)ANDtreeContainsonlyANDnodesDivide-and-conqueralgorithmsORtreeContainsonlyORnodesBacktracksearchandbranchandboundAND/ORtreeContainsbothANDandORnodesGametreesDivideandConquerDivide-and-binesolutionstosubproblemsRecursive:subproblemsmaybesolvedusingthedivide-and-conquermethodologyExample:quicksort,eabottleneckasnumberofprocessorsincreasesBacktrackSearchUsesdepth-firstsearch(inOR-tree)urswhenAnodehasnochildren(“deadend”)Allofanode’schildrenhavebeenexploredExample: CrosswordPuzzleCreationGivenBlankcrosswordpuzzleDictionaryofwordsandphrasesAssignletterstoblankspacessothatallpuzzle’shorizontalandvertical“words”arefromthedictionaryHaltassoonasasolutionisfoundCrosswordPuzzleProblemGivenablankcrosswordpuzzleandadictionary.............findawaytofillinthepuzzle.