Allocating structured tasks in heterogeneous agent teams. (16th November 2018)