You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2015/02/17 21:38:16 UTC

[3/3] incubator-tinkerpop git commit: added a new diagram for TraversalVertexProgram. Added __.__() for inject() shorthand -- @dkuppitz.

added a new diagram for TraversalVertexProgram. Added __.__() for inject() shorthand -- @dkuppitz.


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

Branch: refs/heads/master
Commit: 0e7a612a85e54c273a192073c36d220b5116385a
Parents: 575048d
Author: Marko A. Rodriguez <ok...@gmail.com>
Authored: Tue Feb 17 13:38:12 2015 -0700
Committer: Marko A. Rodriguez <ok...@gmail.com>
Committed: Tue Feb 17 13:38:12 2015 -0700

----------------------------------------------------------------------
 docs/src/the-graphcomputer.asciidoc             |    2 +
 docs/static/images/olap-traversal.png           |  Bin 0 -> 315927 bytes
 docs/static/images/tinkerpop3.graffle           | 5797 +++++++++++++++++-
 .../tinkerpop/gremlin/process/Traversal.java    |   15 +-
 .../gremlin/process/graph/traversal/__.java     |   22 +-
 5 files changed, 5829 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/0e7a612a/docs/src/the-graphcomputer.asciidoc
----------------------------------------------------------------------
diff --git a/docs/src/the-graphcomputer.asciidoc b/docs/src/the-graphcomputer.asciidoc
index 9dcd70c..14f4466 100644
--- a/docs/src/the-graphcomputer.asciidoc
+++ b/docs/src/the-graphcomputer.asciidoc
@@ -310,6 +310,8 @@ g.engine(computer)
 g.V().both().hasLabel('person').values('age').groupCount().next() // OLAP
 ----
 
+image::olap-traversal.png[width=650]
+
 In the OLAP example above, a `TraversalVertexProgram` is (logically) sent to each vertex in the graph. Each instance evaluation requires (logically) 5 BSP iterations and each iteration is interpreted as such:
 
  . `g.V()`: Put a traverser on each vertex in the graph.

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/0e7a612a/docs/static/images/olap-traversal.png
----------------------------------------------------------------------
diff --git a/docs/static/images/olap-traversal.png b/docs/static/images/olap-traversal.png
new file mode 100644
index 0000000..e2cb601
Binary files /dev/null and b/docs/static/images/olap-traversal.png differ