8. The objectives of this assignment are to:
- Further enhance your knowledge and skill in Java.
- Gain an understanding and experience with heaps and priorityqueues.
- Gain further experience using generics.
- Gain further experience in using Javadoc documentation.
- Continue to practice good programming techniques.
Background
To study a particular astronomical phenomenon or to evaluate atheory, astronomers may want to determine the k nearestentities to a point in space. This could be accomplished bycalculating the distance of each entity from the point and sortingthem by that distance. Unfortunately, the best sorting algorithmsare O(n log n) and there may be hundreds ofthousands of astronomical entities to be considered. Since only
OR
OR