getCosts: getCosts

View source: R/funSring.R

getCostsR Documentation

getCosts

Description

Evaluate synthetic cost function that is based on the number of waiting customers and the number elevators

Usage

getCosts(x, ...)

Arguments

x

vector with sigma weight multiplier and ne number of elevators

...

optional parameters passed to funSring

Details

Note: To accelerate testing, nIterations was set to 1e3 (instead of 1e6)

Value

fitness (costs)

Examples

set.seed(123)
sigma = 1
ne = 10
x <- c(sigma, ne)
getCosts(x)


SPOT documentation built on June 26, 2022, 1:06 a.m.