Knowledge-Based Agents?
Knowledge base = set of sentences in a formal language.
Agents can be viewed at the knowledge level or at the implementation level.
knowledge level: what they know and implementation level: algorithms that manipulate them.
The agent must be able to:
A simple Knowledge-Based Agent?
function KB-Agent(percept) returns an action
static: KB, a knowledge base
t, a counter, initially 0, indication time
TELL(KB, MAKE-PERCEPT-SENTENCE(percept, t))
action
how logical agents derive new information and make decisions?
logical agents apply inference to a knowledge base
basic concepts of logic:
British Musuem Algorithm is?
a event where solutions can be generated randomly but solution is not guaranteed. unacceptable amount of time of process.
What is steepest-ascent hill climbing?
developed from simple hill climbing. All successors of a node are evaluated and the one that give the most improvement is selected.
Problems In Hill-Climbing?
solutions to hill climbing problems?
What is Simulated Annealing?
Simulated annealing (SA) is a method for solving unconstrained and bound-constrained optimization problems. From the current state, pick a random successor state.
Minimax Algorithm steps?
Minimax algorithm characteristics?
Complete? YES
Optimal? YES
Time Complexity? O(b^m)
Space Complexity? O(b.m)
Alpha-Beta pruning?
alpha = MAX
beta = MIN
the basic idea of alpha-beta pruning is to prune portions of the search tree that cannot improve the utility value of the max or min node, by just considering the values of nodes seen so far.