全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Exhaustive search?

又称: brute force

Definition 20.1 University Computer Science — Year 1 · 第 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.
在原文中阅读 →