Class Randomizer
- Namespace
- RandomizerCore.Randomization
- Assembly
- RandomizerCore.dll
public class Randomizer
- Inheritance
-
Randomizer
- Inherited Members
Constructors
Randomizer(Random, RandoContext, RandomizationStage[], RandoMonitor?)
public Randomizer(Random rng, RandoContext ctx, RandomizationStage[] stages, RandoMonitor? rm = null)
Parameters
rngRandomctxRandoContextstagesRandomizationStage[]rmRandoMonitor
Fields
ctx
public readonly RandoContext ctx
Field Value
lm
public readonly LogicManager lm
Field Value
rm
public readonly RandoMonitor rm
Field Value
rng
public readonly Random rng
Field Value
stagedPlacements
public readonly List<List<RandoPlacement>[]> stagedPlacements
Field Value
- List<List<RandoPlacement>[]>
stages
public readonly RandomizationStage[] stages
Field Value
Methods
Reset()
public void Reset()
Run()
public List<List<RandoPlacement>[]> Run()
Returns
- List<List<RandoPlacement>[]>
Validate()
Tests the randomizer output and sends an exception if it is invalid.
public void Validate()