A knowledge base is a set of “sentences”(expressed in a language called a knowledge representation language) that represents some assertion about the world. When a sentence is taken as given without being derived from other sentences, we call it axiom.
A declarative approach to build an agent is to TELL it what it needs to know and then it can ASK itself what to do(retrieving answers from the KB)
An agent must be able to:
The definition of wumpus world is a cave consisting of rooms connected by passageways. And there might be pits with adjacent grids being freeze, wumpus with adjacent grids being stretches and heap of gold. The goal is to find the gold
Performance Measure
If we find gold, +1000, if we die, -1000.
Score will decrease by 1 per each step and decrease by 10 if we use arrow
Environment
Described above. Squares adjacent 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.
Actuators
Left, Right turns. Forward, Grab, Release, Shoot
Sensors