全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Computer Science · 术语表

什么是 Partial solution, tree of partial solutions, backtracking?

又称: partial solution · tree of partial solutions · backtracking

Definition 20.2 University Computer Science — Year 1 · 第 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.

在原文中阅读 →