--
You received this message because you are subscribed to the Google Groups "pacer-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pacer-users...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
DB.vertex("13:1").all { |v| v.out_e.in_v }.only(DB.vertex("13:5")).paths
we get
[#<V[13:1]>, #<E[12:4]:13:1-eLink-13:4>, #<V[13:4]>, #<E[12:14]:13:4-eLink-13:5>, #<V[13:5]>, #<E[12:18]:13:5-eLink-13:6>, #<V[13:6]>]
and more,
so each of the eLink edge has a RID property, so we only want routes that all the eLink edge has uniq RID.
Thanks a lot!
Xuan
Hi Sean,
DB.vertex("13:1").loop do |v|
v.out_e.in_v
end.while do |vertex, depth, path|
if path != path.uniq
nil
else
:loop_and_emit
end
end.is(DB.vertex("13:6")).paths
/home/ec2-user/.rvm/gems/jruby-1.7.19/gems/pacer-2.0.13-java/lib/pacer/pipe/loop_pipe.rb:13 warning: ambiguous Java methods found, using setStarts(java.util.Iterator)
Total: 0
=> #<V-Loop(#<V -> outE -> inV>) -> is(nil) -> Path-Path>