Controllability of multiagent systems based on path and cycle graphs. (30th June 2017)