A Search and MST’s (Discussion 13) - Christine Zhou
- 페이지 수
- 16
- 형식
- PPTX
- 크기
- 493 KB
- Trường
- University of California, Berkeley
- 조회수
- 0
- 댓글
- 0
- Lượt tải
- 0
미리보기 생성 중...
- 문서명
- A Search and MST’s (Discussion 13) - Christine Zhou
- 학교 / 강의
- University of California, Berkeley · Lập trình Java
- 내용
- Tài liệu thảo luận về thuật toán tìm kiếm A* và Cây Trùm Cực Tiểu (MST). Nó ôn lại Dijkstra, giới thiệu A* với heuristic, và trình bày các bài toán áp dụng Prim, Kruskal, cùng với cấu trúc dữ liệu Weighted Quick Union.
- 목차
- Agenda
- Announcements
- Dijkstra’s Algorithm
- A* Search
- Heuristics
- 1 A* Search
- Minimum Spanning Trees
- Prim’s Algorithm
- 2 Minimum Spanning Trees
- Kruskal’s Algorithm
- Weighted Quick Union with Path Compression
- WQUF w/ PC
- 페이지 수
- 16 페이지
- 업로더
- Uni24h
설명
Trích nội dung tài liệu
Discussion 13: A* Search and MST’s Christine Zhou Agenda Announcements Review: Dijkstra’s and A* Search Problem 1 Review: MST’s Problem 2 Announcements HW7 due today! Even if you can’t push, remember to commit your work Proj3: Gitlet is out! Due 12/6, Wednesday of dead week Last discussion and lab is next week! :O Tentative dead week schedule: No discussion section Lab sections Final review (no project questions) Each lab will be focused on a particular topic OH Project questions No extra OH Dijkstra’s Algorithm Any lingering questions about Dijkstra’s algorithm? What if we only wanted to find a path from SF to NYC? Would Dijkstra’s work? Yes, but we can do better... A* Search Useful when we have a single target in mind, we only search in a direction that brings us closer to our goal Introduce heuristics: an estimate from any vertex to the goal vertex These values will be provided for you by someone/something Do the same procedure as Dijkstra’s, except add “distTo(v) + h(v)” to the fringe instead of “distTo(v)” Fringe will contain total distances from the start to the end Explore the path to the goal that is the smallest, according to our heuristic Keep exploring until we have popped off the goal Heuristics Admissible: heuristic cannot overestimate distance from the current vertex to the goal Consistent: change in heuristic between v and w cannot exceed actual change in distance between v and w 1 A* Search a) Given the weights and heuristic values for the graph below, what path would A* search return, starting from A and with G as a goal? b) Is the heuristic admissible? Why or why not? Minimum Spanning Trees Tree: must have V-1 edges, no cycles Spanning: the set of edges must connect all vertices Minimum: the spanning tree must have the smallest total weight MST: a tree that connects all vertices with the smallest total weight Prim’s Algorithm Pick an arbitrary starting point Always pick the m
자주 묻는 질문
이 문서는 무료인가요?
네. “A Search and MST’s (Discussion 13) - Christine Zhou” 문서는 무료입니다. 로그인 후 '다운로드'를 클릭하여 원본 파일을 받으세요.
이 문서는 몇 페이지로 되어 있나요?
이 문서는 16페이지입니다, Lập trình Java 과정용. 다운로드하기 전에 온라인으로 미리 볼 수 있습니다.
다운로드하기 전에 미리 볼 수 있나요?
네. 이 페이지의 온라인 리더를 통해 문서를 미리 본 후 다운로드 여부를 결정할 수 있습니다.
A Search and MST’s (Discussion 13) - Christine Zhou
미리보기 생성 중...
Trích nội dung tài liệu
Discussion 13: A* Search and MST’s Christine Zhou Agenda Announcements Review: Dijkstra’s and A* Search Problem 1 Review: MST’s Problem 2 Announcements HW7 due today! Even if you can’t push, remember to commit your work Proj3: Gitlet is out! Due 12/6, Wednesday of dead week Last discussion and lab is next week! :O Tentative dead week schedule: No discussion section Lab sections Final review (no project questions) Each lab will be focused on a particular topic OH Project questions No extra OH Dijkstra’s Algorithm Any lingering questions about Dijkstra’s algorithm? What if we only wanted to find a path from SF to NYC? Would Dijkstra’s work? Yes, but we can do better... A* Search Useful when we have a single target in mind, we only search in a direction that brings us closer to our goal Introduce heuristics: an estimate from any vertex to the goal vertex These values will be provided for you by someone/something Do the same procedure as Dijkstra’s, except add “distTo(v) + h(v)” to the fringe instead of “distTo(v)” Fringe will contain total distances from the start to the end Explore the path to the goal that is the smallest, according to our heuristic Keep exploring until we have popped off the goal Heuristics Admissible: heuristic cannot overestimate distance from the current vertex to the goal Consistent: change in heuristic between v and w cannot exceed actual change in distance between v and w 1 A* Search a) Given the weights and heuristic values for the graph below, what path would A* search return, starting from A and with G as a goal? b) Is the heuristic admissible? Why or why not? Minimum Spanning Trees Tree: must have V-1 edges, no cycles Spanning: the set of edges must connect all vertices Minimum: the spanning tree must have the smallest total weight MST: a tree that connects all vertices with the smallest total weight Prim’s Algorithm Pick an arbitrary starting point Always pick the m
- 문서명
- A Search and MST’s (Discussion 13) - Christine Zhou
- 학교 / 강의
- University of California, Berkeley · Lập trình Java
- 내용
- Tài liệu thảo luận về thuật toán tìm kiếm A* và Cây Trùm Cực Tiểu (MST). Nó ôn lại Dijkstra, giới thiệu A* với heuristic, và trình bày các bài toán áp dụng Prim, Kruskal, cùng với cấu trúc dữ liệu Weighted Quick Union.
- 목차
- Agenda
- Announcements
- Dijkstra’s Algorithm
- A* Search
- Heuristics
- 1 A* Search
- Minimum Spanning Trees
- Prim’s Algorithm
- 2 Minimum Spanning Trees
- Kruskal’s Algorithm
- Weighted Quick Union with Path Compression
- WQUF w/ PC
- 페이지 수
- 16 페이지
- 업로더
- Uni24h
댓글 (0)
댓글이 없습니다. 첫 댓글을 남겨보세요!
Ôn tập lập trình Java (MT2 Review Solutions) - Ching and Christines
Asymptotics II, Search Trees (Discussion 7) (Kỹ thuật phân tích thời gian chạy, cây tìm kiếm nhị phân) - Christine Zhou
Introduction to Java (Discussion 1) (Giới thiệu về Java) - Christine Zhou
More Sorting (Discussion 13) (Thuật toán sắp xếp nâng cao) - Christine Zhou
Giáo trình Lập trình Java
Tổng hợp Đề Toán 5 - Luyện thi vào Lớp 6 - CLB EMath
Bài giảng vật lý đại cương (Chương 3) - Đỗ Ngọc Uấn
Chương 8.Nguyên tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 7.Cơ học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang
Chương 6.Quang học lượng tử - Vật lý đại cương 3 - TS.Nguyễn Thị Trang

댓글 (0)
댓글이 없습니다. 첫 댓글을 남겨보세요!