-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRecommender.ctxt
9 lines (9 loc) · 2.1 KB
/
Recommender.ctxt
1
2
3
4
5
6
7
8
9
#BlueJ class context
comment0.target=Recommender
comment1.params=
comment1.target=java.util.ArrayList\ getItemsToRate()
comment1.text=\n\ This\ method\ returns\ a\ list\ of\ movie\ IDs\ that\ will\ be\ used\ to\ look\ up\n\ the\ movies\ in\ the\ MovieDatabase\ and\ present\ them\ to\ users\ to\ rate.\n\ <p>\n\ The\ movies\ returned\ in\ the\ list\ will\ be\ displayed\ on\ a\ web\ page,\ so\n\ the\ number\ you\ choose\ may\ affect\ how\ long\ the\ page\ takes\ to\ load\ and\n\ how\ willing\ users\ are\ to\ rate\ the\ movies.\ \ For\ example,\ 10-20\ should\n\ be\ fine,\ 50\ or\ more\ would\ be\ too\ many.\n\ <p>\n\ There\ are\ no\ restrictions\ on\ the\ method\ you\ use\ to\ generate\ this\ list\n\ of\ movies\:\ the\ most\ recent\ movies,\ movies\ from\ a\ specific\ genre,\n\ randomly\ chosen\ movies,\ or\ simply\ your\ favorite\ movies.\n\ <p>\n\ The\ ratings\ for\ these\ movies\ will\ make\ the\ profile\ for\ a\ new\ Rater\n\ that\ will\ be\ used\ to\ compare\ to\ for\ finding\ recommendations.\n
comment2.params=webRaterID
comment2.target=void\ printRecommendationsFor(java.lang.String)
comment2.text=\n\ This\ method\ returns\ nothing,\ but\ prints\ out\ an\ HTML\ table\ of\ the\n\ movies\ recommended\ for\ the\ given\ rater.\n\ <p>\n\ The\ HTML\ printed\ will\ be\ displayed\ on\ a\ web\ page,\ so\ the\ number\ you\n\ choose\ to\ display\ may\ affect\ how\ long\ the\ page\ takes\ to\ load.\ \ For\n\ example,\ you\ may\ want\ to\ limit\ the\ number\ printed\ to\ only\ the\ top\n\ 20-50\ movies\ recommended\ or\ to\ movies\ not\ rater\ by\ the\ given\ rater.\n\ <p>\n\ You\ may\ also\ include\ CSS\ styling\ for\ your\ table\ using\ the\ <style>\n\ tag\ before\ you\ print\ the\ table.\ \ There\ are\ no\ restrictions\ on\ which\n\ movies\ you\ print,\ what\ order\ you\ print\ them\ in,\ or\ what\ information\n\ you\ include\ about\ each\ movie.\n\n\ @param\ webRaterID\ the\ ID\ of\ a\ new\ Rater\ that\ has\ been\ already\ added\ to\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ the\ RaterDatabase\ with\ ratings\ for\ the\ movies\ returned\ by\ the\n\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ method\ getItemsToRate\n
numComments=3