Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es State space, search problem, goal test?

También llamado: search problem · goal test · state space

Definition 28.1 University Computer Science — Year 2 · Capítulo 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.
Leer en el capítulo →