get_capacity: Get Resource Parameters

Description Usage Arguments Value See Also

View source: R/simmer-methods.R

Description

Getters for resources: server capacity/count and queue size/count.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
get_capacity(.env, resources)

get_capacity_selected(.env, id = 0)

get_queue_size(.env, resources)

get_queue_size_selected(.env, id = 0)

get_server_count(.env, resources)

get_server_count_selected(.env, id = 0)

get_queue_count(.env, resources)

get_queue_count_selected(.env, id = 0)

get_selected(.env, id = 0)

Arguments

.env

the simulation environment.

resources

one or more resource names.

id

selection identifier (a negative number causes the function to return the required parameter for all the selected resources).

Value

Return a vector (character for get_selected, numeric for the rest of them).

See Also

get_resources, set_capacity, set_queue_size.


r-simmer/simmer documentation built on Oct. 19, 2018, 6:33 p.m.