newRandomMixing {ABM} | R Documentation |
Creates a RandomMixing object
Description
Creates a RandomMixing object
Value
an external pointer.
Examples
# creates a simulation with 100 agents
sim = Simulation$new(100)
# add a random mixing contact pattern for these agents.
sim$addContact(newRandomMixing())
[Package ABM version 0.4.1 Index]