Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ
Tải xuống
Bài giảng Toán rời rạc: Thuật toán tham lam cung cấp cho người học những nội dung kiến thức như: Cây bao trùm nhỏ nhất, mã hóa Huffman, công thức Horn, phủ các tập. Mời các bạn cùng tham khảo để biết thêm nội dung chi tiết. | Thuật toán tham lam Trần Vĩnh Đức HUST Ngày 1 tháng 9 năm 2019 CuuDuongThanCong.com https fb.com tailieudientucntt 1 64 Tài liệu tham khảo I S. Dasgupta C. H. Papadimitriou and U. V. Vazirani Algorithms July 18 2006. CuuDuongThanCong.com https fb.com tailieudientucntt 2 64 Nội dung Cây bao trùm nhỏ nhất Mã hóa Huffman Công thức Horn Phủ các tập CuuDuongThanCong.com https fb.com tailieudientucntt ted edges are potential links and the goal is to pick enough of the Bài toán nodes are connected. But this is not all each link also has a main flected in that edge s weight. What is the cheapest possible networ 1 A C E 4 4 3 4 2 5 B 4 D 6 F mediateIobservation is that the optimal set of edges cannot contain Bạn cần xây dựng mạng máy tính bằng cách kết nối từng cặp e removingmáy. an edge from this cycle would reduce the cost without connectivity I Cần chọn một số kết nối để mạng liên thông I nhưng không phải tất cả các cặp Mỗi kết nối tốn một chi phí y1 Removing a cycle edge cannot disconnect a graph. tiền bảo trì . solutionImust Mạngbe vớiconnected chi phí nhỏ nhất and làacyclic gì undirected graphs of this rees. The particular tree CuuDuongThanCong.com we want is the one with minimum tota https fb.com tailieudientucntt 4 64 nodes are connected. But this is not all each link also has a main flected in that edge s weight. What is the cheapest possible networ 1 A C E 4 4 3 4 2 5 B 4 D 6 F mediate observation is that the optimal set of edges cannot contain Tính chất e removing ancạnh Xóa một edge from trên this cycle chu trình would không làm mất reduce tính liên the cost thông củawithout đồ connectivity thị. y 1 Vậy Removing mạng vớiachi cycle phí edge cannot nhỏ nhất disconnect phải là một cây. a graph. solution must be connected and acyclic undirected graphs of this rees. The particular tree we want is the one with minimum tota as the minimum spanning CuuDuongThanCong.com tree. Here is its formal definition. 5 64 https fb.com tailieudientucntt Bài toán Cây bao trùm nhỏ .