-
Notifications
You must be signed in to change notification settings - Fork 527
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refact: unify naming of degree for oltp algorithms #1433
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1433 +/- ##
============================================
+ Coverage 62.25% 62.27% +0.01%
- Complexity 5861 5863 +2
============================================
Files 381 381
Lines 32139 32139
Branches 4504 4504
============================================
+ Hits 20009 20014 +5
+ Misses 10076 10071 -5
Partials 2054 2054
Continue to review full report at Codecov.
|
hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CountAPI.java
Outdated
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CountAPI.java
Outdated
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CustomizedCrosspointsAPI.java
Outdated
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/FusiformSimilarityAPI.java
Outdated
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/PersonalRankAPI.java
Outdated
Show resolved
Hide resolved
...graph-core/src/main/java/com/baidu/hugegraph/traversal/algorithm/steps/WeightedEdgeStep.java
Outdated
Show resolved
Hide resolved
...graph-core/src/main/java/com/baidu/hugegraph/traversal/algorithm/steps/WeightedEdgeStep.java
Outdated
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/PersonalRankAPI.java
Outdated
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/NeighborRankAPI.java
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/TraverserAPI.java
Show resolved
Hide resolved
@@ -106,10 +106,10 @@ public String personalRank(@Context GraphManager manager, | |||
private String label; | |||
@JsonProperty("alpha") | |||
private double alpha; | |||
@JsonProperty("degree") | |||
private long degree = Long.valueOf(DEFAULT_DEGREE); | |||
@JsonProperty("max_degree") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this param is not in a step, don't need alias
hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CustomizedPathsAPI.java
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CustomizedCrosspointsAPI.java
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/CountAPI.java
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/version/ApiVersion.java
Outdated
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/version/ApiVersion.java
Outdated
Show resolved
Hide resolved
...graph-core/src/main/java/com/baidu/hugegraph/traversal/algorithm/steps/WeightedEdgeStep.java
Outdated
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/api/traversers/AllShortestPathsAPI.java
Show resolved
Hide resolved
hugegraph-api/src/main/java/com/baidu/hugegraph/version/ApiVersion.java
Outdated
Show resolved
Hide resolved
* refact: remove redundant packaging * refact: keep compatible with degree in 'step' * update api version to 0.61 Change-Id: Ibbfcaab820eed9d4131a5544899a5e3829729201
Note: also keep
degree
for alias inStep*
request