A General Introduction To Artificial Intelligence
A General Introduction To Artificial Intelligence
Artificial Intelligence
Outline
Knowledge-based agents
Wumpus world
Logic in general - models and entailment
Propositional (Boolean) logic
Equivalence, validity, satisfiability
Inference rules and theorem proving
forward chaining
backward chaining
resolution
Knowledge Bases
Environment
Squares adjacent to wumpus are smelly
Squares adjacent to pit are breezy
Glitter iff gold is in the same square
Shooting kills wumpus if you are facing it
Shooting uses up the only arrow
Grabbing picks up gold if in same square
Releasing drops the gold in same square
Model checking
truth table enumeration (always exponential in n)
WalkSAT algorithm
The DPLL Algorithm
Determine if an input propositional logic sentence (in CNF) is satisfiable.
m = number of clauses
n = number of symbols
P1,1
W1,1
Bx,y (Px,y+1 Px,y-1 Px+1,y Px-1,y)
Sx,y (Wx,y+1 Wx,y-1 Wx+1,y Wx-1,y)
W1,1 W1,2 … W4,4
W1,1 W1,2
W1,1 W1,3
…