人工智能原理人工智能原理 (41).pdf
《人工智能原理人工智能原理 (41).pdf》由会员分享,可在线阅读,更多相关《人工智能原理人工智能原理 (41).pdf(17页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、Artificial IntelligenceRepresentation Using LogicArtificial Intelligence2 7.3.1 Procedural vs.Declarative Approaches 7.3.2 Five Different Logics 7.3.3 Logical Symbols 7.3.4 Propositional Logic vs.First-order Logic 7.3.5 Formation Rules in First Order Logic 7.3.6 Prolog LanguageContentsArtificial Int
2、elligence:Reasoning:Reasoning by Knowledge3 Procedural approaches过程性方法 use procedural languages,such as 采用过程性语言,例如 C/C+/C#/Java,Lisp,Python.Declarative approaches陈述性方法 use declarative languages,such as 采用陈述性语言,例如 Propositional logic,命题逻辑,First-order logic,一阶逻辑,Temporal logic.时序逻辑。Procedural vs.Decla
3、rative Approaches 过程性与陈述性方法7.3.Representation Using LogicArtificial Intelligence:Reasoning:Reasoning by Knowledge4Five Different Logics 五种不同的逻辑7.3.Representation Using LogicFormal Language形式语言Ontological Commitment本体论约定Epistemological Commitment认识论约定Propositional logic命题逻辑facts事实true/false/unknown真/
4、假/未知First-order logic一阶逻辑facts,objects,relations事实、对象、关系true/false/unknown真/假/未知Temporal logic时序逻辑facts,objects,relations,times事实、对象、关系、时间true/false/unknown真/假/未知Probability theory概率论Facts事实degree of belief 0,1可信度Fuzzy logic模糊逻辑facts with degree of truth 0,1事实具有真实度known interval value已知区间值Artificial
5、 Intelligence:Reasoning:Reasoning by Knowledge5Logical Symbols 逻辑符号7.3.Representation Using LogicCategory 类别Symbol 符号Mean 含义Connectives 连接词not非and与or或implies蕴含当且仅当entailment导出Quantifiers限量词for all所有there exist存在Equality 等量词equal等于Artificial Intelligence:Reasoning:Reasoning by Knowledge6 Propositiona
6、l logic:命题逻辑:also known as propositional calculus,亦被称为命题演算 use of logical connectives,deal with simple declarative propositions(if they are true or false).使用逻辑连接词,用于处理简单的陈述性命题。First-order logic:一阶逻辑:also known as first-order predicate calculus,亦被称为一阶谓词演算,additionally,use quantifiers,equality,and use
7、 predicates(often associated with sets).此外,还使用限量词、等量词、以及谓词(通常与集合相关联)。Propositional Logic vs.First-order Logic 命题逻辑与一阶逻辑7.3.Representation Using LogicArtificial Intelligence:Reasoning:Reasoning by Knowledge7Propositional Logic Syntax with BNF 用BNF表述的命题逻辑语法7.3.Representation Using LogicSentenceAtomicS
8、entence|ComplexSentenceAtomicSentenceTrue|False|P|Q|R|ComplexSentence|Sentence|Sentence Sentence|Sentence Sentence|Sentence Sentence|Sentence SentenceOPERATOR PRECEDENCE:BNF:BackusNaur Form巴科斯-诺尔范式Artificial Intelligence:Reasoning:Reasoning by Knowledge8First-Order Logic Syntax with BNF 用BNF表述的一阶逻辑的
9、语法7.3.Representation Using LogicSentenceAtomicSentence|ComplexSentenceAtomicSentenceComplexSentence|Sentence Sentence|Sentence Sentence|Sentence Sentence|Quantifier Variable,SentenceTermFunction(Term,)|Constant|VariableQuantifier|ConstantA|X1|John|Variablea|x|s|PredicateTrue|False|After|Loves|Rainin
10、g|FunctionMother|LeftLeg|OPERATOR PRECEDENCE:Artificial Intelligence:Reasoning:Reasoning by Knowledge9 The formation rules define 该形式规则定义 terms,and 项,以及 formulas.公式 The formation rules can be used to write a formal grammar for terms and formulas.该形式规则可以用于书写项和公式的形式文法。Formation rules are generally con
11、text-free,i.e.,形式规则通常是上下文无关的,即 each production has a single symbol on the left side.每个产生式左侧有一个单一的符号。Formation Rules in First Order Logic 一阶逻辑的形式规则7.3.Representation Using LogicArtificial Intelligence:Reasoning:Reasoning by Knowledge10 Rule1:Variables 规则1:变量Any variable is a term.任何变量都是一个项。Rule2:Cons
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 人工智能原理人工智能原理 41 人工智能 原理 41
限制150内