全部书籍

专业

应用 关于 Coach 登录 开始阅读

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

Computer Science · 术语表

什么是 State space, search problem, goal test?

又称: search problem · goal test · state space

Definition 28.1 University Computer Science — Year 2 · 第 28 章 — Search and Games

A search problem is given by a set of states, a start state, a goal test that says whether a state is a goal, and for each state its successors, each reached by an action of cost c>0c > 0. The states and the actions form a directed graph, the state space; a solution is a path from the start to a goal, and an optimal solution one of least total cost.

Part of the 8-puzzle’s state space. The start has four successors, one per tile that can slide; each is labelled with its Manhattan distance h, the sum over the tiles of their distances to their places. The thick path is the solution of two moves; h points straight at it.
Part of the 8-puzzle’s state space. The start has four successors, one per tile that can slide; each is labelled with its Manhattan distance hh, the sum over the tiles of their distances to their places. The thick path is the solution of two moves; hh points straight at it.
在原文中阅读 →