[go: up one dir, main page]

login
A307085
Number of non-isomorphic directed graphs reachable by n agents using the LNS protocol.
0
1, 2, 4, 15, 97, 1551, 49046
OFFSET
1,2
COMMENTS
Suppose that each of n agents initially knows a single secret. Agent a is allowed to call agent b on the condition that a does not know the secret initially held by b. Each time two agents call each other they share all the secrets they know at the time. The agents can only learn new secrets; they can never forget one.
Imagine the following discrete random process: We randomly select two agents a and b, satisfying the condition that a does not know the initial secret of b, and let them call each other (i.e., we let a learn all the secrets known by b at the time and vice versa). The random process stops when all the agents know all the available secrets. Clearly there are several ways to achieve the situation where every agent knows all the available secrets. During each of these ways several secret distributions are produced. Initially everybody knows only their own secret, after the first call there are two agents who know each other's secret (and of course everybody still knows their own secret), etc.
We can nicely represent the above procedure using secrets graphs. A secrets graph is a directed graph where the nodes are the agents and there is an edge between a and b iff a knows the secret of b. Initially the graph contains only self loops; during the procedure edges are added and finally the secrets graph is complete (i.e., when all the agents know all the available secrets). The random process described above is known as the LNS protocol in the literature (see e.g. the paper "Dynamic Gossip" in the links section) and the secrets graphs reachable by LNS are also called ordered tuples (see the paper "Reachability and Expectation in Gossiping" in the links section).
For up to 4 agents it is relatively easy to verify by hand that our sequence is correct. For 5, 6 and 7 agents we developed a program for generating the reachable graphs modulo isomorphism. Details and definitions for our program can be found in the paper "Reachability and Expectation in Gossiping" in the links section.
If we drop the condition that agent a can call agent b only if a does not know b's initial secret then we get the ANY protocol, i.e., a protocol where every call is possible at any moment (see "Dynamic Gossip"). The sequence of non-isomorphic tuples reachable by ANY is A318154. It is interesting that already with 4 agents a tuple appears that can be reached by ANY but not by LNS (see "Reachability and Expectation in Gossiping"). So the calling condition of LNS strictly shrinks the set of reachable tuples.
LINKS
Hans van Ditmarsch, Jan van Eijck, Pere Pardo, Rahim Ramezanian, François Schwarzentruber, Dynamic Gossip, arXiv:1511.00867 [cs.DM], 2015-2018.
Hans van Ditmarsch, Ioannis Kokkinis, Anders Stockmarr, Reachability and Expectation in Gossiping, PRIMA 2017: 93-109.
Hans van Ditmarsch, Malvin Gattinger, Ioannis Kokkinis, Louwe B. Kuijer, Reachability of Five Gossip Protocols, Reachability Problems, 13th Int'l Conf. (Brussels, Belgium, RP 2019), Lecture Notes in Computer Science (LNCS Vol. 11674), Springer, Cham, 218-232.
EXAMPLE
For n=1 only the 1-node graph with a self loop is reachable.
For n=2 it is clear that we can reach only 2 graphs: the initial with only self loops and the final complete directed graph with 2 vertices.
An example for the graphs generated for up to 4 agents by the LNS protocol can be found in the links section.
PROG
(C) /* In order to generate the above sequence install the program given by the github repository in the links section. */
CROSSREFS
Cf. A318154.
Sequence in context: A182449 A140836 A020134 * A228934 A120490 A003514
KEYWORD
nonn,more
AUTHOR
Ioannis Kokkinis, Mar 23 2019
STATUS
approved