--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/F5A0E440-708C-494A-BA1B-2CB5D29771F8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
g.V().outE().values("weight").calc(c(1).div(c(1).plus(e.pow(binding().negate())))) // or:g.V().outE().calc(c(1).div(c(1).plus(e.pow(binding("a").negate())))).bind("a", values("weight"))
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CA%2Bf9seXV6YxVEJYefcrJ2rdNcrt7jZ8swZrW%2BTh-hh1-kny4Yw%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H438go2gZ_JYkuwNMwwvqhwmoG%3D3nKF_3LJw33PvakXd4eg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H438go2gZ_JYkuwNMwwvqhwmoG%3D3nKF_3LJw33PvakXd4eg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/7EA190CB-23DA-42EC-A1EC-EAF999AAA8ED%40gmail.com.
gremlin-math - crazy :)
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/F5A0E440-708C-494A-BA1B-2CB5D29771F8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CA%2Bf9seXV6YxVEJYefcrJ2rdNcrt7jZ8swZrW%2BTh-hh1-kny4Yw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H438go2gZ_JYkuwNMwwvqhwmoG%3D3nKF_3LJw33PvakXd4eg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/1ebf2a8b-5311-4c79-93c7-9cf25e27f5c2%40googlegroups.com.To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
gremlin> inject(1, 2, 3).sum()==>6
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CA%2Bf9seXV6YxVEJYefcrJ2rdNcrt7jZ8swZrW%2BTh-hh1-kny4Yw%40mail.gmail.com.
g.V().project(“w”,”h”).by(“weight”).by(“height”).calc(“w / h")
Expression e = new ExpressionBuilder(“w / h").variables(“w”,”h").build().setVariable(“w”, traverser.path().get(“w”)).setVariable(“h”, traverser.path().get(“h”))return traverser.split(e.evaluate());
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAC3-3jg%3DTCz1du7U6DZk6-6ipCL1E60%2BUFwdZ6P1JxN5U7KuPQ%40mail.gmail.com.
Jean-Baptiste
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/F5A0E440-708C-494A-BA1B-2CB5D29771F8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CA%2Bf9seXV6YxVEJYefcrJ2rdNcrt7jZ8swZrW%2BTh-hh1-kny4Yw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAC3-3jg%3DTCz1du7U6DZk6-6ipCL1E60%2BUFwdZ6P1JxN5U7KuPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/808EF861-E2FC-49CF-A7CF-15542813EC0C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAC3-3jg%3DTCz1du7U6DZk6-6ipCL1E60%2BUFwdZ6P1JxN5U7KuPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/808EF861-E2FC-49CF-A7CF-15542813EC0C%40gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CA%2Bf9seVZEVbeBkGZPm3shC64OBr7uLVCdj7-yNK-GPY5ESWf3g%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CA%2Bf9seVZEVbeBkGZPm3shC64OBr7uLVCdj7-yNK-GPY5ESWf3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/3E789EB8-4251-4099-B069-87213F596C46%40gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CABed_4ojUrCd8U1jc3uKfdyskAco3EMr7WG69vPv6RvkzfS%2BxQ%40mail.gmail.com.
gremlin> g.V().outE().values("weight").as("a").math("a + 10").as("b").math("a / b”)==>0.038461538461538464==>0.038461538461538464==>0.047619047619047616==>0.09090909090909091==>0.09090909090909091==>0.019607843137254905
g.V().as(“a”).out(“knows”).as(“b”).math(“a / b”).by(“age”)
g.V().as(“a”).out(“knows”).as(“b”).math(“a / b”).by(“age”).by(outE().count())
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H439YMEiANJHhEJqLovhc9eZm%3DfTkE_BnJjpQ74R1CDDxLg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H439YMEiANJHhEJqLovhc9eZm%3DfTkE_BnJjpQ74R1CDDxLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Gremlin-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gremlin-users/EFog3lhh4Xw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/AD79C151-4F02-4FA4-AC65-914DD602EA63%40gmail.com.
gremlin> g.V().as("a").out("knows").as("b”).math("a ^ b”).by("age”).by(bothE().count())==>29.0==>24389.0
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAGrm2%3DAodU6GsHmO7KbG-HY_3ajNg3OF9tHo6KuztU4sSvQTcw%40mail.gmail.com.
gremlin> g.V().as("a").out("knows”).math("a ^ _”).
by("age”).by(bothE().count())==>29.0==>24389.0
Tricky indeed. How would you deal the opposite order for math("b ^ a")? Should b in the expression match with the as("b")?Also, any implicit ordering should not interfere with explicit selects:
gremlin> g.V().as("a").out("knows”).as("b").
math("x ** y”).by(select("b").values("age”)).by(select("a").bothE().count())Cheers, Marc
Op dinsdag 3 oktober 2017 18:31:39 UTC+2 schreef Marko A. Rodriguez:
Robert Dale
Jean-Baptiste
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/F5A0E440-708C-494A-BA1B-2CB5D29771F8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CA%2Bf9seXV6YxVEJYefcrJ2rdNcrt7jZ8swZrW%2BTh-hh1-kny4Yw%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAC3-3jg%3DTCz1du7U6DZk6-6ipCL1E60%2BUFwdZ6P1JxN5U7KuPQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/808EF861-E2FC-49CF-A7CF-15542813EC0C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CA%2Bf9seVZEVbeBkGZPm3shC64OBr7uLVCdj7-yNK-GPY5ESWf3g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/3E789EB8-4251-4099-B069-87213F596C46%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CABed_4ojUrCd8U1jc3uKfdyskAco3EMr7WG69vPv6RvkzfS%2BxQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H439YMEiANJHhEJqLovhc9eZm%3DfTkE_BnJjpQ74R1CDDxLg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Gremlin-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gremlin-users/EFog3lhh4Xw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/AD79C151-4F02-4FA4-AC65-914DD602EA63%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAGrm2%3DAodU6GsHmO7KbG-HY_3ajNg3OF9tHo6KuztU4sSvQTcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/0d2a27e8-0563-4f68-9d96-547b246060db%40googlegroups.com.
On Oct 4, 2017, at 3:55 AM, HadoopMarc <marc.de...@gmail.com> wrote:
Tricky indeed. How would you deal the opposite order for math("b ^ a")? Should b in the expression match with the as("b")?Also, any implicit ordering should not interfere with explicit selects:
gremlin> g.V().as("a").out("knows”).as("b").
math("x ** y”).by(select("b").values("age”)).by(select("a").bothE().count())
Cheers, Marc
Op dinsdag 3 oktober 2017 18:31:39 UTC+2 schreef Marko A. Rodriguez:
Hello,
Robert Dale
Jean-Baptiste
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/F5A0E440-708C-494A-BA1B-2CB5D29771F8%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CA%2Bf9seXV6YxVEJYefcrJ2rdNcrt7jZ8swZrW%2BTh-hh1-kny4Yw%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAC3-3jg%3DTCz1du7U6DZk6-6ipCL1E60%2BUFwdZ6P1JxN5U7KuPQ%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/808EF861-E2FC-49CF-A7CF-15542813EC0C%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CA%2Bf9seVZEVbeBkGZPm3shC64OBr7uLVCdj7-yNK-GPY5ESWf3g%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/3E789EB8-4251-4099-B069-87213F596C46%40gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CABed_4ojUrCd8U1jc3uKfdyskAco3EMr7WG69vPv6RvkzfS%2BxQ%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAA-H439YMEiANJHhEJqLovhc9eZm%3DfTkE_BnJjpQ74R1CDDxLg%40mail.gmail.com.To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Gremlin-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gremlin-users/EFog3lhh4Xw/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/AD79C151-4F02-4FA4-AC65-914DD602EA63%40gmail.com.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/CAGrm2%3DAodU6GsHmO7KbG-HY_3ajNg3OF9tHo6KuztU4sSvQTcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/0d2a27e8-0563-4f68-9d96-547b246060db%40googlegroups.com.