This constraint puts bounds on the magnitude of velocity a particle can have. Particles where either end of the bound is NA ignores the constraint. If a particle with no velocity is forced to have a velocity the direction will be random.
The following parameters defines the training of the constraint and can be
passed along a call to impose()
v
: The velocity allowed for the particle. (tidy eval)
vmin
: The lowest permissible velocity. If NULL
then v
will be used. (tidy eval)
vmax
: The highest permissible velocity. If NULL
then v
will be used. (tidy eval)
Other constraints:
dominator_constraint
,
infinity_constraint
,
path_constraint
,
polygon_constraint
,
x_constraint
,
y_constraint