public class RankDataStore
extends java.lang.Object
Constructor and Description |
---|
RankDataStore()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<java.lang.String> |
getDocumentList()
Gets the list of document.
|
java.util.ArrayList<java.lang.Double> |
getScoreList()
Gets the list of scores.
|
void |
removeDocumentFromList(int index)
Removes the entry from temporary store variables for user behavior data during runtime.
|
void |
retrieveRankData()
Retrieves past user behavior data from file.
|
void |
storeUserBehaviour()
Stores user behavior data into the file.
|
void |
testing_mode()
To enable testing mode for JUnit Test cases.
|
void |
updateDocumentList(java.lang.String source,
double score)
Updates the variables that are used as temporary store for user behavior data during runtime.
|
public void testing_mode()
public void retrieveRankData()
public void storeUserBehaviour()
public void updateDocumentList(java.lang.String source, double score)
source
- the name of the source documentscore
- the score of the source documentpublic void removeDocumentFromList(int index)
index
- the index of the entry in the temporary store variable (documentLsit)public java.util.ArrayList<java.lang.String> getDocumentList()
public java.util.ArrayList<java.lang.Double> getScoreList()