Skip to content

Commit

Permalink
minor: align everything
Browse files Browse the repository at this point in the history
  • Loading branch information
IoannisPanagiotas committed Oct 2, 2023
1 parent e538326 commit 085b24d
Show file tree
Hide file tree
Showing 26 changed files with 55 additions and 51 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateK1ColoringMutate(graphNameOrConfiguration, algoConfiguration);
return facade.community().k1ColoringEstimateMutate(graphNameOrConfiguration, algoConfiguration);
}

@Procedure(value = "gds.beta.k1coloring.mutate", mode = READ, deprecatedBy = "gds.beta.k1coloring.mutate")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateK1ColoringStats(graphNameOrConfiguration, algoConfiguration);
return facade.community().k1ColoringEstimateStats(graphNameOrConfiguration, algoConfiguration);
}

@Procedure(name = "gds.beta.k1coloring.stats", mode = READ, deprecatedBy = "gds.k1coloring.stats")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateK1ColoringStream(graphNameOrConfiguration, algoConfiguration);
return facade.community().k1ColoringEstimateStream(graphNameOrConfiguration, algoConfiguration);

}
@Procedure(value = "gds.beta.k1coloring.stream", mode = READ, deprecatedBy = "gds.k1coloring.stream")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateKCoreMutate(graphNameOrConfiguration, algoConfiguration);
return facade.community().kCoreEstimateMutate(graphNameOrConfiguration, algoConfiguration);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateKCoreStats(graphNameOrConfiguration, algoConfiguration);
return facade.community().kCoreEstimateStats(graphNameOrConfiguration, algoConfiguration);

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateKCoreStream(graphNameOrConfiguration, algoConfiguration);
return facade.community().kCoreEstimateStream(graphNameOrConfiguration, algoConfiguration);

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphName,
@Name(value = "algoConfiguration") Map<String, Object> configuration
) {
return facade.community().estimateLeidenMutate(graphName, configuration);
return facade.community().leidenEstimateMutate(graphName, configuration);
}

@Deprecated(forRemoval = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "algoConfiguration") Map<String, Object> configuration
) {

return facade.community().estimateLeidenStats(graphName, configuration);
return facade.community().leidenEstimateStats(graphName, configuration);

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "algoConfiguration") Map<String, Object> configuration
) {

return facade.community().estimateLeidenStream(graphName, configuration);
return facade.community().leidenEstimateStream(graphName, configuration);

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateModularityStats(graphNameOrConfiguration, algoConfiguration);
return facade.community().modularityEstimateStats(graphNameOrConfiguration, algoConfiguration);
}

@Deprecated(forRemoval = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateModularityStream(graphNameOrConfiguration, algoConfiguration);
return facade.community().modularityEstimateStream(graphNameOrConfiguration, algoConfiguration);
}

@Deprecated(forRemoval = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public Stream<ModularityOptimizationMutateResult> mutate(
@Name(value = "graphName") String graphName,
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
) {
return Stream.of(facade.community().mutateModularityOptimization(graphName, configuration));
return facade.community().modularityOptimizationMutate(graphName, configuration);
}

@Procedure(value = "gds.modularityOptimization.mutate.estimate", mode = READ)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public Stream<ModularityOptimizationStreamResult> stream(
@Name(value = "graphName") String graphName,
@Name(value = "configuration", defaultValue = "{}") Map<String, Object> configuration
) {
return facade.community().streamModularityOptimization(
return facade.community().modularityOptimizationStream(
graphName,
configuration
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateSccMutate(graphNameOrConfiguration, algoConfiguration);
return facade.community().sccEstimateMutate(graphNameOrConfiguration, algoConfiguration);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateSccStats(graphNameOrConfiguration, algoConfiguration);
return facade.community().sccEstimateStats(graphNameOrConfiguration, algoConfiguration);
}

}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateSccStream(graphNameOrConfiguration, algoConfiguration);
return facade.community().sccEstimateStream(graphNameOrConfiguration, algoConfiguration);
}

@Procedure(value = "gds.alpha.scc.stream", mode = READ, deprecatedBy = "gds.scc.stream")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateLocalClusteringCoefficientMutate(graphNameOrConfiguration, algoConfiguration);
return facade.community().localClusteringCoefficientEstimateMutate(graphNameOrConfiguration, algoConfiguration);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateLocalClusteringCoefficientStats(graphNameOrConfiguration, algoConfiguration);
return facade.community().localClusteringCoefficientEstimateStats(graphNameOrConfiguration, algoConfiguration);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateLocalClusteringCoefficientStream(graphNameOrConfiguration, algoConfiguration);
return facade.community().localClusteringCoefficientEstimateStream(graphNameOrConfiguration, algoConfiguration);

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateTriangleCountMutate(graphNameOrConfiguration, algoConfiguration);
return facade.community().triangleCountEstimateMutate(graphNameOrConfiguration, algoConfiguration);
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {

return facade.community().estimateTriangleCountStats(graphNameOrConfiguration, algoConfiguration);
return facade.community().triangleCountEstimateStats(graphNameOrConfiguration, algoConfiguration);

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateTriangleCountStream(graphNameOrConfiguration, algoConfiguration);
return facade.community().triangleCountEstimateStream(graphNameOrConfiguration, algoConfiguration);

}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateWccMutate(graphNameOrConfiguration, algoConfiguration);
return facade.community().wccEstimateMutate(graphNameOrConfiguration, algoConfiguration);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,6 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> algoConfiguration
) {
return facade.community().estimateWccStats(graphNameOrConfiguration, algoConfiguration);
return facade.community().wccEstimateStats(graphNameOrConfiguration, algoConfiguration);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,6 @@ public Stream<MemoryEstimateResult> estimate(
@Name(value = "graphNameOrConfiguration") Object graphNameOrConfiguration,
@Name(value = "algoConfiguration") Map<String, Object> configuration
) {
return facade.community().estimateWccStream(graphNameOrConfiguration, configuration);
return facade.community().wccEstimateStream(graphNameOrConfiguration, configuration);
}
}
Loading

0 comments on commit 085b24d

Please sign in to comment.