Map from items to their scores.
It is used internally to share scores easily accross methods, and is cleared and recomputed everytime new scores must be computed.
Map from webpage IDs to their scores.
It is used internally to share scores easily accross methods, and is cleared and recomputed everytime new scores must be computed.
Page visits analysis used to compute scores.
It is used internally to share it easily accross methods, and is cleared and recomputed everytime new scores must be computed.
Compute the score of each given item, and fill the itemScores map accordingly.
The list of items to rank.
Compute the score of each webpage listed in the page visits analysis, and fill the pageScores map accordingly.
Compute the score of the webpage with the given ID, possibly using data from pageVisitsAnalysis.
The ID of the page to rank.
The score of the page with the given ID.
Get a list of all groups (from all menus) sorted in the same order than the list returned by getSortedItemGroupsWithScores.
The menu manager containing the groups to sort.
The data manager containing data for the policy.
A sorted list of groups.
Get a sorted list of all groups (from all menus) with scores, so that:
This implementation can be overidden by any policy extending this class.
The menu manager containing the groups to rank and sort.
The data manager containing data for the policy.
A sorted list of groups with their scores.
Get a list of all items (from all menus) sorted in the same order than in the list returned by getSortedItemsWithScores.
The menu manager containing the items to sort.
The data manager containing data for the policy.
A sorted list of items.
Generated using TypeDoc
Create a new instance of LinkedPageScorePolicy.