Pattern Formation in Homogeneous and Heterogeneous Swarms: Differences Between Versatile and Specialized Agents | IEEE Conference Publication | IEEE Xplore