tinkerpop-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stephen mallette (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (TINKERPOP3-796) Support merge binary operator for Gremlin sacks
Date Wed, 05 Aug 2015 10:59:05 GMT

     [ https://issues.apache.org/jira/browse/TINKERPOP3-796?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

stephen mallette updated TINKERPOP3-796:
    Issue Type: Improvement  (was: New Feature)

> Support merge binary operator for Gremlin sacks
> -----------------------------------------------
>                 Key: TINKERPOP3-796
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP3-796
>             Project: TinkerPop 3
>          Issue Type: Improvement
>          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

View raw message