This is an algorithm about how to make searching behavior with two tactics, which is described in the paper:
V.A. Nepomnyashchikh, E.E. Popov, V G. Red’ko "A Bionic Model of Adaptive Searching Behavior", 2008, published in Izvestiya Akademii Nauk. Teoriya i Sistemy Upravleniya, 2008, No. 1, pp. 85–93.