Learn R Programming

SPOT (version 2.11.10)

getCosts: 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

Value

fitness (costs)

Details

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

Examples

Run this code
# NOT RUN {
set.seed(123)
sigma = 1
ne = 10
x <- c(sigma, ne)
getCosts(x)

# }

Run the code above in your browser using DataLab