machine_survival: Find Outcome of A Scheduled Foreground Job

Description Usage Arguments Value

View source: R/combine_sim_pred.R

Description

Find Outcome of A Scheduled Foreground Job

Usage

1
2
3
4
5
6
7
8
9
machine_survival(
  machine_list,
  job_list,
  current_time,
  window_multiplier,
  cores,
  max_combn = 5000,
  algo = "greedy"
)

Arguments

machine_list

A numeric vector containing actual values at current time.

job_list

A dataframe containing information of all active jobs.

current_time

A numeric value representing the current time.

window_multiplier

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

cores

A numeric value representing the number of threads for parallel programming for multiple traces, not supported for windows users.

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 list with keys representing decision and value job id falling into such decision.


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