I will present a mathematical model for adaptive behaviors that seems to be imbedded in an amoeboid organism, the Physarum plasmodium of true slime mold.
The plasmodium migrating in a narrow lane stops moving for a period of time (several hours but the duration differs for each plasmodium) when it encounters the presence of a chemical repellent, quinine. After stopping period, the organism suddenly begins to move again in one of three different ways as the concentration of repellent increases:
going through the repulsive place (penetration), splitting into two fronts of going throught it and turning (splitting) and turning back (rebound).
to the physiological mechanism for tip migration in the plasmodium, we found that the frontal tip is capable of moving further although the tip is divided from a main body of organism. This means that a motive force of front locomotion is produced by a local process at the tip. Based on this finding, a mathematical model for front locomotion is considered in order to understand the dynamics for both the long period of stopping and three kinds of behavior. A model based on reaction-diffusion equations succeeds to reproduce the experimental observation.
The origin of long-time stopping and three different outputs may be reduced to the hidden instabilities of internal dynamics of the pulse, which may be a skeleton structure extracted from much more complex dynamics imbedded in the Physarum plasmodium.
Kei-Ichi Ueda, Seiji Takagi, Yasumasa Nishiura, Toshiyuki Nakagaki, Mathematical model for contemplative amoeboid locomotion, Physical Review E 83(2,Pt.1) (2011) 021916  S. Takagi, Y. Nishiura, T. Nakagaki, T. Ueda and K.-I. Ueda, Indecisive behavior of amoeba crossing an environmental barrier, Proceedings of Int. Symp. on Topological Aspects of Critical Systems and Networks, World Scientific Publishing Co.
 T. Nakagaki, M. Iima, T. Ueda, Y. Nishiura, T. Saigusa, A. Tero, R.
Kobayashi, and K. Showalter, Minimum-Risk Path Finding by an Adaptive Amoebal Network, PRL, 99 (2007),068104.