Efficient Computation of the Characteristic Polynomial of a Tree and Related Tasks
An O ( n log 2 n ) algorithm is presented to compute all coefficients of the characteristic polynomial of a tree on n vertices improving on the previously best quadratic time. With the same running time, the algorithm can be generalized in two directions. The algorithm is a counting algorithm for ma...
Gespeichert in:
Veröffentlicht in: | Algorithmica 2014-03, Vol.68 (3), p.626-642 |
---|---|
1. Verfasser: | |
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | An
O
(
n
log
2
n
) algorithm is presented to compute all coefficients of the characteristic polynomial of a tree on
n
vertices improving on the previously best quadratic time. With the same running time, the algorithm can be generalized in two directions. The algorithm is a counting algorithm for matchings, and the same ideas can be used to count other objects. For example, one can count the number of independent sets of all possible sizes simultaneously with the same running time. These counting algorithms not only work for trees, but can be extended to arbitrary graphs of bounded tree-width. |
---|---|
ISSN: | 0178-4617 1432-0541 |
DOI: | 10.1007/s00453-012-9688-5 |