COMP733 Big Data Technologies:Implement the R-Tree

Get 30% Off + $20 Signup Bonus ! Limited Time, Hurry !

Securing Higher Grades Costing Your Pocket?
Book Your Assignment at The Lowest Price
Now!

Students Who Viewed This Also Studied

COMP733 Big Data Technologies

Question:

Implement the R-Tree

This is an individual coding assignment.The objective is to implement the R-tree. Each submission will be graded based on correctness. The rest of the document explains the details. How Your Submission Will Be Tested: [Dataset]: You will be given a dataset which contains 2D points.

The dataset will be provided in a text file as the following format:

n id 1 x 1 y 1 id 2 x 2 y 2 … id n x n y n

Specifically, the first line gives the number of points in the dataset. Then, every subsequent line gives a point’s id, x-, and y-coordinates. Your program should build an R-tree in memory from the dataset. [Range Query]:

You will be given a set of 100 range queries in a text file whose format is:

x 1 x’ 1 y 1 y’ 1 x 2 x’ 2 y 2 y’ 2 … x 100 x’ 100 y 100 y’ 100

That is, each line specifies a query whose rectangle is [x, x′ ] × [y, y′ ]. Then, we will measure its query efficiency as follows.

You should output to a disk file:

• Firstly, your program should display the time of answering queries by reading the entire dataset sequentially. This time serves as the sequential-scan benchmark to be compared with the cost of your query algorithms that leverage the R-tree.

• Secondly, display the number of points returned by each query-note: we need only the number of points retrieved, instead of the details of those points.

• Thirdly, display the total running time of answering all the 100 queries, and the average time of each query (i.e., divide the total running time by 100). [Programming Language]: Python, Java, C++ (including variants like C, C#, …), or any other.

Language Approved by the Instructor

You can implement the R-tree by using the existing libraries provided in the programming language of your choice (i.e., some standard libraries or the libraries for R-Tree). [Deliverables]:

Your submission includes the following components:

1. Source Code: The code you have developed yourself. Make sure your code can be run in the standard general programming environment.

2. Report: Your report should include the following:

• A brief description of the main functions in your source code;

• A clear specification of the requirements for executing your code such as, OS environment, placement of input files, any input parameters, etc.

3. Zip all your code and report into a single file, and name the file in the following format: yourstudentid surname.zip. Marking: Your total mark earned for this assignment is based on:

Correctness: Sequential-Scan Based Method 

If your program correctly answers m (out of 100) queries by reading the entire dataset (reading all the data points) sequentially, you get 10 · (m/100) marks for this part. ∗ [R-Tree Based Method (40 marks)]: If your program correctly answers m (out of 100) queries by searching the R-Tree, you get 40 · (m/100) marks for this part. – Efficiency: 10 marks. If the average query time is at least 5 times faster than sequential scan, you get 10 marks for this part. If at least 2 times faster (but less than 5 times), you get 5 marks. If less than 2 times faster, no marks.

• [The Report: 40 marks] – Function Description:

If your report includes a clear description of all the functions in your source code, you get 30 marks. If only part of your functions is introduced, you will be given the marks based on the proportion of the correct answers.

– Requirement Description: 

If your report includes a clear description of the requirements for executing your code such as, OS environment, placement of input files, any input parameters, etc, and your report includes the screenshots of the running results (e.g., the average execution time of both sequential-scan and R-Tree based methods, etc.), you get 10 marks.

• [Bonus: 10 marks] – Implementing the R-Tree by Using Standard Libraries Only

Students are encouraged to implement the R-Tree by using standard libraries provided by the program languages rather than using the existing R-Tree libraries. If you can correctly implement the R-Tree without the help of the existing R-Tree libraries, you get 5 marks as the bonus.

– Analysing the Working of R-Tree:

In addition to coding, students are encouraged to provide a high-quality report that contains a detailed analysis of the working of R-Tree. You need to select no less than 10 data points from the given dataset, and one query from the given queries. Then, if you can clearly and correctly analyse the process of the R-Tree construction and the query process (the search should traverseseveral nodes of the tree, and during the construction of the R-Tree, there should be an overflow and a node splitting), you get 5 marks as the bonus.

No extensions will be granted without an approved application for Special Consideration. There will be a deduction of 10% of the total available marks (10 marks for the assignment, scale to 2 mark in your final grade) made from the total awarded mark for each 24 hour period or part thereof that the submission is late. For example, 25 hours late in submission for this assignment 20% penalty (20 marks deducted, scale to 4 marks in your final grade). No submission will be accepted after solutions have been posted.

You are required to develop the program and write the report by yourself. If you use some libraries and/or contents from other sources, you need to cite and provide the corresponding references. All submissions will be checked for plagiarism. Any confirmed cases will be reported to the faculty for disciplinary actions, and the marks of the assignment and the unit will be held until the case has been resolved. See Macquarie Universitys code of conduct for the details of the process.

COMP733 Big Data Technologies

Answer in Detail


Solved by qualified expert

Get Access to This Answer

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Hac habitasse platea dictumst vestibulum rhoncus est pellentesque. Amet dictum sit amet justo donec enim diam vulputate ut. Neque convallis a cras semper auctor neque vitae. Elit at imperdiet dui accumsan. Nisl condimentum id venenatis a condimentum vitae sapien pellentesque. Imperdiet massa tincidunt nunc pulvinar sapien et ligula. Malesuada fames ac turpis egestas maecenas pharetra convallis posuere. Et ultrices neque ornare aenean euismod. Suscipit tellus mauris a diam maecenas sed enim. Potenti nullam ac tortor vitae purus faucibus ornare. Morbi tristique senectus et netus et malesuada. Morbi tristique senectus et netus et malesuada. Tellus pellentesque eu tincidunt tortor aliquam. Sit amet purus gravida quis blandit. Nec feugiat in fermentum posuere urna. Vel orci porta non pulvinar neque laoreet suspendisse interdum. Ultricies tristique nulla aliquet enim tortor at auctor urna. Orci sagittis eu volutpat odio facilisis mauris sit amet.

Tellus molestie nunc non blandit massa enim nec dui. Tellus molestie nunc non blandit massa enim nec dui. Ac tortor vitae purus faucibus ornare suspendisse sed nisi. Pharetra et ultrices neque ornare aenean euismod. Pretium viverra suspendisse potenti nullam ac tortor vitae. Morbi quis commodo odio aenean sed. At consectetur lorem donec massa sapien faucibus et. Nisi quis eleifend quam adipiscing vitae proin sagittis nisl rhoncus. Duis at tellus at urna condimentum mattis pellentesque. Vivamus at augue eget arcu dictum varius duis at. Justo donec enim diam vulputate ut. Blandit libero volutpat sed cras ornare arcu. Ac felis donec et odio pellentesque diam volutpat commodo. Convallis a cras semper auctor neque. Tempus iaculis urna id volutpat lacus. Tortor consequat id porta nibh.

28 More Pages to Come in This Document. Get access to the complete answer.

Missing deadline with MyAssignmenthelp.com is a myth. We offer guaranteed delivery ‘on time’ even of you are left with half a day. Our affordable assignment costs encourage the UK, USA and Australian students to repeat their orders with us. We offer endless revisions and amendment, in case the delivered assignments are not up to the mark. MyAssignmenthelp.com treasures 3000+ subject matter experts’ proficiency to craft 100 percent original and first-rate assignments. Team MyAssignmenthelp.com ensures professional help for all course modules assigning relevant experts. Support representatives are available 24*7 to assist our customers anytime. Complied with flair and pace, our efficient writers accomplish the assignments overnight. Place your order now and facilitate our top-end custom essays, online assignments and dissertation writing services.

More COMP733 COMP733 Big Data Technologies: Questions & Answers

ITAP2002 Introduction to Windows Application Development

Questions:
 1 .
‘GUI’s are Event Driven’. Justify the statement in your words.
2.
Differentiate between a static variable and an instance variable?
Based on the below code snippet identify the relationships of the objects Form1 and checBox2. Explain the relationships …

View Answer

INFO 2315 Data Structure

Task:
The project is designed to be done on your own. The project must be your own work, and not copied from others or from any other course, textbook or website.Problem Specifications:
Write a Java program that prompts the user to enter two lines of words. The words are separated by spaces. Extra …

View Answer

Humanities

Draw the diagrams by hand, photograph, and insert the photographs in this file. If you prefer, you can use Word’s drawing tools (or some other drawing or modelling software) but you may find working with pen and paper is faster, easier to amend, less cumbersome, and more reliable with respect …

View Answer

Windows

What is the syntax to send 50 ICMP ECHO requests to the host labgw.tc4.space using the mtr program? On a Windows system, what is the option to renew the DHCP-assigned addresses for all of the device’s network interfaces? Hint: Remember that for Windows the command switch (option), may use a fo …

View Answer

Content Removal Request

If you are the original writer of this content and no longer wish to have your work published on Myassignmenthelp.com then please raise the
content removal request.

Choose Our Best Expert to Help You

Still in Two Minds? The Proof is in Numbers!

38983 Genuine Reviews With a Rating of 4.9/5.

English

Essay: 5 Pages, Deadline:
1 day

Great work thank you very much. Strongly recommended and will definitely ask for my future assignemnts

User ID: 5***63 Canada

Pharmacy

Essay: 2 Pages, Deadline:
19 days

very fast, easy to communicate with, clear and easy to understand the assigment when reviewed appreciate

User ID: 7***34 Saudi Arabia

Finance

Programming: 14 Pages, Deadline:
2 days

the assignment was done well,i appreciate it.the expert was patience and i think understood the assignment he did a great work there,i would have lov …

User ID: 8***11 United Kingdom, Great Britain

Assignment

Essay: 1.6 Pages, Deadline:
6 days

Thanks for the quick re-work on my assignment. Minor edits were perfectly done with the supplied feedback. Although the work hasn’t been graded yet …

User ID: 4***8 Durham, Great Britain

Management

Assignment: 20 Pages, Deadline:
13 days

Thank you team, well done everything, nice work , and appreciate what you did. Next assignment fir sure via myassignmenthelp.com

User ID: 7***18 Dubai, United Arab Emirates

Management

Programming: 18 Pages, Deadline:
13 days

Well done team, thank you for the support I appreciate your hard work Sure as always next order will send via you

User ID: 7***18 Dubai, United Arab Emirates

Assignment

Assignment: 1 Page, Deadline:
2 days

Thanks I got good grade which is good enough for me to pass the course Thanks again

User ID: 7***41 Dubai, Canada

Psychology

Assignment: 9 Pages, Deadline:
9 days

great assignment and thanks to the team as they have done what i have asked them thanks again

User ID: 2***88 Fairfield, Australia

Assignment

Essay: 2.8 Pages, Deadline:
1 day

Soo, good. relly satisfied. thank you so much. I received it earlier than my due date time, and the writer did a really great job.

User ID: 6***39 Fairfield, United States

Economics

Home Work: 2 Pages, Deadline:
1 day

Wonderful guys.. I got a A+ Thanks for going the extra mile to ensure there were no plagirarism.

User ID: 8***17 Kingston, Jamaica

Assignment

Assignment: 2 Pages, Deadline:
3 days

It’s good article, and I hope another time focus about the grammar. But finally it is great article

User ID: 1***67 Westlake, United States

Biology

Programming: 2.4 Pages, Deadline:
4 days

Good service; assignment was competed as per requirements and within the due date/time. Would use again. Prompt feedback response etc.

User ID: 2***50 Kitchener, Canada

Project Management

Assignment: 36 Pages, Deadline:
3 days

the work done by expert on Consultancy project was very good I have perused 60 marks in overall consultancy project.

User ID: 1***25 Leicester, Great Britain

Supply Chain

Home Work: 1 Page, Deadline:
13 days

Live support chat is always available . I received all assignments on given time .According to my previous corsework was given a score 80 out of 100. …

User ID: 8***97 Erbil, Albania

Criminal Law

Home Work: 8 Pages, Deadline:
5 days

first of all i would to say you id a great job by trying to make it look like its easy

User ID: 6***92 Brisbane, Australia

Management

Essay: 4 Pages, Deadline:
4 days

Great write up. Lecturer commented that it is good and great analysis has been carried out.

User ID: 8***83 Brisbane, Malaysia

Assignment

Essay: 8 Pages, Deadline:
4 days

Many mistakes in this essay. I can email you copy in which my tutor give to much bad comments and highlights the mistakes

User ID: 7***60 Sydney, Australia

Management

Essay: 1.2 Pages, Deadline:
1 day

The essay was well-written and on-time delivered. Pretty impressed with professionalism

User ID: 8***78 Sydney, Singapore

Assignment

Essay: 2 Pages, Deadline:
2 days

I’m pleased with the way and manner how my assignment was answered, I am very satisfied with it and thanks for doing a great job.

User ID: 7***58 Sydney, Australia

Finance

Course Work: 4.8 Pages, Deadline:
13 days

this assignment was very well done. scored a solid 85 which is ok. Would recommend to anyone.

User ID: 5***64 Sydney, Saint LUCIA

English

Essay: 5 Pages, Deadline:
1 day

Great work thank you very much. Strongly recommended and will definitely ask for my future assignemnts

User ID: 5***63 Canada

Pharmacy

Essay: 2 Pages, Deadline:
19 days

very fast, easy to communicate with, clear and easy to understand the assigment when reviewed appreciate

User ID: 7***34 Saudi Arabia

Finance

Programming: 14 Pages, Deadline:
2 days

the assignment was done well,i appreciate it.the expert was patience and i think understood the assignment he did a great work there,i would have lov …

User ID: 8***11 United Kingdom, Great Britain

Assignment

Essay: 1.6 Pages, Deadline:
6 days

Thanks for the quick re-work on my assignment. Minor edits were perfectly done with the supplied feedback. Although the work hasn’t been graded yet …

User ID: 4***8 Durham, Great Britain

Management

Assignment: 20 Pages, Deadline:
13 days

Thank you team, well done everything, nice work , and appreciate what you did. Next assignment fir sure via myassignmenthelp.com

User ID: 7***18 Dubai, United Arab Emirates

Management

Programming: 18 Pages, Deadline:
13 days

Well done team, thank you for the support I appreciate your hard work Sure as always next order will send via you

User ID: 7***18 Dubai, United Arab Emirates

Assignment

Assignment: 1 Page, Deadline:
2 days

Thanks I got good grade which is good enough for me to pass the course Thanks again

User ID: 7***41 Dubai, Canada

Psychology

Assignment: 9 Pages, Deadline:
9 days

great assignment and thanks to the team as they have done what i have asked them thanks again

User ID: 2***88 Fairfield, Australia

Assignment

Essay: 2.8 Pages, Deadline:
1 day

Soo, good. relly satisfied. thank you so much. I received it earlier than my due date time, and the writer did a really great job.

User ID: 6***39 Fairfield, United States

Economics

Home Work: 2 Pages, Deadline:
1 day

Wonderful guys.. I got a A+ Thanks for going the extra mile to ensure there were no plagirarism.

User ID: 8***17 Kingston, Jamaica

Assignment

Assignment: 2 Pages, Deadline:
3 days

It’s good article, and I hope another time focus about the grammar. But finally it is great article

User ID: 1***67 Westlake, United States

Biology

Programming: 2.4 Pages, Deadline:
4 days

Good service; assignment was competed as per requirements and within the due date/time. Would use again. Prompt feedback response etc.

User ID: 2***50 Kitchener, Canada

Project Management

Assignment: 36 Pages, Deadline:
3 days

the work done by expert on Consultancy project was very good I have perused 60 marks in overall consultancy project.

User ID: 1***25 Leicester, Great Britain

Supply Chain

Home Work: 1 Page, Deadline:
13 days

Live support chat is always available . I received all assignments on given time .According to my previous corsework was given a score 80 out of 100. …

User ID: 8***97 Erbil, Albania

Criminal Law

Home Work: 8 Pages, Deadline:
5 days

first of all i would to say you id a great job by trying to make it look like its easy

User ID: 6***92 Brisbane, Australia

Management

Essay: 4 Pages, Deadline:
4 days

Great write up. Lecturer commented that it is good and great analysis has been carried out.

User ID: 8***83 Brisbane, Malaysia

Assignment

Essay: 8 Pages, Deadline:
4 days

Many mistakes in this essay. I can email you copy in which my tutor give to much bad comments and highlights the mistakes

User ID: 7***60 Sydney, Australia

Management

Essay: 1.2 Pages, Deadline:
1 day

The essay was well-written and on-time delivered. Pretty impressed with professionalism

User ID: 8***78 Sydney, Singapore

Assignment

Essay: 2 Pages, Deadline:
2 days

I’m pleased with the way and manner how my assignment was answered, I am very satisfied with it and thanks for doing a great job.

User ID: 7***58 Sydney, Australia

Finance

Course Work: 4.8 Pages, Deadline:
13 days

this assignment was very well done. scored a solid 85 which is ok. Would recommend to anyone.

User ID: 5***64 Sydney, Saint LUCIA

Have any Query?

The post COMP733 Big Data Technologies:Implement the R-Tree appeared first on My Blog.

✍️ Get Writing Help