Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Partial solution, tree of partial solutions, backtracking?

Também chamado de: partial solution · tree of partial solutions · backtracking

Definition 20.2 University Computer Science — Year 1 · Capítulo 20 — Exhaustive Search and Backtracking

A partial solution is a sequence of choices that a complete solution may extend. The tree of partial solutions has the empty sequence as its root, and as children of a node its extensions by one choice. Backtracking explores this tree depth first, abandoning a node, and its whole subtree, as soon as the partial solution cannot be extended into a valid one.

Ler no capítulo →