TraceLab Components for Reproducing Source Code Summarization Experiments
Breno Dantas Cruz, Paul "Will" McBurney, Collin McMillan
ND PageRank Calculator
The ND PageRank Calculator will receive as input from the workspace a HashMap call callgraph and will output a HashMap with the page ranks to the workspace. The component can receive a configuration value called alpha, if not filled the component will asumme a default value.
Observe the following items for an explanation about the ND PageRank Calculator:
- When clicking the 'i' button of the component the following box will appear. This box contains all the details of this component.
- The following image shows the information regarding the input of the component. "callgraph" is the name of the variable callgraph, which comes from the ND Call Graph Component. "callgraph" is a MashMap.
- The following image shows the information regarding the output of the component to the workspace. "pageranks" is a HashMap and contains the pageranks.
- The following image shows the configuration variable "Alpha" is variable is a type float. The component will assume a default value if user does not provide a value. The component uses the value of alpha to determine the page ranks.
- The following image shows the information regarding label of the component (ND PageRank Calculator).
Table of Contents
Downloads