## Abstract

The rotor–router model, also called the Propp machine, was first considered as a deterministic alternative to the random walk. The edges adjacent to each node v (or equivalently, the exit ports at v) are arranged in a fixed cyclic order, which does not change during the exploration. Each node v maintains a port pointer π_{v} which indicates the exit port to be adopted by an agent on the conclusion of the next visit to this node (the “next exit port”). The rotor–router mechanism guarantees that after each consecutive visit at the same node, the pointer at this node is moved to the next port in the cyclic order. It is known that, in an undirected graph G with m edges, the route adopted by an agent controlled by the rotor–router mechanism eventually forms an Euler tour based on arcs obtained via replacing each edge in G by two arcs with opposite direction. The process of ushering the agent to an Euler tour is referred to as the lock-in problem. In Yanovski et al. (Algorithmica 37(3):165–186, 2003), it was proved that, independently of the initial configuration of the rotor–router mechanism in G, the agent locks-in in time bounded by 2 mD, where D is the diameter of G. In this paper we examine the dependence of the lock-in time on the initial configuration of the rotor–router mechanism. Our analysis is performed in the form of a game between a player P intending to lock-in the agent in an Euler tour as quickly as possible and its adversary A with the counter objective. We consider all cases of who decides the initial cyclic orders and the initial values π_{v}. We show, for example, that if A provides its own port numbering after the initial setup of pointers by P, the worst-case complexity of the lock-in problem is Θ(m· min {log m, D}). We also investigate the robustness of the rotor–router graph exploration in presence of faults in the pointers π_{v} or dynamic changes in the graph. We show, for example, that after the exploration establishes an Eulerian cycle, if k edges are added to the graph, then a new Eulerian cycle is established within O(km) steps.

Original language | English (US) |
---|---|

Pages (from-to) | 869-895 |

Number of pages | 27 |

Journal | Algorithmica |

Volume | 78 |

Issue number | 3 |

DOIs | |

State | Published - Jul 1 2017 |

Externally published | Yes |

## Keywords

- Dynamic graphs
- Graph exploration
- Network faults
- Propp machine
- Rotor–router mechanism

## ASJC Scopus subject areas

- Computer Science(all)
- Computer Science Applications
- Applied Mathematics