ReplicationSpec

@Serializable
sealed class ReplicationSpec(source)

How many replications each design point should run. Two variants: uniform (every point runs the same count) or per-point (a default plus an index-keyed override map).

Per-point overrides are typical for central-composite designs that want more replicates at the centre than at the factorial-cube corners — a common variance-estimation pattern.

Inheritors

Constructors

Link copied to clipboard
protected constructor()

Types

Link copied to clipboard
@Serializable
@SerialName(value = "perPoint")
data class PerPoint(val default: Int, val overrides: Map<Int, Int>) : ReplicationSpec

A document-level default replication count plus per-point overrides keyed by design-point index (0-based, in the order the design enumerates them). Indices not present in overrides use default.

Link copied to clipboard
@Serializable
@SerialName(value = "uniform")
data class Uniform(val replications: Int) : ReplicationSpec

Every design point runs the same number of replications. The simplest and most common case.