Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Two generals problem?

Definition 25.3 University Computer Science — Year 3 · Capítulo 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).

Leer en el capítulo →