Learning reactive and planning rules in a motivationally autonomous animat | IEEE Journals & Magazine | IEEE Xplore