DesignPointCompleted

data class DesignPointCompleted(val pointId: Int, val index: Int, val totalDesignPoints: Int, val snapshot: SimulationSnapshot.ExperimentCompleted?, val wasCancelled: Boolean = false) : RunEvent(source)

Emitted by ExperimentOrchestrator after each design point completes.

Constructors

Link copied to clipboard
constructor(pointId: Int, index: Int, totalDesignPoints: Int, snapshot: SimulationSnapshot.ExperimentCompleted?, wasCancelled: Boolean = false)

Properties

Link copied to clipboard
val index: Int

1-based position of this design point in the run order

Link copied to clipboard

1-based design-point identifier within the experiment

Link copied to clipboard

experiment-completed snapshot; null if the design point failed with a RuntimeException OR if it was cancelled (see wasCancelled to distinguish).

Link copied to clipboard

total number of design points in the experiment

Link copied to clipboard

true when the design point was cancelled via ParallelDesignedExperiment.cancelDesignPoint(...); snapshot is always null in this case. Default false preserves backward compatibility for existing callers.