ring: ring

View source: R/funSring.R

ringR Documentation

ring

Description

main function which iterates the ring

Usage

ring(params)

Arguments

params

list of

randomSeed

random seed

nStates

number of S-Ring states

nElevators

number of elevators

probNewCustomer

probability pf a customer arrival

counter

Counter: number of waiting customers

sElevator

Vector representing elevators (s)

sCustomer

Vector representing customers (c)

currentState

Current state that is calculated

nextState

Next state that is calculated

nWeights

Number of weights for the perceptron (= 2 * nStates)

Value

number of waiting customers (estimation)


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