2) Behavior description
a) Foraging behavior
(2)
Artificial fish swimming in the water is random, assuming
that the current state of an artificial fish is gi' the food
concentration of which is h; . The food concentration of another
artificial fish g j is h j , which is within sight of state of
artificial fish g;. If hj is less than hi ' gi will randomly move
a step, executing (3); if hj is greater than hi ' then gi will
move a step in the direction ofg} , executing (4). The threshold
learning method for artificial fish foraging behavior to the next
state is as follows