Learn R Programming

simmer (version 3.1.2.9000)

peek: Peek the next event's time

Description

Gets the time of the next scheduled event.

Usage

peek(env)

Arguments

env

the simulation environment.

Value

Returns a numeric value.

See Also

Other methods to deal with a simulation environment: simmer, reset, now, onestep, run, add_resource, add_generator, get_mon_arrivals, get_mon_attributes, get_mon_resources, get_n_generated, get_capacity, get_queue_size, get_server_count, get_queue_count.