TAILIEUCHUNG - Database and XML Technologies- P4

Tham khảo tài liệu 'database and xml technologies- p4', công nghệ thông tin, cơ sở dữ liệu phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | 140 B. Handy and D. Suciu Reducing Ancestor Descendant to Containment The two relationships can be reduced to each other as follows t p p p D p P D p p a C p a Here a is any tag name that does not occur in p . We use the first reduction in order to compute using an algorithm for D. We use second reduction only for theoretical purposes to argue that all hardness results for D also apply to C. For example for the fragment of XPath described in 10 checking the relationship is co-NP complete. Computing the Graph XViz uses the relationships and D to compute and display the graph. A relationship p C p will be displayed with a solid edge while p D p is displayed with a dashed edge. Two steps are needed in order to compute the graph. First identify equivalent expressions and collapse them into a single graph node. Two XPath expressions are equivalent p p if both p D p and p D p hold. Once equivalent expressions are identified and removed only D relationships remain between XPath expressions. Second decide which edges to represent. In order to reduce clutter redundant edges need not be represented. An edge is redundant if it can be inferred from other edges using one of the four implications below pi D p2 A p2 D p3 pi D p3 pi p2 A p2 p3 pi p3 pi p2 A p2 D p3 pi p3 pi D p2 A p2 p3 pi p3 The first two implications state that both C and D are transitive. The last two capture the interactions between them. Redundant edges can be naively identified with three nested loops iterating over all triples pi p2 p3 and marking the edge on the right hand side as redundant whenever the conditions on the left is satisfied. This method takes O n3 steps where n is the number of XPath expressions. We will discuss a more efficient way in Sec. 6. 5 An Application We have experimented with XViz applied to three different workloads the XMark benchmark 12 the XQuery Use Cases 6 and the XMach benchmark 4 . We describe here XMark only which is shown in Fig. 4. The other XViz A Tool 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.