Agreement problems in networks with directed graphs and switching topology | Synapse