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.
public class SeedStrategy : AbstractTraversalStrategy, ITraversalStrategy, IEquatable<AbstractTraversalStrategy>
- Inheritance
-
SeedStrategy
- Implements
- Inherited Members
Constructors
SeedStrategy()
Initializes a new instance of the SeedStrategy class.
public SeedStrategy()
SeedStrategy(long)
Initializes a new instance of the SeedStrategy class.
public SeedStrategy(long seed)
Parameters
seed
longSpecifies the seed the traversal will use.