R/simulator.R

Defines functions get_iteration_steps simulate create_simulator

Documented in create_simulator get_iteration_steps simulate

# TODO: Add comment
# 
# Author: cws
###############################################################################


create_simulator <- function(processState, modelManager, 
		periodLength = 1, verbose = TRUE, debug = FALSE){
	.Call("create_simulator", processState, modelManager, periodLength, verbose, debug,
			PACKAGE = "NetSim")
}

simulate <- function(simulator){
	.Call("simulate", simulator, PACKAGE = "NetSim")
}

get_iteration_steps <- function(simulator){
	.Call("get_iteration_steps", simulator, PACKAGE = "NetSim")
}

Try the NetSim package in your browser

Any scripts or data that you put into this service are public.

NetSim documentation built on May 29, 2017, 6:41 p.m.