Add a script to count paths leading to each node
This will be used as a metric for 'popularity' of directories, which will be used to weigh results of PopularContents (which counts the most popular names used to refer to each content)
Showing
- java/src/main/java/org/softwareheritage/graph/utils/CountPaths.java 127 additions, 0 deletions...ain/java/org/softwareheritage/graph/utils/CountPaths.java
- swh/graph/luigi/misc_datasets.py 55 additions, 1 deletionswh/graph/luigi/misc_datasets.py
- swh/graph/tests/test_origin_contributors.py 1 addition, 1 deletionswh/graph/tests/test_origin_contributors.py
- swh/graph/tests/test_toposort.py 64 additions, 4 deletionsswh/graph/tests/test_toposort.py
Please register or sign in to comment