(Gaming) A system of caves is a group of interconnected underground tunnels. Two or three tunnels can intersect to form a cave. Design ADTs for a cave and a cave system. An archaeologist should be...


(Gaming) A system of caves is a group of interconnected underground tunnels. Two or three tunnels can intersect to form a cave. Design ADTs for a cave and a cave system. An archaeologist should be able to add a newly discovered cave to a cave system and to connect two caves together by a tunnel. Duplicate caves—based on GPS coordinates—are not permitted. Archaeologists should also be able to list the caves in a given cave system. Specify each ADT operation by stating its purpose, by describing its parameters, and by writing a pseudocode version of its header. Then write a Java interface for a cave’s methods and one for the methods of a cave system. Include javadoc-style comments in your code.



Dec 01, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here