A function that maps percept sequence to action