- 1、本文档共69页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
分布式算法课件5
Interference among concurrent MWOE searches Suppose C gets absorbed into C′ via an edge from i to j, while C′ is working on determining its MWOE. Two cases: j has not yet reported its local mwoe when the absorb occurs. Then it’s not too late to include C in the search for the MWOE of C′. So j forwards the initiate message into C. j has already reported its local mwoe. Then it’s too late to include C in the search. But it doesn’t matter: the MWOE for the combined component can’t be outgoing from a node in C anyhow! * A few details Specific messages: initiate:Broadcast from leader to find MWOE; piggybacks component name. report: Convergecast MWOE responses back to leader. test:Asks whether an edge is outgoing from the component. accept/reject:Answers. changeroot: Sent from leader to endpoint of MWOE. connect: Sent across the MWOE, to connect components. We say merge occurs when connect message has been sent both ways on the edge (2 nodes must have same level). We say absorb occurs when connect message has been sent on the edge from a lower-level to a higher-level node. * Test-Accept-Reject protocol Bookkeeping: Each process i keeps a list of incident edges in order of weight, classified as: branch(in the MST), rejected(leads to same component), or unknown(not yet classified). * Test-Accept-Reject protocol Process i tests only unknown edges, sequentially in order of weight: Sends test message, with (core, level); recipient j compares. If same (core, level), j sends reject(same component), and i reclassifies edge as rejected. If (core, level) pairs are unequal and level(j) ≥level(i) then j sends accept (different component). i does not reclassify the edge. If level(j) level(i) then j delays responding, until level(j) ≥level(i). Retesting is possible, for accepted edges. Reclassify edge as branch as a result of changeroot message. * Complexity As for synchronous version. Messages: O(|E| + n log n) 4|E| for test-reject msgs(one pair for each direction of every edge) n
您可能关注的文档
最近下载
- 麻醉中水电解质平衡管理.pptx
- 2025年新高考天津卷语文真题(解析版-).pdf VIP
- 腾势-腾势X-产品使用说明书-经典版(插混)-QCJ6490ST6HEV-腾势X插电式混动SUV用户手册20191212.pdf VIP
- 艾灸疗法ppt课件.ppt
- SHT 3225-2024 石油化工安全仪表系统安全完整性等级设计规范.docx VIP
- 装饰装修工装饰装修工试题二十二.doc VIP
- 装饰装修工装饰装修工试题六.doc VIP
- 三年级 上 音乐 苏教版.doc VIP
- 装饰装修工装饰装修工试题五.doc VIP
- 2024江西南昌凤凰城上海外国语学校教师招聘笔试模拟试题及答案解析.docx VIP
文档评论(0)