encyclopegia.org

Hirschberg–Sinclair algorithm

The Hirschberg–Sinclair algorithm is a distributed algorithm designed for leader election problem in a synchronous ring network. It is named after its inventors, Dan Hirschberg and J. B. Sinclair. The algorithm requires the use of unique IDs (UID) for each process. The algorithm works in phases and sends its UID out in both directions. The message goes out a distance of 2 Phase Number hops and then the message heads back to the originating process. While the messages are heading "out" each receiving process will compare the incoming UID to its own. If the UID is greater than its own UID then it will continue the message on. Otherwise if the UID is less than its own UID, it will not pass the information on. At the end of a phase, a process can determine if it will send out messages in the next round by if it received both of its incoming messages. Phases continue until a process receives both of its out messages, from both of its neighbors. At this time the process knows it is the largest UID in the ring and declares itself the leader.

The Hirschberg–Sinclair algorithm is a distributed algorithm designed for leader election problem in a synchronous ring network. It is named after its inventors, Dan Hirschberg and J. B. Sinclair. The algorithm requires the use of unique IDs (UID) for each process. The algorithm works in phases and sends its UID out in both directions. The message goes out a distance of 2 Phase Number hops and then the message heads back to the originating process. While the messages are heading "out" each receiving process will compare the incoming UID to its own. If the UID is greater than its own UID then it will continue the message on. Otherwise if the UID is less than its own UID, it will not pass the information on. At the end of a phase, a process can determine if it will send out messages in the next round by if it received both of its incoming messages. Phases continue until a process receives both of its out messages, from both of its neighbors. At this time the process knows it is the largest UID in the ring and declares itself the leader. ==References==

References

No reference rows published for this article.

Cite this article

MLA

"Hirschberg–Sinclair algorithm." encyclopegia.org, 2024, https://encyclopegia.org/wiki/hirschberg-sinclair-algorithm. Accessed 24 November 2026.

Chicago

"Hirschberg–Sinclair algorithm." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/hirschberg-sinclair-algorithm.

APA

encyclopegia.org. (2024). Hirschberg–Sinclair algorithm. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/hirschberg-sinclair-algorithm

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Songrim

enwiki · references available

Davide Petrachi

enwiki · references available

Etawah gharana

enwiki · references available

Orgyia

enwiki · references available

Bujanov Tunnel

enwiki · references available

SR Colmar

enwiki · references available

Ground Components

enwiki · references available

Li Jing (Southern Tang)

enwiki · references available

Lexus Archer Stakes

enwiki · references available

Erminio Rullo

enwiki · references available

Taste My Beat

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1245765542 · 0.5 · snapshot enwiki-001245765542

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.