IT数码 购物 网址 头条 软件 日历 阅读 图书馆
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
图片批量下载器
↓批量下载图片,美女图库↓
图片自动播放器
↓图片自动播放器↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁
 
   -> 游戏开发 -> 人工智能期中复习 -> 正文阅读

[游戏开发]人工智能期中复习

Ch1

definitions of AI

  1. Systems that thinks like humans
  2. System that think rationally
  3. System that act like humans
  4. Systems that act rationally

The four definitions above vary along two dimensions :

  • Human-centered
  • Rational

An agent

Commonly an agent is something that acts.
Abstractly, an agent is a function from percept histories to actions:

Ch2

Agents and Environments

Agent

  • Perceiving its environment through sensors
  • Acting upon that environment through actuators
    在这里插入图片描述

Percept

Agent’s perceptual inputs at any given instant

Percept Sequence

  • The complete history of everything the agent has
    ever perceived
  • An Agent’s choice of action at any given instant can
    depend on the entire percept sequence observed to
    date

Agent Function

  • describe behaviors of an agent
  • maps any given percept sequence to an action

Agent function table

  • only record the external characterization of the agent
  • abstract mathematical description

Agent Program

  • Internally, the agent function of an intelligent agent is implemented by an agent program
  • Concrete implementation and running on the agent architecture

Good Behavior: The Concept of Rationality

A complete specification of the task facing by the agent

  • The description of the environment
  • The sensors and actuators of the agent
  • The performance measure (The criterion for success of an agent’s behavior)

When the agent is placed in an environment

  • It generates a sequence of actions according to the percepts it receives.
  • This sequence of actions causes the environment to go through a sequence of states
  • If the sequence is desirable, the agent performed well

Rationality depends on

  • The performance measure that defines criterion of success . For example, Reward one point for each clean square at each time step; It is better to design the performance measure according to what one actually wants in the environment
  • The agent’s prior knowledge of the environment
  • The actions that the agent can perform
  • The agent’s percept sequence to date

definition of Rational Agent

For each possible percept sequence, a rational agent should select an action that is expected to maximize its performance measure, given the evidence provided by the percept sequence and whatever built-in knowledge

Rationality

  • It is not the same as perfection
  • It is to maximize expected performance
  • In contrast, perfection is to maximize actual performance

Information gathering is important part of rationality

Learning

  • A rational agent also need to learn as much as possible from what it perceives
  • The initial configuration of the agent may reflect some prior knowledge of the environment
  • After gaining experience, this may be modified or augmented
  • No learning is needed if we completely know the environment a priori…but this is the not case in reality

Successful agents should split the task of computing the agent function into 3 different periods

  • When the agent is being designed
  • When it is deliberating on its next action
  • It learn from experience

The nature of environment

The Task Environment could be described by the PEAS Description

  • Performance
  • Environment
  • Actuators
  • Sensors

The Structure of Agents

Difference between program and function

  • Agent program
    Takes the current percept as input
  • Agent function
    Takes the entire percept history

Four basic types of agent program

  • Simple reflex agents
  • Model-based reflex agents
  • Goal-based agents
  • Utility-based agents

Simple reflex agents

  • The agent selects action on the basis of the current percept
  • Ignore the rest of the percept history
    在这里插入图片描述
  • Simple, but very limited intelligence
  • work only if the correct decision can be made on the basis of only the current percept
  • only if the environment is full observable

problem:

  • Infinite loops are often unavoidable in partially observable environment
  • An agent may escape from infinite loops if the agent can randomize its action

Model-based reflex agents

  • The most effective way to handle partial observability is for the agent to keep track of the part of the world it can not see now
  • The agent maintain some sort of internal state that depends on the percept history

Updating internal state information as time goes by requires

  • Information about how the world evolves independently of agent
  • Information about how the agent’s own actions affect
    the world

Model of the world

  • The knowledge about “How the world works”
  • May be implemented in simple Boolean circuits
  • May be implemented in complete scientific theories
    在这里插入图片描述

Goal-based agents

  • Knowing about the current state of the environment is not always enough to decide what to do
  • As well as a current state description, the agent needs some sort of goal information that describes situation that are desirable

Search and Planning are the subfields of AI devoted to finding action sequences that achieve the agent’s goal

在这里插入图片描述
It involves consideration of the future

Utility-based agents

在这里插入图片描述A complete specification of the utility function allows rational decisions in two kinds of cases where goals are inadequate

  • When there are conflicting goals or only some of goals could be achieved
  • When there are several goals that the agent can aim for, none of which can be achieved with certainty, utility provides a way in which the likelihood of success can be weighed against the importance of the goals
  游戏开发 最新文章
6、英飞凌-AURIX-TC3XX: PWM实验之使用 GT
泛型自动装箱
CubeMax添加Rtthread操作系统 组件STM32F10
python多线程编程:如何优雅地关闭线程
数据类型隐式转换导致的阻塞
WebAPi实现多文件上传,并附带参数
from origin ‘null‘ has been blocked by
UE4 蓝图调用C++函数(附带项目工程)
Unity学习笔记(一)结构体的简单理解与应用
【Memory As a Programming Concept in C a
上一篇文章      下一篇文章      查看所有文章
加:2022-04-01 23:44:41  更:2022-04-01 23:47:18 
 
开发: C++知识库 Java知识库 JavaScript Python PHP知识库 人工智能 区块链 大数据 移动开发 嵌入式 开发工具 数据结构与算法 开发测试 游戏开发 网络协议 系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程
数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁

360图书馆 购物 三丰科技 阅读网 日历 万年历 2025年1日历 -2025/1/30 7:10:43-

图片自动播放器
↓图片自动播放器↓
TxT小说阅读器
↓语音阅读,小说下载,古典文学↓
一键清除垃圾
↓轻轻一点,清除系统垃圾↓
图片批量下载器
↓批量下载图片,美女图库↓
  网站联系: qq:121756557 email:121756557@qq.com  IT数码