schedule {ABM}R Documentation

Schedule (attach) an event to an agent

Description

Schedule (attach) an event to an agent

Arguments

agent

an external pointer returned by newAgent

event

an external pointer returned by newEvent

Details

If agent is an R6 object, then we should use either agent$schedule(event) or schedule(agent$get, event)

Similarly, if event is an R6 object, then we should use schedule(agent, event$get)


[Package ABM version 0.4.1 Index]