Skip to content

Commit

Permalink
fix fusiform and kcore min_groups args default value (#79)
Browse files Browse the repository at this point in the history
Change-Id: I843c595172d7b45b894d764bf859dec61a35c8b5
  • Loading branch information
zhoney authored and imbajin committed Nov 7, 2022
1 parent 5ba5b94 commit c2e3082
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ public Set<Id> kcore(Iterator<Vertex> vertices, Directions direction,
int minNeighbors = (int) Math.floor(1.0 / alpha * k);
SimilarsMap map = fusiformSimilarity(vertices, direction, label,
minNeighbors, alpha, k - 1,
0, null, 1, degree,
0, null, 0, degree,
NO_LIMIT, NO_LIMIT, true);
if (map.isEmpty()) {
return ImmutableSet.of();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public class FusiformSimilarityAlgorithm extends AbstractAlgorithm {
public static final int DEFAULT_MIN_NEIGHBORS = 10;
public static final int DEFAULT_MIN_SIMILARS = 6;
public static final int DEFAULT_TOP_SIMILARS = 0;
public static final int DEFAULT_MIN_GROUPS = 1;
public static final int DEFAULT_MIN_GROUPS = 0;

@Override
public String category() {
Expand Down

0 comments on commit c2e3082

Please sign in to comment.