All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Constraint, pruning?

Also known as: constraint (of a search problem) · pruning

Definition 20.3 University Computer Science — Year 1 · Chapter 20 — Exhaustive Search and Backtracking

The constraints of a problem are the conditions a solution must satisfy. Pruning is abandoning a node because its partial solution already breaks a constraint, or cannot lead to a solution better than one already known.

Read in context →