中国高校课件下载中心 》 教学资源 》 大学文库

《Artificial Intelligence:A Modern Approach》教学资源(PPT课件,英文版)Chapter 7-Logical Agents

文档信息
资源类别:文库
文档格式:PPT
文档页数:74
文件大小:1.31MB
团购合买:点击进入团购
内容简介
• 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
刷新页面文档预览

Logical Agents Chapter 7

Logical Agents Chapter 7

Outline Knowledge-based agents ·Vumpus world Logic in general -models and entailment Propositional (Boolean)logic Equivalence,validity,satisfiability Inference rules and theorem proving forward chaining backward chaining resolution

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 Inference engine domain-independent algorithms Knowledge base domain-specific content Knowledge base set of sentences in a formal language 。 Declarative approach to building an agent(or other system): Tell it what it needs to know Then it can Ask itself what to do-answers should follow from the KB Agents can be viewed at the knowledge level i.e.,what they know,regardless of how implemented Or at the implementation level -i.e.,data structures in KB and algorithms that manipulate them

Knowledge bases • Knowledge base = set of sentences in a formal language • • Declarative approach to building an agent (or other system): – Tell it what it needs to know – • Then it can Ask itself what to do - answers should follow from the KB • • Agents can be viewed at the knowledge level i.e., what they know, regardless of how implemented • Or at the implementation level – i.e., data structures in KB and algorithms that manipulate them –

A simple knowledge-based agent function KB-AGENT(percept)returns an action static:KB,a knowledge base t a counter,initially 0,indicating time TELL(KB,MAKE-PERCEPT-SENTENCE(percept,t)) actionASK(KB,MAKE-ACTION-QUERY(t)) TELL(KB,MAKE-ACTION-SENTENCE(action,t)) t←t+1 return action The agent must be able to: Represent states,actions,etc. Incorporate new percepts Update internal representations of the world

A simple knowledge-based agent • The agent must be able to: • – Represent states, actions, etc. – – Incorporate new percepts – – Update internal representations of the world – – Deduce hidden properties of the world

Wumpus World PEAS description 。Performance measure gold +1000,death-1000 5彩 Bree:e PIT --1 per step,-10 for using the arrow Breeze Br eeze PIT ·Environment Gold Squares adjacent to wumpus are smelly PIT Squares adjacent to pit are breezy START Glitter iff gold is in the same square Shooting kills wumpus if you are facing it Shooting uses up the only arrow

Wumpus World PEAS description • Performance measure – gold +1000, death -1000 – -1 per step, -10 for using the arrow • 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

Wumpus world characterization Fully Observable No only local perception ● Deterministic Yes -outcomes exactly specified ● Episodic No-sequential at the level of actions ● 。 Static Yes -Wumpus and Pits do not move Discrete Yes

Wumpus world characterization • Fully Observable No – only local perception • • Deterministic Yes – outcomes exactly specified • • Episodic No – sequential at the level of actions • • Static Yes – Wumpus and Pits do not move • • Discrete Yes • • Single-agent? Yes – Wumpus is essentially a

Exploring a wumpus world OK OK OK 因

Exploring a wumpus world

Exploring a wumpus world B OK OK

Exploring a wumpus world

Exploring a wumpus world B OK P? OK 内

Exploring a wumpus world

Exploring a wumpus world B OK P? S OK

Exploring a wumpus world

刷新页面下载完整文档
VIP每日下载上限内不扣除下载券和下载次数;
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
相关文档