Skip to content

Commit

Permalink
✨ solve DegreeStatic algorithm config problem (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
fbpcchen committed Aug 4, 2023
1 parent 397a8a3 commit 3fc5955
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ import com.vesoft.nebula.algorithm.config.{
Node2vecConfig,
PRConfig,
ShortestPathConfig,
SparkConfig
SparkConfig,
DegreeStaticConfig
}
import com.vesoft.nebula.algorithm.lib.{
BetweennessCentralityAlgo,
Expand Down Expand Up @@ -171,7 +172,8 @@ object Main {
ShortestPathAlgo(spark, dataSet, spConfig, hasWeight)
}
case "degreestatic" => {
DegreeStaticAlgo(spark, dataSet)
val dsConfig = DegreeStaticConfig.getDegreeStaticConfig(configs)
DegreeStaticAlgo(spark, dataSet, dsConfig)
}
case "kcore" => {
val kCoreConfig = KCoreConfig.getKCoreConfig(configs)
Expand Down

0 comments on commit 3fc5955

Please sign in to comment.