main function which iterates the ring
ring(params)list of
randomSeedrandom seed
nStatesnumber of S-Ring states
nElevatorsnumber of elevators
probNewCustomerprobability pf a customer arrival
counterCounter: number of waiting customers
sElevatorVector representing elevators (s)
sCustomerVector representing customers (c)
currentStateCurrent state that is calculated
nextStateNext state that is calculated
nWeightsNumber of weights for the perceptron (= 2 * nStates)
number of waiting customers (estimation)