1. Trang chủ
  2. » Tất cả

trí tuệ nhân tạothan lambert,inst eecs berkeley edu

34 2 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 34
Dung lượng 1,2 MB

Nội dung

trí tuệ nhân tạothan lambert,inst eecs berkeley edu AI (in the news) Click here CuuDuongThanCong com https //fb com/tailieudientucntt https //news google com/news/search/section/q/artificial%20intelli[.]

AI (in the news) Click here CuuDuongThanCong.com https://fb.com/tailieudientucntt CS 188: Artificial Intelligence CuuDuongThanCong.com Constraint Satisfaction Problems II https://fb.com/tailieudientucntt Standard Search Formulation CSP: Variables, domains, and constraints Standard search formulation of CSPs States: partial assignment of values to variables Initial state: the empty assignment, Successor function: Assign unassigned variable Goal test: Complete satisfying assignment We’ll remind ourselves of straightforward, naive approach, and then improve CuuDuongThanCong.com https://fb.com/tailieudientucntt Search Methods CuuDuongThanCong.com What would BFS do? What would DFS do? What problems does naive search have? https://fb.com/tailieudientucntt Video of Demo Coloring – DFS CuuDuongThanCong.com https://fb.com/tailieudientucntt Backtracking Search CuuDuongThanCong.com https://fb.com/tailieudientucntt Backtracking Search CuuDuongThanCong.com Backtracking search is the basic uninformed algorithm for solving CSPs Idea 1: One variable at a time Variable assignments are commutative, so fix ordering I.e., [WA = red then NT = green] same as [NT = green then WA = red] Assign single variable at each step Idea 2: Check constraints as you go I.e consider values which not conflict with previous assignments Might have to some computation to check the constraints “Incremental goal test” Depth-first search with these two improvements is called backtracking search (not the best name) Can solve n-queens for n ≈ 25 https://fb.com/tailieudientucntt Backtracking Example CuuDuongThanCong.com https://fb.com/tailieudientucntt Backtracking Search Backtracking = DFS + variable-ordering + fail-on-violation What are the choice points? CuuDuongThanCong.com https://fb.com/tailieudientucntt Video of Demo Coloring – Backtracking CuuDuongThanCong.com https://fb.com/tailieudientucntt Enforcing Arc Consistency in a CSP Runtime: O(n2 d ), can be improved to O(n2 d ) but detecting all possible future problems is NP-hard – why? CuuDuongThanCong.com https://fb.com/tailieudientucntt ... CuuDuongThanCong.com https://fb.com/tailieudientucntt Filtering: Forward Checking CuuDuongThanCong.com Filtering: Reduce domains for unassigned variables Forward checking: Remove values that violate constraint in

Ngày đăng: 25/11/2022, 23:05