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
get_capacity(.env, resource)

get_capacity_selected(.env, id = 0)

get_queue_size(.env, resource)

get_queue_size_selected(.env, id = 0)

get_server_count(.env, resource)

get_server_count_selected(.env, id = 0)

get_queue_count(.env, resource)

get_queue_count_selected(.env, id = 0)

Arguments

.env

the simulation environment.

resource

the name of the resource.

id

selection identifier for nested usage.

Value

Return a numeric value.

See Also

get_resources, set_capacity, set_queue_size.


r-simmer/simmer documentation built on Aug. 21, 2018, 2:47 a.m.