Step - coin
coin ยท category: Filters
Keeps each traverser with the given probability (0.0 to 1.0); seed it with g.with("random.seed", n).
Forms
coin(arg1: f64)
coin(arg1: i64)
Example
g.v().coin(1.0).count().next() // 6
coin ยท category: Filters
Keeps each traverser with the given probability (0.0 to 1.0); seed it with g.with("random.seed", n).
coin(arg1: f64)
coin(arg1: i64)
g.v().coin(1.0).count().next() // 6