Semua buku

Profesional

Aplikasi Tentang Pelatih Masuk Mulai membaca

Computer Science · Glosarium

Apa itu Exhaustive search?

Dikenal juga sebagai: brute force

Definition 20.1 University Computer Science — Year 1 · Bab 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.
Baca dalam konteks →