You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2018/02/15 14:46:21 UTC

[1/2] tinkerpop git commit: TINKERPOP-1357 Added pageRank step to centrality recipes

Repository: tinkerpop
Updated Branches:
  refs/heads/master 041bb3fe4 -> 369dfa5a4


TINKERPOP-1357 Added pageRank step to centrality recipes

While not really a "recipe", it's worth letting people know who are reading about centrality that there is an easy way to do PageRank calculations. CTR


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/d63aaa85
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/d63aaa85
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/d63aaa85

Branch: refs/heads/master
Commit: d63aaa852bfc605b3ddee5d1471097a724279cd0
Parents: 2d7113a
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu Feb 15 09:44:12 2018 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu Feb 15 09:44:12 2018 -0500

----------------------------------------------------------------------
 docs/src/recipes/centrality.asciidoc | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/d63aaa85/docs/src/recipes/centrality.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/recipes/centrality.asciidoc b/docs/src/recipes/centrality.asciidoc
index 9a21636..1a3927e 100644
--- a/docs/src/recipes/centrality.asciidoc
+++ b/docs/src/recipes/centrality.asciidoc
@@ -174,3 +174,17 @@ traversal from taking longer than one hundred milliseconds to execute (the previ
 than that). While the answer provided with the `timeLimit()` is not the absolute ranking, it does provide a relative
 ranking that closely matches the absolute one. The use of `timeLimit()` in certain algorithms (e.g. recommendations)
 can shorten the time required to get a reasonable and usable result.
+
+[[pagerank-centrality]]
+=== PageRank Centrality
+
+While not technically a recipe, it's worth noting here in the "Centrality Section" that
+link:https://en.wikipedia.org/wiki/PageRank[PageRank] centrality can be calculated with Gremlin with the
+link:http://tinkerpop.apache.org/docs/x.y.z/reference/#pagerank-step[pageRank()]-step which is designed to work with
+`GraphComputer` (OLAP) based traversals.
+
+[gremlin-groovy,modern]
+----
+g = graph.traversal().withComputer()
+g.V().pageRank().by('pageRank').values('pageRank')
+----


[2/2] tinkerpop git commit: Merge branch 'tp32'

Posted by sp...@apache.org.
Merge branch 'tp32'


Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/369dfa5a
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/369dfa5a
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/369dfa5a

Branch: refs/heads/master
Commit: 369dfa5a466d86bf91cc0daa1f9d5a607d0c34a4
Parents: 041bb3f d63aaa8
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Thu Feb 15 09:45:37 2018 -0500
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Thu Feb 15 09:45:37 2018 -0500

----------------------------------------------------------------------
 docs/src/recipes/centrality.asciidoc | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
----------------------------------------------------------------------