simmer (version 3.7.0.9000)

set_trajectory: Set Generator Parameters

Description

Activities for modifying a generator's trajectory or distribution by name.

Usage

set_trajectory(.trj, generator, trajectory)

set_distribution(.trj, generator, distribution)

Arguments

.trj

the trajectory object.

generator

the name of the generator or a function returning a name.

trajectory

the trajectory that the generated arrivals will follow.

distribution

a function modelling the interarrival times (returning a negative value stops the generator).

Value

Returns the trajectory object.

See Also

activate, deactivate.