this is an internal function, you should use the R interface for type checking, infection_process_cpp

infection_process_cpp_internal(parameters, states, discrete_age, exposure, dt)

Arguments

parameters

a list of parameters from get_parameters

states

a CategoricalVariable

discrete_age

a IntegerVariable

exposure

a TargetedEvent

dt

size of time step