tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marko A. Rodriguez (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TINKERPOP3-796) Support merge binary operator for Gremlin sacks
Date Mon, 03 Aug 2015 14:35:04 GMT
Marko A. Rodriguez created TINKERPOP3-796:
---------------------------------------------

             Summary: Support merge binary operator for Gremlin sacks
                 Key: TINKERPOP3-796
                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-796
             Project: TinkerPop 3
          Issue Type: New Feature
          Components: process
            Reporter: Marko A. Rodriguez
            Assignee: Marko A. Rodriguez


We originally had the merge capability with Gremlin sacks, but I removed it as there was a
semantic problem when you merge + have bulk. For instance, suppose you sack is some "energy"
between 0 and 1.0. When you split then the sack for each split traverser is, lets say, 0.5
and 0.5. Then lets say those two guys now merge on the next step. The sack would be 1.0 but
your bulk would be 2 and thus, you have 2 energy (1.0 * 2). Its as if merging with sacks should
ALSO dictate how bulks are merged.

Given the complications at the time, I dropped the ability to merge sacks, but we will need
it again, especially with some new work I want to do with "wave form Gremlin."



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message