Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this practical you are implementing a research publication system, based on Java s LinkedList. Implement classes Review, Paper and PublicationSystem that provide the following
In this practical you are implementing a research publication system, based on
Javas LinkedList.
Implement classes Review, Paper and PublicationSystem that provide the
following functionality:
Class Review:
Stores id reviewer, score number: confidence number:
and summary text
Creates a human friendly representation of the class ie toString
Allows a total ordering of reviews ie reviews are Comparable
based on review score
Class Paper:
Stores id title, authors and review list
Allows reviews to be submitted for a paper if a reviewer is not
already in the review list while maintaining the review list in
descending order based on review score
Allows existing reviews to be updated for a paper changes to scores
must be reflected in the ordering of the review list
Allows existing reviews to be retracted for a paper
The review list should be printed after every change takes place
Class PublicationSystem:
Contains a main function driving events
Creates three papers
Submits, updates and retracts reviews for each paper so that each
paper has eventually between two and four reviews
Assigns the Best Paper Award by calculating the weighted average
score for each paper based on review score and confidence
Discuss your progress with your Tutor during practical sessions
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started