Markov Random Fields Models for Multi-Robot Teams in Cyber-Physical Systems