randomMove: The function randomly selects an angle (0:360) and moves the...

Description Usage Arguments

View source: R/randomMove.R

Description

The function randomly selects an angle (0:360) and moves the lobster. This is called when a lobster is outside the area of influence.

Usage

1
randomMove(xLobster, yLobster, dStep)

Arguments

xLobster

current x coordinate of the lobster

yLobster

current y coordinate of the lobster

dStep

fixed length of movemnet in each timestep


vpourfaraj/lobsterCatch0.1 documentation built on Feb. 25, 2021, 2:56 p.m.