TAILIEUCHUNG - Skiena - The Algorithm Design Manual [Springer-Verlag 1997] Episode 2

Tham khảo tài liệu 'skiena - the algorithm design manual [springer-verlag 1997] episode 2', kỹ thuật - công nghệ, cơ khí - chế tạo máy phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Logarithms justified in ignoring the base of the logarithm when analyzing algorithms. When performing binary search in a telephone book how important is it that each query split the book exactly in half Not much. Suppose we did such a sloppy job of picking our queries such that each time we split the book 1 3 to 2 3 instead of 1 2 to 1 2. For the Manhattan telephone book we now use l Sa 3Ơí queries in the worst case not a significant change from log L 000 000 Rĩ 20 The power of binary search comes from its logarithmic complexity not the base of the log. Logarithms cut any function down to size The growth rate of the logarithm of any polynomial function is . This follows because Modeling the Problem Lei feb HrtiMd liiffc Jim Lin kft Figure Modeling real-world structures with trees and graphs Trees which represent hierarchical relationships between items. Figure Mia illustrates a portion of the family tree of the Skiena clan. Trees are likely the object in question whenever your problem seeks a hierarchy dominance relationship ancestor decendant relationship or taxonomy. Graphs which represent relationships between arbitrary pairs of objects. Figure b models a network of roads as a graph where the vertices are cities and the edges are roads connecting pairs of cities. Graphs are likely the object in question whenever you seek a network circuit web or relationship. Points which represent locations in some geometric space. For example the locations of McDonald s restaurants can be described by points on a map plane. Points are likely the object in question whenever your problems work on sites positions data records or locations. Polygons which represent regions in some geometric space. For example the borders of a country can be described by a polygon on a map plane. Polygons and polyhedra are likely the object in question whenever you are working on shapes regions configurations or boundaries. Strings which represent sequences of characters or patterns. For .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.