run

override fun run(plan: Plan, simResults: SimulationResults): Violations

Run the constraint on a plan.

The provided collect options are the options that the Violations result will be collected on after the constraint is run. The constraint does not need to use the options unless it collects a timeline prematurely.

Parameters

plan

the plan to check the constraint on

simResults

the SimulationResults that the result will be collected with