<DriverResponse> is an S4 class that defines species-level, per-agent
responses to a specific environmental or man-made "driver", as declared in an
associated object of class <Driver>.
Details
Designed to be a sub-class of <Species>, <DriverResponse> is
tightly integrated with class <Driver> to enable the specification
of influencing factors that directly drive the movement, behaviour activities
and/or the condition of the simulated agents.
For model initialization, a <DriverResponse> object must be linked to its
corresponding <Driver> object via the @driver_id slot in
<DriverResponse> and the @id slot in <Driver>. Unmatched IDs
will result in an error during the IBM's initialization phase.
Slots
driver_idcharacter string, the unique identifier of the driver. It must match the
@idvalue in the concomitant <Driver> object. Unmatched IDs will trigger an error during model initialization.movementan object of class <
MoveInfluence>, specifying how the driver influences the agent's movementstatesa list of <
StateInfluence> objects, listing the influence of the driver in the agent's states.conditiona character string (feature under development). Reserved for specifying additional effects of the driver on agent condition.
See also
Helper function DriverResponse() for constructing
<DriverResponse> objects
