neo4j-contrib / neo4j-graph-algorithms

Efficient Graph Algorithms for Neo4j
https://github.com/neo4j/graph-data-science/
GNU General Public License v3.0
769 stars 195 forks source link

Degree cutoff skip values #880

Closed mneedham closed 5 years ago

mneedham commented 5 years ago

@jexp for this one, at the moment we are checking the degreeCutoff against the size of each weights list, which doesn't make sense as many of those values could be skip values! This PR compares degreeCutoff against the size of the weight list excluding items that should be skipped