Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Implement classes Review, Paper and PublicationSystem that provide the following functionality: Class Review: Stores id , reviewer, score ( number: 1 - 1 0 )

Implement classes Review, Paper and PublicationSystem that provide the
following functionality:
Class Review:
Stores id, reviewer, score (number: 1-10), confidence (number: 1-
5) and summary (text)
Creates a human friendly representation of the class (i.e. toString())
Allows a total ordering of reviews (i.e. 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 confidenc

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Seven NoSQL Databases In A Week Get Up And Running With The Fundamentals And Functionalities Of Seven Of The Most Popular NoSQL Databases

Authors: Aaron Ploetz ,Devram Kandhare ,Sudarshan Kadambi ,Xun Wu

1st Edition

1787288862, 978-1787288867

More Books

Students also viewed these Databases questions

Question

6. How will you provide encouragement and support?

Answered: 1 week ago

Question

Question What integration level should an employer choose?

Answered: 1 week ago