Behavioural Plasticity in Autonomous Agents: A Comparison between Two Types of Controller