Skip to main content

erlang_c

Function erlang_c 

Source
pub fn erlang_c(lambda: f64, mu: f64, c: u32) -> Result<f64, PoolsimError>
Expand description

Computes Erlang-C waiting probability for an M/M/c queue.

ยงErrors

Returns PoolsimError::InvalidInput when c == 0 or mu <= 0, and PoolsimError::Saturated when rho >= 1.0.