ArticleslgStudy

computer science

Amnesiac flooding

Amnesiac flooding is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Amnesiac flooding rather than just read about it. In short: In distributed computing amnesic flooding is a stateless distributed flooding algorithm that can be implemented as a broadcast protocol in synchronous distributed networks without the need to store messages or flags between communication rounds. The algorithm is simple: When a node receives a message, it forwards it to all of its neighbours it did not receive the message from.

Key takeaways

  • Amnesiac flooding belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Amnesiac flooding to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Amnesiac flooding from memory before moving on to harder problems.

Reference excerpt

In distributed computing amnesic flooding is a stateless distributed flooding algorithm that can be implemented as a broadcast protocol in synchronous distributed networks without the need to store messages or flags between communication rounds. The algorithm is simple: When a node receives a message, it forwards it to all of its neighbours it did not receive the message from. To initiate a broadcast on a network, a node simply sends the message to all of its neighbours. The algorithm has been shown to terminate when the message begins at any subset of the network nodes or any sequence thereof. For I⊆V a subset of the nodes of a graph G, then t(I) the time until an amnesiac flood terminates when started from I is known to obey the following bounds: t(I)=e(I) if G is I-bipartite and e(I)<t(I)≤e(I)+d(G)+1 if it is not, where e(I) is the eccentricity of I and d(G) is the diameter. A graph is I-bipartite, if the quotient graph of G with I contracted to a single node is bipartite. This termination time is optimal for I-bipartite graphs and is asymptotically optimal for single node initialisation on non-bipartite graphs. This termination is robust with respect to the loss of edges and nodes, however it fails with delays on edges or the addition of new edges.

Variants of Amnesiac Flooding Since its introduction, several variants of and related problems to amnesiac flooding have been studied. For example, a modified variant requiring the initial set to retain their knowledge of this membership and the message for a single round, but always requiring e(I)+1 rounds has been proposed. A dynamic version of amnesiac flooding has been introduced considering the case where there are multiple different messages in the system and where each node can only send one message per round. This has been shown to terminate in the partial send case (v sends an arbitrary message to its neighbours that didn't send it any message last round) and the ranked-full send case (v sends the highest ranked message m to all of its neighbours that did not send it m last round). However, the unranked-full send (v sends an arbitrary message m to all of its neighbours that did not send it m last round) does not necessarily terminate without additional stored information (such as the diameter of the graph ).

References

Worked examples

Example 1 — a first encounter with Amnesiac flooding

Start with the simplest possible case. Write down what Amnesiac flooding claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Amnesiac flooding before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Amnesiac flooding ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Amnesiac flooding

In research
Amnesiac flooding appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Amnesiac flooding in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Amnesiac flooding is common in secondary-school and first-year university syllabi. It links to neighbouring topics Distributed algorithms, Flooding algorithms, so understanding it makes those chapters shorter.
In everyday life
Look for Amnesiac flooding outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Amnesiac flooding” →

How to study Amnesiac flooding in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Amnesiac flooding means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Amnesiac flooding out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Amnesiac flooding in simple terms?

In distributed computing amnesic flooding is a stateless distributed flooding algorithm that can be implemented as a broadcast protocol in synchronous distributed networks without the need to store messages or flags between communication rounds. The algorithm is simple: When a node receives a messa…

Why does Amnesiac flooding matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Amnesiac flooding?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Amnesiac flooding.

Tags

  • Distributed algorithms
  • Flooding algorithms

Keep exploring