sring: sring

View source: R/funSring.R

sringR Documentation

sring

Description

simple elevator simulator

Usage

sring(x, opt = list(), ...)

Arguments

x

perceptron weights

opt

list of optional parameters, e.g.,

nElevators

number of elevators

probNewCustomer

probability pf a customer arrival

nIterations

Number of itertions

randomSeed

random seed

...

additional parameters

Value

fitness

Examples

set.seed(123)
nStates = 6
nElevators = 2
sigma = 1
x = matrix( rnorm(n = 2*nStates, 1, sigma), 1,)
sring(x, opt = list(nElevators=nElevators,
                   nStates= nStates) )


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