Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Exhaustive search?

Também chamado de: brute force

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

An exhaustive search, or brute force, solves a problem by generating every candidate solution and testing each.

The include/exclude tree for \a, b, c\: each level decides one item; the eight leaves (shaded) are the subsets, in the order the recursive generator yields them. The tree has 24 - 1 = 15 nodes.
The include/exclude tree for {a,b,c}\{a, b, c\}: each level decides one item; the eight leaves (shaded) are the subsets, in the order the recursive generator yields them. The tree has 24−1=152^4 - 1 = 15 nodes.
Ler no capítulo →