Class SeedStrategy
A strategy that resets the specified {@code seed} value for Seedable steps like coin(), sample() and Order.shuffle, which in turn will produce deterministic results from those steps.
Inherited Members
Namespace: Gremlin.Net.Process.Traversal.Strategy.Decoration
Assembly: Gremlin.Net.dll
Syntax
public class SeedStrategy : AbstractTraversalStrategy, ITraversalStrategy, IEquatable<AbstractTraversalStrategy>
Constructors
SeedStrategy()
Initializes a new instance of the SeedStrategy class.
Declaration
public SeedStrategy()
SeedStrategy(long)
Initializes a new instance of the SeedStrategy class.
Declaration
public SeedStrategy(long seed)
Parameters
Type | Name | Description |
---|---|---|
long | seed | Specifies the seed the traversal will use. |