Compute and return the familiarity score of the webpage with the given ID, using data about the page from LinkedPageScorePolicy.pageVisitsAnalysis.
The familiarity of a page is defined as the weighted sum of:
The ID of the page to rank.
The familiarity 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
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.