Extract Link Analysis Ranking computation from ActivityGraph #73
Labels
enhancement
New feature or request
project:library
Issues related to the prefetch library for Android
The computation of Link Analysis Ranking (LAR) rankings in this class add cluster, difficult the implementation of plug-and-play components and reduce the source readability.
The following strategies run their calculations here
Extracting the management of LAR data from this class will largely increase its readability.
While performing the extraction, an aspect to consider is that the implemented algorithms run the scores for all activities in the graph and runs a single interaction only.
Take the method
updateNodes
as an example:NAPPA/Prefetching-Library/android_prefetching_lib/src/main/java/nl/vu/cs/s2group/nappa/graph/ActivityGraph.java
Lines 116 to 153 in 37c20ca
Without LARs operations and doing a cleanup, this method would be something like:
The text was updated successfully, but these errors were encountered: