Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Two generals problem » ?

Definition 25.3 University Computer Science — Year 3 · Chapitre 25 — Distributed Systems: Time, Failures and Remote Calls

In the two generals problem, two generals camp on the hills on either side of a valley and can win only if they attack together. They communicate by messengers who cross the valley and may be captured. General A has a plan to attack at dawn. A protocol tells each general which messengers to send and, from the messengers it has received, whether to attack. It solves the problem if, in every run, both generals take the same decision (agreement), and if they attack in the run where no messenger is captured (the plan is not simply dropped).

Lire dans le chapitre →