replenish_jobs: Replenish the Background Queue by Using Bg_predict_info

Description Usage Arguments Value

View source: R/combine_sim_pred.R

Description

Replenish the Background Queue by Using Bg_predict_info

Usage

1
replenish_jobs(bg_predict_info, arrival_jobs, pin, emp_job_idx)

Arguments

bg_predict_info

A dataframe to be regenerated from.

arrival_jobs

A dataframe to be replenished.

pin

A numeric value representing the current position to pick from bg_predict_info.

emp_job_idx

A numeric value from which the empirical job indices are assigned.

Value

A numeric vector representing the updated machine_pi_up after job scheduling.


carlonlv/DataCenterSim documentation built on Jan. 9, 2022, 3:26 p.m.