<p>We address the problem of Termination Detection (TD) in asynchronous networks. It is known that TD cannot be achieved in the context of self-stabilization, except in the specific case where the TD algorithm is snap-stabilizing, <i>i.e.</i>, it always behaves according to its specification regardless of the initial configuration. In this paper, we propose a generic, deterministic, snap-stabilizing, silent algorithm that detects whether an observed terminating silent self-stabilizing algorithm, <InlineEquation ID="IEq1"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="446_2025_484_Article_IEq1.gif" Format="GIF" Height="14" Rendition="HTML" Resolution="72" Type="Linedraw" Width="18" /> </InlineMediaObject> <EquationSource Format="TEX">\({\mathcal {A}}\)</EquationSource> <EquationSource Format="MATHML"><math> <mi mathvariant="script">A</mi> </math></EquationSource> </InlineEquation>, has converged to a configuration that satisfies an intended predicate. Our algorithm assumes that nodes know an upper bound <i>D</i> on the network diameter. However, it does not rely on any underlying structure or specific topology (arbitrary network) and operates in anonymous networks, <i>i.e.</i>, our algorithm makes no assumptions that would allow distinguishing one or more nodes. Furthermore, it works under the weakest scheduling assumptions <i>a.k.a</i>, the unfair distributed scheduler. Built over any asynchronous self-stabilizing underlying unison <InlineEquation ID="IEq2"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="446_2025_484_Article_IEq2.gif" Format="GIF" Height="14" Rendition="HTML" Resolution="72" Type="Linedraw" Width="15" /> </InlineMediaObject> <EquationSource Format="TEX">\({\mathcal {U}}\)</EquationSource> <EquationSource Format="MATHML"><math> <mi mathvariant="script">U</mi> </math></EquationSource> </InlineEquation>, our solution adds only <InlineEquation ID="IEq3"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="446_2025_484_Article_IEq3.gif" Format="GIF" Height="19" Rendition="HTML" Resolution="72" Type="Linedraw" Width="65" /> </InlineMediaObject> <EquationSource Format="TEX">\(O(\log D)\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>O</mi> <mo stretchy="false">(</mo> <mo>log</mo> <mi>D</mi> <mo stretchy="false">)</mo> </mrow> </math></EquationSource> </InlineEquation> bits per node. Since there exists no unison algorithm with better space complexity, the extra space of our solution is negligible <i>w.r.t.</i> the space complexity of the underlying unison algorithm. Given a unison algorithm with similar properties than those in the literature, our algorithm provides a positive answer in <InlineEquation ID="IEq4"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="446_2025_484_Article_IEq4.gif" Format="GIF" Height="19" Rendition="HTML" Resolution="72" Type="Linedraw" Width="121" /> </InlineMediaObject> <EquationSource Format="TEX">\(O(\max (k, k', D))\)</EquationSource> <EquationSource Format="MATHML"><math> <mrow> <mi>O</mi> <mo stretchy="false">(</mo> <mo movablelimits="true">max</mo> <mrow> <mo stretchy="false">(</mo> <mi>k</mi> <mo>,</mo> <msup> <mi>k</mi> <mo>′</mo> </msup> <mo>,</mo> <mi>D</mi> <mo stretchy="false">)</mo> </mrow> <mo stretchy="false">)</mo> </mrow> </math></EquationSource> </InlineEquation> rounds, where <i>k</i> and <InlineEquation ID="IEq5"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="446_2025_484_Article_IEq5.gif" Format="GIF" Height="15" Rendition="HTML" Resolution="72" Type="Linedraw" Width="16" /> </InlineMediaObject> <EquationSource Format="TEX">\(k'\)</EquationSource> <EquationSource Format="MATHML"><math> <msup> <mi>k</mi> <mo>′</mo> </msup> </math></EquationSource> </InlineEquation> are the stabilization time complexities of <InlineEquation ID="IEq6"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="446_2025_484_Article_IEq1.gif" Format="GIF" Height="14" Rendition="HTML" Resolution="72" Type="Linedraw" Width="18" /> </InlineMediaObject> <EquationSource Format="TEX">\({\mathcal {A}}\)</EquationSource> <EquationSource Format="MATHML"><math> <mi mathvariant="script">A</mi> </math></EquationSource> </InlineEquation> and <InlineEquation ID="IEq7"> <InlineMediaObject> <ImageObject Color="BlackWhite" FileRef="446_2025_484_Article_IEq2.gif" Format="GIF" Height="14" Rendition="HTML" Resolution="72" Type="Linedraw" Width="15" /> </InlineMediaObject> <EquationSource Format="TEX">\({\mathcal {U}}\)</EquationSource> <EquationSource Format="MATHML"><math> <mi mathvariant="script">U</mi> </math></EquationSource> </InlineEquation>, respectively.</p>

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Silent anonymous snap-stabilizing termination detection

  • Lélia Blin,
  • Colette Johnen,
  • Gabriel Le Bouder,
  • Franck Petit

摘要

We address the problem of Termination Detection (TD) in asynchronous networks. It is known that TD cannot be achieved in the context of self-stabilization, except in the specific case where the TD algorithm is snap-stabilizing, i.e., it always behaves according to its specification regardless of the initial configuration. In this paper, we propose a generic, deterministic, snap-stabilizing, silent algorithm that detects whether an observed terminating silent self-stabilizing algorithm, \({\mathcal {A}}\) A , has converged to a configuration that satisfies an intended predicate. Our algorithm assumes that nodes know an upper bound D on the network diameter. However, it does not rely on any underlying structure or specific topology (arbitrary network) and operates in anonymous networks, i.e., our algorithm makes no assumptions that would allow distinguishing one or more nodes. Furthermore, it works under the weakest scheduling assumptions a.k.a, the unfair distributed scheduler. Built over any asynchronous self-stabilizing underlying unison \({\mathcal {U}}\) U , our solution adds only \(O(\log D)\) O ( log D ) bits per node. Since there exists no unison algorithm with better space complexity, the extra space of our solution is negligible w.r.t. the space complexity of the underlying unison algorithm. Given a unison algorithm with similar properties than those in the literature, our algorithm provides a positive answer in \(O(\max (k, k', D))\) O ( max ( k , k , D ) ) rounds, where k and \(k'\) k are the stabilization time complexities of \({\mathcal {A}}\) A and \({\mathcal {U}}\) U , respectively.