Build and manage trajectories

Methods for building and manipulating trajectory objects

trajectory create_trajectory

Create a trajectory

Extract.trajectory

Extract or replace parts of a trajectory

join

Join trajectories

length get_n_activities

Number of activities in a trajectory

Add activities

Verbs for appending activities to trajectory objects

batch separate

Add a batch/separate activity

branch

Add a branch activity

clone synchronize

Add a clone/synchronize activity

leave

Add a leave activity

renege_in renege_if renege_abort

Add a renege activity

rollback

Add a rollback activity

seize seize_selected release release_selected

Add a seize/release activity

select

Select a resource

set_attribute

Add a set attribute activity

set_prioritization

Add a set prioritization activity

set_capacity set_capacity_selected set_queue_size set_queue_size_selected

Add a set capacity/queue size activity

timeout

Add a timeout activity

activate deactivate

Add a activate/deactivate activity

set_trajectory set_distribution

Add a set trajectory/distribution activity

send trap untrap wait

Add an inter-arrival communication activity

log_

Add a logging activity

Build and run simulation environments

Methods for building and running simulation objects

simmer

simmer: Discrete-Event Simulation for R

add_generator

Add a generator

add_resource

Add a resource

reset

Reset a simulator

run onestep

Run the simulation

wrap

Wrap a simulation environment

Manage simulation environments

Methods for getting information about simulation components

get_n_generated

Get the number of arrivals generated

get_capacity get_queue_size get_server_count get_queue_count

Get a resource's parameter

now

Get current time

peek

Peek next events

Statistics

Methods for getting monitored statistics

get_mon_arrivals get_mon_attributes get_mon_resources

Get statistics

Convenience functions

Helper methods for generators and resources

at

Arrivals at specific times

from

Generate arrivals starting at a specified time

from_to

Generate arrivals starting and stopping at specified times

schedule

Generate a scheduling object

to

Generate arrivals stopping at a specified time