COM1005 COM2007 Machines and Intelligence (ACADEMIC YEAR 2016~17) Flashcards
Why write programmes?
Make ideas concrete, evaluate ideas, comparative against alternatives, results can be reproduced.
Solving the general problem
Abstraction.
State space
All legal problem states (a graph).
Arcs
Connect states to each other.
Expand function
Takes a state and returns all reachable states in 1 move.
Operator
Express legal moves.
Combinatorial explosion
Search tree grows rapidly with increasing depth.
Calculating # of nodes
Branching factor * depth.
Solution to many nodes to search pt1
Stop search before resource run out. Quality v. ease of finding solution.
Solution to many nodes to search pt2
Do not include illegal moves in state space. More knowledge.
Open nodes
Nodes awaiting development.
Closed nodes
Nodes already developed.
Does DFS have a solution?
Guaranteed but not admissible.
Admissible
If it never overestimates the cost of reaching the goal.
How does Depth-bounds search work?
Search completely to n. No solution, increase n.