Coordination on networks with farsighted and myopic agents