Table of Contents

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

rng Random
ctx RandoContext
stages RandomizationStage[]
rm RandoMonitor

Fields

ctx

public readonly RandoContext ctx

Field Value

RandoContext

lm

public readonly LogicManager lm

Field Value

LogicManager

rm

public readonly RandoMonitor rm

Field Value

RandoMonitor

rng

public readonly Random rng

Field Value

Random

stagedPlacements

public readonly List<List<RandoPlacement>[]> stagedPlacements

Field Value

List<List<RandoPlacement>[]>

stages

public readonly RandomizationStage[] stages

Field Value

RandomizationStage[]

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()

Exceptions

ValidationException