CHAP 3 : Search Techniques (uninformed) Flashcards
What is the definition of search?
It is the process of looking for a sequence of actions that reaches the goal.
What are inputs in problem formulation? [6]
- State space
- all possible combinations of states in the end, set of all possible configurations of a system - Action space
- Successor function
- a description of possible actions, a set of operators.
- for state x, returns s(x) –> Given a state, generates its sucessor states - Start state
- Goal test (aka goal state)
- Path cost
- A function that assigns a numeric value to each path.
What is a state?
A representation of physical state
What is a node
A data structure that is part of a search tree
What is a branching factor?
What is the branching factor of the search trees given in the slides?
- The branching factor is the number of children at each node.
- The search trees in the slides have a branching factor of 2. (Binary tree)
What are the parts of a search tree? [3]
- Root (parent) node
- Child nodes
- Edges –> representing the action and costs
What is the output of a search problem?
The output is the sequence of actions that reaches the goal state from the current state.
Predicting the sales price of an HDB flat is considered a search technique. Is the statement True or False?
False
The maximum number of elements in an action space is one. Is the statement true or false?
False
Goal test finds if a state is goal state or not a goal state. Is the statement true or false?
True
Search Trees are data structures that are used to represent the search problem. Is the statement true or false?
True
When planning a route for a robot, it is possible to build a search tree to find the most optimal routes. Is the statement true or false?
True
What the definition of a frontier in a search tree?
It is the set of unexplored child nodes that is to be expanded
What kind of data strucutres may be used for the frontier and how do they work?
- Queue – FIFO
- Stack – LIFO
- Priority queue – nodes expanded following a priority function that is set between the nodes
What is the definition of the explored set?
It is the set of leaf nodes that are already explored
What does the explored set do in a search tree?
It saves unique instances of the states from the search tree.