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

Ds connectivity v2 noanswer

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

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

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 6
Dung lượng 285,15 KB

Nội dung

Trường Đại Học Bách Khoa Tp Hồ Chí Minh Khoa Khoa Học và Kỹ Thuật Máy Tính Bài tập chương 9 Đồ thị (phần hai) 1 Dẫn nhập Trong bài tập dưới đây, chúng ta sẽ làm quen với các bài toán, giải thuật và ứn[.]

Trường Đại Học Bách Khoa Tp.Hồ Chí Minh Khoa Khoa Học Kỹ Thuật Máy Tính Bài tập chương Đồ thị (phần hai) Dẫn nhập Trong tập đây, làm quen với toán, giải thuật ứng dụng lý thuyết đồ thị Sinh viên cần xem lại lý thuyết Chương trước thực tập Bài tập mẫu Đồ thị G1 hình bên (G1 ) 11 A C E 10 S 10 B D F H 14 G Câu Tìm đường ngắn xuất phát từ S đến tất đỉnh lại giải thuật Dijkstra Lời giải Câu Tìm đường ngắn xuất phát từ S đến tất đỉnh lại giải thuật Bellman-Ford Lời giải Câu Tìm đường ngắn xuất phát từ S đến tất đỉnh lại giải thuật Floyd-Warshall Lời giải Bài tập cần giải Câu Determine whether each of these graphs is strongly connected and if not, whether it is weakly connected Giáo trình Tốn Rời Rạc Trang 1/6 Trường Đại Học Bách Khoa Tp.Hồ Chí Minh Khoa Khoa Học Kỹ Thuật Máy Tính a) c) b) d) e) Câu Does each of these lists of vertices form a path in the following graph? Which paths are simple? Which are circuits? What are the lengths of those that are paths? a) a, e, b, c, b b) a, e, a, d, b, c, a c) e, b, a, d, b, e d) c, b, d, a, e, c Câu Does each of these lists of vertices form a path in the following graph? Which paths are simple? Which are circuits? What are the lengths of those that are paths? a) a, b, e, c, b b) a, d, a, d, a c) a, d, b, e, a d) a, b, e, c, b, d, a Câu Whether the given graph is connected a) Giáo trình Tốn Rời Rạc b) c) Trang 2/6 Trường Đại Học Bách Khoa Tp.Hồ Chí Minh Khoa Khoa Học Kỹ Thuật Máy Tính Câu How many connected components does each of the graphs in above Exercise have? Câu Find the number of paths of length n between two different vertices in K4 if n is a) b) Câu 10 Find all the cut vertices of the given graph a) b) c) Câu 11 Find all the cut edges of above graphs Câu 12 Find all the cut vertices, cut edges of the graphs a) Cn , where n ≥ b) Wn where n ≥ c) Km,n where m ≥ 2, n ≥ Câu 13 For each of these graphs, find κ(G), λ(G) a) b) Câu 14 Construct a graph G with κ(G) = 1, λ(G) = 2, and minv∈V deg(v) = Câu 15 Determine whether the given graph has an Euler circuit Construct such a circuit when one exists If no Euler circuit exists, determine whether the graph has an Euler path and construct such a path if one exists a) c) Giáo trình Tốn Rời Rạc b) d) Trang 3/6 Trường Đại Học Bách Khoa Tp.Hồ Chí Minh Khoa Khoa Học Kỹ Thuật Máy Tính e) f) Câu 16 Determine whether the picture shown can be drawn with a pencil in a continuous motion without lifting the pencil or retracing part of the picture a) b) Câu 17 For which values of n these graphs have an Euler circuit? a) Kn b) Cn c) Wn d) Qn Câu 18 Determine whether the given graph has a Hamilton circuit If it does, find such a circuit If it does not, give an argument to show why no such circuit exists a) b) c) d) e) f) Câu 19 For which values of n these graphs have an Euler circuit? a) Kn b) Cn c) Wn Câu 20 Find the length of a shortest path between a and z in the given weighted graph Giáo trình Tốn Rời Rạc Trang 4/6 Trường Đại Học Bách Khoa Tp.Hồ Chí Minh Khoa Khoa Học Kỹ Thuật Máy Tính a) b) Câu 21 Solve the traveling salesperson problem for this graph by finding the total weight of all Hamilton circuits and determining a circuit with minimum total weight Câu 22 Use Floyd-Warshall to find shortest path between two vertices in a weighted graph B C A D G E 1 5 F H Câu 23 Draw the given planar graph without any crossings a) b) c) Câu 24 Determine whether the given graph is planar If so, draw it so that no edges cross a) b) Câu 25 Construct the dual graph for the map shown Then find the number of colors needed to color the map so that no two adjacent regions have the same color Giáo trình Tốn Rời Rạc Trang 5/6 Trường Đại Học Bách Khoa Tp.Hồ Chí Minh Khoa Khoa Học Kỹ Thuật Máy Tính a) b) Câu 26 What is the chromatic number of Wn ? Giáo trình Tốn Rời Rạc Trang 6/6

Ngày đăng: 02/04/2023, 06:13

w