## Abstract

In a number of networking problems, one needs to find multiple paths between a source-destination node pair or multiple trees spanning all (or some of) the nodes of the network. Accordingly, a number of algorithms for generating (i) k shortest paths between a specified source-destination node pair, (ii) k Spanning trees, (iii) k Steiner trees, etc. are used in networking literature. However, any network G = (V, E) will have a specific number of Spanning Trees. Suppose that for a given network this number is p. In case if one attempts to create k Spanning Trees where k > p, the effort will end up in failure, as k Spanning trees do not exist for the network. Thus, before embarking of creating k Spanning trees, one needs to make sure that k < p. In case of Spanning trees, it is easy to verify that k < p, as Cayley's formula provides the number of labeled Spanning Trees of a complete graph. However, if one wants to generate multiple trees spanning only a specified subset of nodes, Cayley's formula will not be helpful, as in this case one needs to create Steiner trees by connecting the specified subset of nodes. The goal of this paper is to find a counterpart of Cayley's formula for the Steiner trees. To the best of our knowledge, no such formula is known for the number of Steiner Trees in a complete graph with n nodes and p terminal nodes. In this paper, we first provide a formula for the number of Steiner Trees of a complete graph, when p = 2 and p = 3. For p ≥ 4 we provide two algorithms, of which the first one computes the number of Steiner Trees, and the second one generates all the Steiner Trees of a complete graph with n nodes and p terminal nodes. The complexity of the first algorithm is O(np) and the second algorithm generates a Steiner Tree every O(n) unit of delay. It may be noted that the second algorithm can be used for any graphs, not only for the complete graphs.

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

Title of host publication | 2020 16th International Conference on the Design of Reliable Communication Networks, DRCN 2020 |

Publisher | Institute of Electrical and Electronics Engineers Inc. |

ISBN (Electronic) | 9781728163000 |

DOIs | |

State | Published - Mar 2020 |

Event | 16th International Conference on the Design of Reliable Communication Networks, DRCN 2020 - Milano, Italy Duration: Mar 25 2020 → Mar 27 2020 |

### Publication series

Name | 2020 16th International Conference on the Design of Reliable Communication Networks, DRCN 2020 |
---|

### Conference

Conference | 16th International Conference on the Design of Reliable Communication Networks, DRCN 2020 |
---|---|

Country | Italy |

City | Milano |

Period | 3/25/20 → 3/27/20 |

## ASJC Scopus subject areas

- Computer Networks and Communications
- Hardware and Architecture
- Safety, Risk, Reliability and Quality