as.server.list | R Documentation |
"server.list"
object from a list of times and starting availability.Creates a "server.list"
object from a list of times and starting availability.
as.server.list(times, init)
times |
list of numeric vectors giving change times for each server. |
init |
vector of 1s and 0s with equal length to |
an object of class "server.list"
, which is a list of step functions of range {0, 1}.
as.server.stepfun
, queue_step
# Create a server.list object with the first server available anytime before time 10, # and the second server available between time 15 and time 30. as.server.list(list(10, c(15,30)), c(1,0))