Simulate lambda process from stable distribution iteratively until target length of result is reached. It uses multi-core capability to run lamp.simulate1 in parallel. If file slot is specified, simulation result will be persisted to it periodically. A plot interface is provided to monitor the progress. A CPU temperature interface is provided to control CPU from overheating.
lamp.simulate_iter(
object,
use.mc = 4,
sim.length = 1000,
reset.cache = FALSE,
drop = 10,
keep.tau = 1,
plot.util = lamp.plot_sim6,
cpu.temperature = 68,
cpu.temperature.util = NULL
)
an object of lamp class
numeric, number of cores for parallel simulations. Default is 4.
numeric, number of Z to simulate. Default is 1000.
logical, to reset simulation cache or not prior the run. Default is FALSE.
numeric, number of tau to discard at the end per iteration. Default is 10.
numeric, 0 to clean up, 1 to return unused tau, 2 to return all tau. Default is 1.
function, interface to plot simulation results. Default is lamp.plot_sim4.
numeric, temperature above which is overhead. Default is 68.
function, interface to get CPU temperature. Default is NULL.
an object of lamp class with Z, B, N populated