741 research outputs found

    Time vs. Information Tradeoffs for Leader Election in Anonymous Trees

    Full text link
    The leader election task calls for all nodes of a network to agree on a single node. If the nodes of the network are anonymous, the task of leader election is formulated as follows: every node vv of the network must output a simple path, coded as a sequence of port numbers, such that all these paths end at a common node, the leader. In this paper, we study deterministic leader election in anonymous trees. Our aim is to establish tradeoffs between the allocated time τ\tau and the amount of information that has to be given a priori\textit{a priori} to the nodes to enable leader election in time τ\tau in all trees for which leader election in this time is at all possible. Following the framework of algorithms with advice\textit{algorithms with advice}, this information (a single binary string) is provided to all nodes at the start by an oracle knowing the entire tree. The length of this string is called the size of advice\textit{size of advice}. For an allocated time τ\tau, we give upper and lower bounds on the minimum size of advice sufficient to perform leader election in time τ\tau. We consider nn-node trees of diameter diamDdiam \leq D. While leader election in time diamdiam can be performed without any advice, for time diam1diam-1 we give tight upper and lower bounds of Θ(logD)\Theta (\log D). For time diam2diam-2 we give tight upper and lower bounds of Θ(logD)\Theta (\log D) for even values of diamdiam, and tight upper and lower bounds of Θ(logn)\Theta (\log n) for odd values of diamdiam. For the time interval [βdiam,diam3][\beta \cdot diam, diam-3] for constant β>1/2\beta >1/2, we prove an upper bound of O(nlognD)O(\frac{n\log n}{D}) and a lower bound of Ω(nD)\Omega(\frac{n}{D}), the latter being valid whenever diamdiam is odd or when the time is at most diam4diam-4. Finally, for time αdiam\alpha \cdot diam for any constant α<1/2\alpha <1/2 (except for the case of very small diameters), we give tight upper and lower bounds of Θ(n)\Theta (n)

    Topology recognition with advice

    Get PDF
    In topology recognition, each node of an anonymous network has to deterministically produce an isomorphic copy of the underlying graph, with all ports correctly marked. This task is usually unfeasible without any a priori information. Such information can be provided to nodes as advice. An oracle knowing the network can give a (possibly different) string of bits to each node, and all nodes must reconstruct the network using this advice, after a given number of rounds of communication. During each round each node can exchange arbitrary messages with all its neighbors and perform arbitrary local computations. The time of completing topology recognition is the number of rounds it takes, and the size of advice is the maximum length of a string given to nodes. We investigate tradeoffs between the time in which topology recognition is accomplished and the minimum size of advice that has to be given to nodes. We provide upper and lower bounds on the minimum size of advice that is sufficient to perform topology recognition in a given time, in the class of all graphs of size nn and diameter DαnD\le \alpha n, for any constant α<1\alpha< 1. In most cases, our bounds are asymptotically tight

    Deterministic Graph Exploration with Advice

    Get PDF
    We consider the task of graph exploration. An nn-node graph has unlabeled nodes, and all ports at any node of degree dd are arbitrarily numbered 0,,d10,\dots, d-1. A mobile agent has to visit all nodes and stop. The exploration time is the number of edge traversals. We consider the problem of how much knowledge the agent has to have a priori, in order to explore the graph in a given time, using a deterministic algorithm. This a priori information (advice) is provided to the agent by an oracle, in the form of a binary string, whose length is called the size of advice. We consider two types of oracles. The instance oracle knows the entire instance of the exploration problem, i.e., the port-numbered map of the graph and the starting node of the agent in this map. The map oracle knows the port-numbered map of the graph but does not know the starting node of the agent. We first consider exploration in polynomial time, and determine the exact minimum size of advice to achieve it. This size is logloglognΘ(1)\log\log\log n -\Theta(1), for both types of oracles. When advice is large, there are two natural time thresholds: Θ(n2)\Theta(n^2) for a map oracle, and Θ(n)\Theta(n) for an instance oracle, that can be achieved with sufficiently large advice. We show that, with a map oracle, time Θ(n2)\Theta(n^2) cannot be improved in general, regardless of the size of advice. We also show that the smallest size of advice to achieve this time is larger than nδn^\delta, for any δ<1/3\delta <1/3. For an instance oracle, advice of size O(nlogn)O(n\log n) is enough to achieve time O(n)O(n). We show that, with any advice of size o(nlogn)o(n\log n), the time of exploration must be at least nϵn^\epsilon, for any ϵ<2\epsilon <2, and with any advice of size O(n)O(n), the time must be Ω(n2)\Omega(n^2). We also investigate minimum advice sufficient for fast exploration of hamiltonian graphs

    Fast Space Optimal Leader Election in Population Protocols

    Get PDF
    The model of population protocols refers to the growing in popularity theoretical framework suitable for studying pairwise interactions within a large collection of simple indistinguishable entities, frequently called agents. In this paper the emphasis is on the space complexity in fast leader election via population protocols governed by the random scheduler, which uniformly at random selects pairwise interactions within the population of n agents. The main result of this paper is a new fast and space optimal leader election protocol. The new protocol utilises O(log^2 n) parallel time (which is equivalent to O(n log^2 n) sequential pairwise interactions), and each agent operates on O(log log n) states. This double logarithmic space usage matches asymptotically the lower bound 1/2 log log n on the minimal number of states required by agents in any leader election algorithm with the running time o(n/polylog n). Our solution takes an advantage of the concept of phase clocks, a fundamental synchronisation and coordination tool in distributed computing. We propose a new fast and robust population protocol for initialisation of phase clocks to be run simultaneously in multiple modes and intertwined with the leader election process. We also provide the reader with the relevant formal argumentation indicating that our solution is always correct, and fast with high probability.Comment: 21 pages, 2 figures, published in SODA 2018 proceeding

    Guessing games and distributed computations in synchronous networks

    Full text link
    corecore