+ private checkOptions (opts: WorkerChoiceStrategyOptions): void {
+ if (this.requiredStatistics.avgRunTime && opts.medRunTime === true) {
+ this.requiredStatistics.medRunTime = true
+ }
+ }
+
+ /** @inheritDoc */
+ public abstract reset (): boolean
+
+ /** @inheritDoc */
+ public abstract choose (): number
+
+ /** @inheritDoc */
+ public abstract remove (workerNodeKey: number): boolean