A Coevolutionary Approach to Learn Animal Behavior through Controlled Interaction