- 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
您可能关注的文档
- 冰箱基本性能与控制.ppt
- 冲击专业基础知识试题和答案.doc
- 冲击波治疗仪.ppt
- 冰河世纪电影英文简介.pptx
- 冲击电压发生器的原理、试验及设计.doc
- 冲刺模拟卷(五).doc
- 冠脉造影术简装板1.ppt
- 冲碾施工方案.doc
- 冲压半片deform模拟教程.docx
- 冰雪奇缘英语演讲.ppt
- 第18讲 第17课 西晋的短暂统一和北方各族的内迁.docx
- 第15讲 第14课 沟通中外文明的“丝绸之路”.docx
- 第13课时 中东 欧洲西部.doc
- 第17讲 第16 课三国鼎立.docx
- 第17讲 第16课 三国鼎立 带解析.docx
- 2024_2025年新教材高中历史课时检测9近代西方的法律与教化含解析新人教版选择性必修1.doc
- 2024_2025学年高二数学下学期期末备考试卷文含解析.docx
- 山西版2024高考政治一轮复习第二单元生产劳动与经营第5课时企业与劳动者教案.docx
- 第16讲 第15课 两汉的科技和文化 带解析.docx
- 第13课 宋元时期的科技与中外交通.docx
最近下载
- 西北工业(大学)数学分析历年考研试题.pdf
- 《Unit 4 Fun with numbers》教学设计外研版(三起)(2024)小学英语三年级上册.docx VIP
- 135战法55种方法图解(宁俊明版).docx VIP
- 小学生主题教育班会 不挑食我最棒 课件(共27张PPT).pptx VIP
- 工贸企业重大事故隐患判断标准解读培训课件.pdf
- 上海市2023年高考语文模拟题汇编-阅读与鉴赏(现代文阅读).doc
- 中国居民膳食指南2022全文.pdf
- 2024年《消费者权益保护法实施条例》全文解读PPT课件.pptx
- 商业商户店铺装修手册.doc
- 新人教版英语七年级上册全册课件(2024年新教材).pptx
文档评论(0)