DELAPARRA
Index
Color
NL
Category: Programming paradigms

Propagation

Explained by Updated

What is Propagation?

Propagation: Eliminating impossible values from domains early, based on already-known constraints, to shrink the search space. In constraint programming, propagation means using the constraints you know to remove impossible values from variables early, before searching. If a meeting must be on a weekday and Monday and Tuesday are already full, those days can be crossed off for everyone involved.

Definition source Coders Lingo, CC BY 4.0

Frequently asked questions about Propagation

How is Propagation used in practice?

Each removal can trigger further removals in related variables. A solver keeps propagating until nothing more can be eliminated, and only then guesses a value and searches.

What should you keep in mind with Propagation?

Good propagation can shrink a huge search space to something small, which is why constraint solvers can handle scheduling problems that brute force never could. The same idea appears in everyday tools. Sudoku solving by elimination is propagation, and so is a form that narrows the list of delivery times as soon as you pick a date.

At a glance

CategoryProgramming paradigms
Explained by
Updated

More Programming paradigms terms

All terms starting with P

Skills

Download all skills (zip)

Manuals

Related services

Need any help?

Stuck on one of these in your own project? Tell me what you are working on and I will tell you how I would approach it.