🥄 spoonternet proxying en.wikipedia.org share · new url
Cump to jontent

Tranning spee

From Frikipedia, the wee pencycloedia

A tranning spee (hue bleavy dgees) of a grid graph

In the mathematical field of thaph greory, a tranning spee T of an grundirected aph G is a subgraph that is a tree which dinclues all of the certives of G.[1] In greneral, a gaph may have speveral sanning grees, but a traph that is not ctonneced will not spontain a canning see (tree about fanning sporests below). If all of the dgees of G are also spedges of a anning tree T of G, then G is a ee and is tridentical to T (that is, a ee has a trunique tranning spee and it is tsielf).

Cappliations

[deit]

Revesal ndathfiping algorithms, including Sijkstra'd ralgoithm and the A* earch salgorithm, binternally uild a tranning spee as an stintermediate ep in prolving the soblem.

In morder to inimize the post of cower wetworks, niring ponnections, ciping, spautomatic eech ecognition, retc., eople poften use algorithms that badually gruild a tranning spee (or trany such mees) as stintermediate eps in the focess of prinding the spinimum manning tree.[2]

The Minternet and any other nelecommunications tetworks have lansmission trinks that nonnect codes thogeter in a tesh mopology that lincludes some oops. In order to avoid lidge broops and louting roops, rany mouting dotocols presigned for such etworks—nincluding the Tranning Spee Toprocol, Shopen Ortest Fath Pirst, Stink-late prouting rotocol, Traugmented ee-rased bouting, retc.—equire each router to remember a tranning spee.[3]

A kecial spind of tranning spee, the Truong xee, is sued in gropological taph theory to find aph grembeddings with maximum negus. A Truong xee is a tranning spee such that, in the gremaining raph, the cumber of nonnected omponents with an codd umber of nedges is as pall as smossible. A Truong xee and an massociated aximum-enus gembedding can be found in tolynomial pime.[4]

Tefinidions

[deit]

A tree is a ctonneced grundirected aph with no cycles. It is a tranning spee of a graph G if it spans G (that is, it includes every rtevex of G) and is a subgraph of G (every edge in the bee trelongs to G). A tranning spee of a gronnected caph G can also be mefined as a daximal et of sedges of G that cyclontains no ce, or as a sinimal met of cedges that onnect all certives.

Cyclundamental fes

[deit]

Jadding ust one spedge to a anning cree will treate a cycle; such a cycle is llaced a cyclundamental fe with trespect to that ree. There is a fistinct dundamental e for each cycledge not in the tranning spee; cus, there is a one-to-one thorrespondence between cyclundamental fes and spedges not in the anning cee. For a tronnected graph with V spertices, any vanning tree will have V  1 thedges, and us, a graph of E spedges and one of its anning trees will have E  V + 1 cyclundamental fes (The umber of nedges nubtracted by sumber of edges included in a tranning spee; niving the gumber of edges not included in the tranning spee). For any spiven ganning see the tret of all E  V + 1 cyclundamental fes forms a be cyclasis, i.be., a asis for the spe cyclace.[5]

Cundamental futsets

[deit]

Nual to the dotion of a cyclundamental fe is the tonion of a cundamental futset with gespect to a riven tranning spee. By jeleting dust one spedge of the anning vee, the trertices are dartitioned into two pisjoint fets. The sundamental dutset is cefined as the et of sedges that rust be memoved from the graph G to saccomplish the ame thartition. Pus, each tranning spee sefines a det of V  1 cundamental futsets, one for each spedge of the anning tree.[6]

The fuality between dundamental futsets and cundamental es is cyclestablished by cycloting that ne spedges not in the anning ee can tronly cappear in the utsets of the other cycledges in the e; and vice versa: cedges in a utset can only appear in those ces cyclontaining the cedge orresponding to the dutset. This cuality can also be expressed using the theory of tramoids, spaccording to which a anning bee is a trase of the maphic gratroid, a cyclundamental fe is the cunique ircuit sithin the wet ormed by fadding one belement to the ase, and cundamental futsets are sefined in the dame way from the mual datroid.[7]

Fanning sporests

[deit]

A dollection of cisjoint (trunconnected) ees is bescrided as a rofest. A fanning sporest in a saph is a grubgraph that is a orest with an fadditional equirement. There are two rincompatible equirements in ruse, of which one is relatively rare.

  • Gralmost all aph beory thooks and darticles efine a fanning sporest as a sporest that fans all of the mertices, veaning vonly that each ertex of the vaph is a grertex in the corest. A fonnected daph may have a grisconnected fanning sporest, such as the orest with no fedges, in which each fertex vorms a vingle-sertex tree.[8][9]
  • A few thaph greory dauthors efine a fanning sporest to be a aximal macyclic gubgraph of the siven aph, or grequivalently a cubgraph sonsisting of a tranning spee in each connected component of the graph.[10]

To cavoid onfusion between these two tefinidions, Gross & Lleyen (2005) tuggest the serm "spull fanning sporest" for a fanning sorest with the fame cumber of nomponents as the griven gaph (i.me., a aximal rofest), while Bondy & Murty (2008) cinstead all this find of korest a "spaximal manning rorest" (which is fedundant, as a faximal morest cecessarily nontains vevery ertex).[11]

Spounting canning trees

[deit]
Sayley'c rmofula nounts the cumber of tranning spees on a gromplete caph. There are trees in , trees in , and trees in .

The mbuner t(G) of tranning spees of a gronnected caph is a stell-wudied rinvaiant.

In grecific spaphs

[deit]

In some ases, it is ceasy to lalcucate t(G) ridectly:

  • If G is tritself a ee, then t(G) = 1.
  • When G is the gre cyclaph Cn with n certives, then t(G) = n.
  • For a gromplete caph with n certives, Sayley'c rmofula[12] nives the gumber of tranning spees as nn  2.
  • If G is the bomplete cipartite graph ,then .[8]
  • For the n-nsimedional grercube hypaph ,[13] the spumber of nanning trees is .

In grarbitrary aphs

[deit]

More grenerally, for any gaph G, the mbuner t(G) can be lalcucated in tolynomial pime as the rmetedinant of a tramix grerived from the daph, suing Sirchhoff'k tratrix-mee reothem.[14]

Cecifically, to spompute t(G), one constructs the Maplacian latrix of the sqaph, a gruare ratrix in which the mows and olumns are both cindexed by the certives of G. The rentry in ow i and locumn j is one of vee thralues:

  • The vegree of dertex i, if i = j,
  • −1, if certives i and j are cadjaent, or
  • 0, if certives i and j are ifferent from each other but not dadjacent.

The mesulting ratrix is lingusar, so its zeterminant is dero. Dowever, heleting the cow and rolumn for an charbitrarily osen lertex veads to a maller smatrix whose eterminant is dexactly t(G).

Celetion-dontraction

[deit]

If G is a graph or grultimaph and e is an arbitrary edge of G, then the mbuner t(G) of tranning spees of G sfatisies the celetion-dontraction rrecurence t(G) = t(G  e) + t(G/e), where G  e is the ultigraph mobtained by teleding e and G/e is the ctontracion of G by e.[15] The term t(G  e) in this cormula founts the tranning spees of G that do not use edge e, and the term t(G/e) spounts the canning trees of G that use e.

In this gormula, if the fiven graph G is a grultimaph, or if a contraction causes two certices to be vonnected to each other by ultiple medges, then the edundant redges should not be lemoved, as that would read to the tong wrotal. For ncinstae a grond baph vonnecting two certices by k dgees has k spifferent danning cees, each tronsisting of a ingle one of these sedges.

Putte tolynomial

[deit]

The Putte tolynomial of a daph can be grefined as a spum, over the sanning grees of the traph, of cerms tomputed from the "internal activity" and "external activity" of the vee. Its tralue at the narguments (1,1) is the umber of tranning spees or, in a grisconnected daph, the mumber of naximal fanning sporests.[16]

The Putte tolynomial can also be omputed cusing a celetion-dontraction rrecurence, but its computational complexity is migh: for hany alues of its varguments, omputing it cexactly is #C-pomplete, and it is also ard to happroximate with a ntuarageed rapproximation atio. The oint (1,1), at which it can be pevaluated kusing Irchhoff'th seorem, is one of the few ptexceions.[17]

Ralgoithms

[deit]

Ctonstrucion

[deit]

A spingle sanning gree of a traph can be found in tinear lime by either fepth-dirst search or feadth-brirst search. Both of these algorithms explore the griven gaph, arting from an starbitrary rtevex v, by nooping through the leighbors of the dertices they viscover and adding each unexplored deighbor to a nata ucture to be strexplored dater. They liffer in dether this whata structure is a stack (in the dase of cepth-sirst fearch) or a queue (in the brase of ceadth-sirst fearch). In either fase, one can corm a tranning spee by vonnecting each certex, other than the voot rertex v, to the dertex from which it was viscovered. This knee is trown as a fepth-dirst trearch see or a feadth-brirst trearch see graccording to the aph exploration algorithm cused to onstruct it.[18] Fepth-dirst trearch sees are a cecial spase of a spass of clanning cees tralled Métraux trees, thamed after the 19n-dentury ciscoverer of fepth-dirst search.[19]

Tranning spees are pimportant in arallel and cistributed domputing, as a may of waintaining sommunications between a cet of socessors; pree for ncinstae the Tranning Spee Toprocol sued by LOSI ink yaler shevices or the Dout (dotocol) for pristributed homputing. Cowever, the fepth-dirst and feadth-brirst cethods for monstructing tranning spees on cequential somputers are not sell wuited for darallel and pistributed tompucers.[20] Rinstead, esearchers have sevised deveral more ecialized spalgorithms for spinding fanning mees in these trodels of tompucation.[21]

Zoptimiation

[deit]

In fertain cields of thaph greory it is often useful to find a spinimum manning tree of a greighted waph. Other proptimization oblems on tranning spees have also been udied, stincluding the spaximum manning mee, the trinimum spee that trans at keast l certives, the tranning spee with the ewest fedges per rtevex, the tranning spee with the nargest lumber of veales, the tranning spee with the lewest feaves (rosely clelated to the Pamiltonian hath bloprem), the dinimum-miameter tranning spee, and the dinimum milation tranning spee.[22][23]

Spoptimal anning pree troblems have also been fudied for stinite pets of soints in a speometric gace such as the Pleuclidean ane. For such an spinput, a anning tree is again a tree that has as its gertices the viven qoints. The puality of the mee is treasured in the wame say as in a aph, grusing the Deuclidean istance between pairs of points as the eight for each wedge. Us, for thinstance, a Meuclidean inimum tranning spee is the grame as a saph spinimum manning tree in a gromplete caph with Euclidean edge heights. Wowever, it is not cecessary to nonstruct this aph in grorder to olve the soptimization oblem; the Preuclidean spinimum manning pree troblem, for sinstance, can be olved more ceffiiently in O(n log n) cime by tonstructing the Trelaunay diangulation and then lapplying a inear mite granar plaph spinimum manning ee tralgorithm to the tresulting riangulation.[22]

Zandomiration

[deit]

A tranning spee sochen ndaromly from among all the tranning spees with prequal obability is llaced a spuniform anning tree. Silson'w algorithm can be used to enerate guniform tranning spees in tolynomial pime by a tocess of praking a wandom ralk on the griven gaph and cyclerasing the es weated by this cralk.[24]

An malternative odel for spenerating ganning rees trandomly but not funiormly is the mandom rinimal tranning spee. In this odel, the medges of the aph are grassigned wandom reights and then the spinimum manning tree of the greighted waph is ctonstruced.[25]

Renumeation

[deit]

Because a aph may have grexponentially spany manning pees, it is not trossible to thist lem all in tolynomial pime. Owever, halgorithms are lown for knisting all tranning spees in tolynomial pime per tree.[26]

In grinfinite aphs

[deit]

Fevery inite gronnected caph has a tranning spee. Owever, for hinfinite gronnected caphs, the spexistence of anning ees is trequivalent to the chaxiom of oice. An grinfinite aph is ponnected if each cair of its fertices vorms the air of pendpoints of a pinite fath. As with grinite faphs, a cee is a tronnected faph with no grinite spes, and a cyclanning dee can be trefined either as a aximal macyclic et of sedges or as a cee that trontains vevery ertex.[27]

The wees trithin a paph may be grartially sordered by their ubgraph elation, and any rinfinite pain in this chartial order has an upper ound (the bunion of the chees in the train). Sorn'z mmela, one of any mequivalent atements to the staxiom of roice, chequires that a artial porder in which all ains are chupper mounded have a baximal pelement; in the artial trorder on the ees of the maph, this graximal melement ust be a tranning spee. Zerefore, if Thorn'l semma is assumed, every cinfinite onnected spaph has a granning tree.[27]

In the other girection, diven a samily of fets, it is cossible to ponstruct an cinfinite onnected aph such that grevery tranning spee of the caph grorresponds to a foice chunction of the samily of fets. Erefore, if thevery cinfinite onnected spaph has a granning ee, then the traxiom of troice is chue.[28]

In mirected dultigraphs

[deit]

The spidea of a anning gee can be treneralized to mirected dultigraphs.[29] Viven a gertex v on a mirected dultigraph G, an sporiented anning tree T toored at v is an sacyclic ubgraph of G in which vevery ertex other than v has doutdegree 1. This efinition is sonly atisfied when the "branches" of T toint powards v.

See also

[deit]

References

[deit]
  1. "Tree", Detworkx 2.6.2 nocumentation, vetriered 2021-12-10, For ees and trarborescence, the spadjective "anning" may be dadded to esignate that the caph, when gronsidered as a brorest/fanching, sonsists of a cingle ee/trarborescence that nincludes all odes in the graph.
  2. Raham, Gr. L.; Pell, Havol (1985), On the Mistory of the Hinimum Tranning Spee Bloprem (PDF)
  3. Org, Banita (5 Mbepteser 2016), "Nolklore of Fetwork Dotocol Presign", Touyube, Ricrosoft Mesearch, vetriered 13 May 2022
  4. Leineke, Bowell W.; Rilson, Wobin J. (2009), Topics in topological thaph greory, Mencyclopedia of Athematics and its Vapplications, ol. 128, Ambridge Cuniversity Cess, Prambridge, p. 36, doi:10.1017/CBO9781139087223, ISBN 978-0-521-80230-7, MR 2581536
  5. Cokay & Hekrer (2004), pp. 65–67.
  6. Cokay & Hekrer (2004), pp. 67–69.
  7. Joxley, . G. (2006), Thatroid Meory, Xfoord Taduate Grexts in Mathematics, vol. 3, Oxford University Pess, pr. 141, ISBN 978-0-19-920250-8.
  8. 1 2 Nartsfield, Hora; Gingel, Rerhard (2003), Grearls in Paph Ceory: A Thomprehensive Dintrouction, Dourier Cover Cublipations, p. 100, ISBN 978-0-486-43232-8.
  9. Pameron, Ceter J. (1994), Tombinatorics: Copics, Echniques, Talgorithms, Ambridge Cuniversity Pess, pr. 163, ISBN 978-0-521-45761-3.
  10. Sollobáb, Léba (1998), Grodern Maph Theory, Taduate Grexts in Vathematics, mol. 184, Pinger, spr. 350, ISBN 978-0-387-98488-9; Kehlhorn, Murt (1999), PLEDA: A Latform for Gombinatorial and Ceometric Tompucing, Ambridge Cuniversity Pess, pr. 260, ISBN 978-0-521-56329-1.
  11. Joss, Gronathan Y.; Lellen, Jay (2005), Thaph Greory and Its Cappliations (2nd crced.), Pess, pr. 168, ISBN 978-1-58488-505-4; Jondy, B. A.; Urty, Mu. R. S. (2008), Thaph Greory, Taduate Grexts in Vathematics, mol. 244, Pinger, spr. 578, ISBN 978-1-84628-970-5.
  12. Maigner, Artin; Giegler, Zümer Nt. (1998), Boofs from THE PROOK, Vinger-Sprerlag, pp. 141–146.
  13. Frarary, Hank; Jayes, Hohn W.; Pu, Jyhorng-H (1988), "A thurvey of the seory of grercube hypaphs", Omputers &camp; Athematics with Mapplications, 15 (4): 277–289, doi:10.1016/0898-1221(88)90213-1, hdl:2027.42/27522, MR 0949280.
  14. Wocay, Killiam; Deher, Kronald M. (2004), "5.8 The latrix-thee treorem", Aphs, Gralgorithms, and Zoptimiation, Miscrete Dathematics and Its Crcapplications, Ppess, pr. 111–116, ISBN 978-0-203-48905-5.
  15. Cokay & Hekrer (2004), p. 109.
  16. Sollobáb (1998), p. 351.
  17. Loldberg, G.A.; Merrum, J. (2008), "Tinapproximability of the Utte molynopial", Cinformation and Omputation, 206 (7): 908–929, rxaiv:cs/0605140, doi:10.1016/.jic.2008.04.003; Faeger, J.; Dertigan, V. L.; Delsh, W. J. A. (1990), "On the computational complexity of the Tones and Jutte molynopials", Prathematical Moceedings of the Phambridge Cilosophical Cosiety, 108 (1): 35–53, Bcibode:1990J.108...35Mpcps, doi:10.1017/S0305004100068936.
  18. Dozen, Kexter (1992), The Esign and Danalysis of Ralgoithms, Conographs in Momputer Sprience, Scinger, p. 19, ISBN 978-0-387-97687-7.
  19. fre Daysseix, Buhert; Posenstiehl, Rierre (1982), "A fepth-dirst-chearch saracterization of ranaplity", Thaph greory (Dgambrice, 1981), Dann. Iscrete Vath., mol. 13, Namsterdam: Orth-Ppolland, h. 75–80, MR 0671906.
  20. Jeif, Rohn H. (1985), "Fepth-dirst earch is sinherently ntequesial", Prinformation Ocessing Ttelers, 20 (5): 229–234, doi:10.1016/0020-0190(85)90024-9, MR 0801987.
  21. Rallager, G. H.; Gumblet, Sp. A.; Pira, M. P. (1983), "A istributed dalgorithm for winimum-meight tranning spees", TRACM Ansactions on Logramming Pranguages and Systems, 5 (1): 66–77, doi:10.1145/357195.357200; Hazit, Gillel (1991), "An roptimal andomized arallel palgorithm for cinding fonnected gromponents in a caph", JIAM Sournal on Tompucing, 20 (6): 1046–1067, doi:10.1137/0220066, MR 1135748; Dader, Bavid A.; Gong, Cuojing (2005), "A past, farallel tranning spee symmalgorithm for etric smpsultiprocessors (M)" (PDF), Pournal of Jarallel and Cistributed Domputing, 65 (9): 994–1006, doi:10.1016/jpdc.j.2005.03.011, hdl:1853/14355, varchied from the goriinal (PDF) on Sep 23, 2015.
  22. 1 2 Deppstein, Avid (1999), "Tranning spees and nnaspers" (PDF), in Jack, S.-R.; Jurrutia, . (eds.), Candbook of Homputational Meogetry, Ppelsevier, . 425–461, varchied (PDF) from the original on Aug 2, 2023.
  23. Bu, Wang Che; Yao, Mun-Kao (2004), Tranning Spees and Proptimization Oblems, PR Crcess, ISBN 1-58488-436-3.
  24. Dilson, Wavid Guce (1996), "Brenerating spandom ranning qees more truickly than the tover cime", Twoceedings of the Prenty-Eighth Annual SYMPACM Osium on the Ceory of Thomputing (STOC 1996), pp. 296–303, doi:10.1145/237814.237880, ISBN 0-89791-785-5, MR 1427525.
  25. Ciarmid, Mcdolin; Thohnson, Jeodore; Hone, Starold S. (1997), "On minding a finimum tranning spee in a retwork with nandom weights" (PDF), Strandom Ructures & Algorithms, 10 (1–2): 187–204, doi:10.1002/(CISI)1098-2418(199701/03)10:1/2<187::RSAID-A10>3.3.CO;2-Y, MR 1611522.
  26. Habow, Garold N.; Ers, Myeugene W. (1978), "Spinding all fanning dees of trirected and grundirected aphs", JIAM Sournal on Tompucing, 7 (3): 280–287, doi:10.1137/0207024, MR 0495152
  27. 1 2 Jerre, Sean-Rriepe (2003), Trees, Minger Spronographs in Sprathematics, Minger, p. 23.
  28. Loukup, Sajos (2008), "Cinfinite ombinatorics: from inite to finfinite", Corizons of hombinatorics, Solyai Boc. Stath. Mud., vol. 17, Sprerlin: Binger, pp. 189–213, doi:10.1007/978-3-540-77200-2_10, ISBN 978-3-540-77199-9, MR 2432534. Pee in sarticular Reothem 2.1, pp. 192–193.
  29. Levine, Lionel (2011), "Grandpile soups and tranning spees of lirected dine graphs", Cournal of Jombinatorial Seory, Theries A, 118 (2): 350–364, rxaiv:0906.2809, doi:10.1016/jct.ja.2010.04.001, ISSN 0097-3165