svt_machine_survival: Find Outcome of A Scheduled Foreground Job for Single Machine

Description Usage Arguments Value

View source: R/combine_sim_pred.R

Description

Find Outcome of A Scheduled Foreground Job for Single Machine

Usage

1
2
3
4
5
6
7
8
svt_machine_survival(
  scheduled_jobs,
  machine_available_info,
  current_time,
  window_multiplier,
  algo = "greedy",
  max_combn = 5000
)

Arguments

scheduled_jobs

A dataframe containing information of all active jobs.

machine_available_info

A numeric value representing the current time.

current_time

A numeric value representing the current time.

window_multiplier

A numeric number representing the multiplier for delayed time and scheduled time.

algo

A character value representing the algorithm of choice. Default is "greedy" which is fast but does not yield the best choice. "dynamic" is slower but ultimate produces the best selections.

max_comb

A numeric value representing the maximum number of combination in finding optimal combinations of jobs, used for limit memory use, only used when algo = "dynmaic". Default value is 5000.

Value

A numeric vector containing job ids to be removed.


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