Wilkinson power divider: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>ZéroBot
m r2.7.1) (Robot: Adding pl:Dzielnik Wilkinsona
 
en>Swen
m DOI
Line 1: Line 1:
Greetings. Allow me start by telling you the writer's name - Phebe. South Dakota is where I've always been residing. To gather cash is what her family and her enjoy. For years I've been working as a payroll clerk.<br><br>Feel free to surf to my web-site; at home std testing [[http://www.hotporn123.com/blog/150887 simply click the following page]]
In [[combinatorics|combinatorial]] [[mathematics]], the '''Prüfer sequence''' (also '''Prüfer code''' or '''Prüfer numbers''') of a [[labeled tree]] is a unique [[sequence]] associated with the tree.  The sequence for a tree on ''n'' vertices has length ''n''&nbsp;&minus;&nbsp;2, and can be generated by a simple iterative algorithm.  Prüfer sequences were first used by [[Heinz Prüfer]] to prove [[Cayley's formula]] in 1918.<ref>{{cite journal | author=Prüfer, H. | title=Neuer Beweis eines Satzes über Permutationen | journal=Arch. Math. Phys. | year=1918 | volume=27 | pages=742–744}}</ref>
 
==Algorithm to convert a  tree into a Prüfer sequence==
One can generate a labeled tree's Prüfer sequence by iteratively removing vertices from the tree until only two vertices remain.  Specifically, consider a labeled tree ''T'' with vertices {1, 2, ..., ''n''}.  At step ''i'', remove the leaf with the smallest label and set the ''i''th element of the Prüfer sequence to be the label of this leaf's neighbour.
 
The Prüfer sequence of a labeled tree is unique and has length ''n''&nbsp;&minus;&nbsp;2.
 
===Example===
[[File:Tree graph.svg|right|frame|A labeled tree with Prüfer sequence {4,4,4,5}.]]
Consider the above algorithm run on the tree shown to the right. Initially, vertex 1 is the leaf with the smallest label, so it is removed first and 4 is put in the Prüfer sequence.  Vertices 2 and 3 are removed next, so 4 is added twice more.  Vertex 4 is now a leaf and has the smallest label, so it is removed and we append 5 to the sequence.  We are left with only two vertices, so we stop.  The tree's sequence is {4,4,4,5}.
 
==Algorithm to convert a Prüfer sequence into a tree==
 
Let <code>{a[1], a[2], ..., a[n]}</code> be a Prüfer sequence:
 
The tree will have <code>n+2</code> nodes, numbered from <code>1</code> to <code>n+2</code>.
For each node set its degree to the number of times it appears in the sequence plus 1.
For instance, in pseudo-code:
 
  '''Convert-Prüfer-to-Tree'''(''a'')
  1 ''n'' ← ''length''[''a'']
  2 ''T'' ← a graph with ''n'' + 2 isolated nodes, numbered 1 '''to''' ''n'' + 2
  3 ''degree'' ← an array of integers
  4 '''for''' each node ''i'' in ''T''
  5    '''do''' ''degree''[''i''] ← 1
  6 '''for''' each value ''i'' in ''a''
  7    '''do''' ''degree''[''i''] ← ''degree''[''i''] + 1
 
Next, for each number in the sequence <code>a[i]</code>, find the first (lowest-numbered) node, <code>j</code>, with degree equal to 1, add the edge <code>(j, a[i])</code> to the tree, and decrement the degrees of <code>j</code> and <code>a[i]</code>. In pseudo-code:
 
  8 '''for''' each value ''i'' in ''a''
  9    '''for''' each node ''j'' in ''T''
10          '''if''' ''degree''[''j''] = 1
11            '''then''' Insert ''edge''[''i'', ''j''] into ''T''
12                  ''degree''[''i''] ← ''degree''[''i''] - 1
13                  ''degree''[''j''] ← ''degree''[''j''] - 1
14                  '''break'''
 
At the end of this loop two nodes with degree 1 will remain (call them <code>u</code>, <code>v</code>). Lastly, add the edge <code>(u,v)</code> to the tree.<ref>{{cite journal | author=Jens Gottlieb, Bryant A. Julstrom, Günther R. Raidl, and Franz Rothlauf. |
title=Prüfer numbers:  A poor representation of spanning trees for evolutionary search |
journal=Proceedings of the Genetic and Evolutionary Computation Conference (GECCO-2001) | year=2001 | pages=343–350 |
url=http://www.ads.tuwien.ac.at/publications/bib/pdf/gottlieb-01.pdf
}}
</ref>
 
14 ''u'' ← ''v'' ← 0
15 '''for''' each node ''i'' in ''T''
16    '''if''' ''degree''[''i''] = 1
17        '''then''' '''if''' ''u'' = 0
18            '''then''' ''u'' ← ''i''
19            '''else''' ''v'' ← ''i''
20                  '''break'''
21 Insert ''edge''[''u'', ''v''] into ''T''
22 ''degree''[''u''] ← ''degree''[''u''] - 1
23 ''degree''[''v''] ← ''degree''[''v''] - 1
24 '''return''' ''T''
 
==Cayley's formula==
 
The Prüfer sequence of a labeled tree on ''n'' vertices is a unique sequence of length ''n''&nbsp;&minus;&nbsp;2 on the labels 1 to ''n'' &mdash; this much is clear. Somewhat less obvious is the fact that for a given sequence ''S'' of length ''n''&ndash;2 on the labels 1 to ''n'', '''there is a ''unique'' labeled tree whose Prüfer sequence is ''S'''''. 
 
The immediate consequence is that Prüfer sequences provide a [[bijection]] between the set of labeled trees on ''n'' vertices and the set of sequences of length ''n''&ndash;2 on the labels 1 to ''n''.  The latter set has size ''n''<sup>''n''&minus;2</sup>, so the existence of this bijection proves [[Cayley's formula]], i.e. that there are
''n''<sup>''n''&minus;2</sup> labeled trees on ''n'' vertices.
 
==Other applications==
* Cayley's formula can be strengthened to prove the following claim:
:The number of spanning trees in a complete graph <math>K_n</math> with degrees <math>d_1, d_2, ..., d_n</math> is equal to the [[multinomial coefficient]]
::<math>\binom{n-2}{d_1-1,\,d_2-1,\,\dots,\,d_n-1}=\frac{(n-2)!}{(d_{1}-1)!(d_{2}-1)!\cdots(d_{n}-1)!}.</math>
:The proof follows by observing that in the Prüfer sequence number <math>i</math> appears exactly <math>(d_{i}-1)</math> times.
 
* Cayley's formula can be generalized:  a labeled tree is in fact a [[spanning tree (mathematics)|spanning tree]] of the labeled [[complete graph]].  By placing restrictions on the enumerated Prüfer sequences, similar methods can give the number of spanning trees of a complete [[bipartite graph]].  If ''G'' is the complete bipartite graph with vertices 1 to ''n''<sub>1</sub> in one partition and vertices ''n''<sub>1</sub>&nbsp;+&nbsp;1 to ''n'' in the other partition, the number of labeled spanning trees of ''G'' is <math>n_{1}^{n_2-1} n_{2}^{n_1-1}</math>, where ''n''<sub>2</sub> = ''n''&nbsp;&minus;&nbsp;''n''<sub>1</sub>.
 
* Generating uniformly distributed random Prüfer sequences and converting them into the corresponding trees is a straightforward method of generating uniformly distributed random labelled trees.
 
==References==
{{reflist}}
 
==External links==
* [http://mathworld.wolfram.com/PrueferCode.html Prüfer code] – from [[MathWorld]]
 
{{DEFAULTSORT:Prufer Sequence}}
[[Category:Enumerative combinatorics]]
[[Category:Trees (graph theory)]]

Revision as of 08:39, 8 May 2013

In combinatorial mathematics, the Prüfer sequence (also Prüfer code or Prüfer numbers) of a labeled tree is a unique sequence associated with the tree. The sequence for a tree on n vertices has length n − 2, and can be generated by a simple iterative algorithm. Prüfer sequences were first used by Heinz Prüfer to prove Cayley's formula in 1918.[1]

Algorithm to convert a tree into a Prüfer sequence

One can generate a labeled tree's Prüfer sequence by iteratively removing vertices from the tree until only two vertices remain. Specifically, consider a labeled tree T with vertices {1, 2, ..., n}. At step i, remove the leaf with the smallest label and set the ith element of the Prüfer sequence to be the label of this leaf's neighbour.

The Prüfer sequence of a labeled tree is unique and has length n − 2.

Example

A labeled tree with Prüfer sequence {4,4,4,5}.

Consider the above algorithm run on the tree shown to the right. Initially, vertex 1 is the leaf with the smallest label, so it is removed first and 4 is put in the Prüfer sequence. Vertices 2 and 3 are removed next, so 4 is added twice more. Vertex 4 is now a leaf and has the smallest label, so it is removed and we append 5 to the sequence. We are left with only two vertices, so we stop. The tree's sequence is {4,4,4,5}.

Algorithm to convert a Prüfer sequence into a tree

Let {a[1], a[2], ..., a[n]} be a Prüfer sequence:

The tree will have n+2 nodes, numbered from 1 to n+2. For each node set its degree to the number of times it appears in the sequence plus 1. For instance, in pseudo-code:

 Convert-Prüfer-to-Tree(a)
 1 n ← length[a]
 2 T ← a graph with n + 2 isolated nodes, numbered 1 to n + 2
 3 degree ← an array of integers
 4 for each node i in T
 5     do degree[i] ← 1
 6 for each value i in a
 7     do degree[i] ← degree[i] + 1

Next, for each number in the sequence a[i], find the first (lowest-numbered) node, j, with degree equal to 1, add the edge (j, a[i]) to the tree, and decrement the degrees of j and a[i]. In pseudo-code:

 8 for each value i in a
 9     for each node j in T
10          if degree[j] = 1
11             then Insert edge[i, j] into T
12                  degree[i] ← degree[i] - 1
13                  degree[j] ← degree[j] - 1
14                  break

At the end of this loop two nodes with degree 1 will remain (call them u, v). Lastly, add the edge (u,v) to the tree.[2]

14 u ← v ← 0
15 for each node i in T
16     if degree[i] = 1
17         then if u = 0
18             then u ← i
19             else v ← i
20                  break
21 Insert edge[u, v] into T
22 degree[u] ← degree[u] - 1
23 degree[v] ← degree[v] - 1
24 return T

Cayley's formula

The Prüfer sequence of a labeled tree on n vertices is a unique sequence of length n − 2 on the labels 1 to n — this much is clear. Somewhat less obvious is the fact that for a given sequence S of length n–2 on the labels 1 to n, there is a unique labeled tree whose Prüfer sequence is S.

The immediate consequence is that Prüfer sequences provide a bijection between the set of labeled trees on n vertices and the set of sequences of length n–2 on the labels 1 to n. The latter set has size nn−2, so the existence of this bijection proves Cayley's formula, i.e. that there are nn−2 labeled trees on n vertices.

Other applications

  • Cayley's formula can be strengthened to prove the following claim:
The number of spanning trees in a complete graph Kn with degrees d1,d2,...,dn is equal to the multinomial coefficient
(n−2d1−1,d2−1,…,dn−1)=(n−2)!(d1−1)!(d2−1)!⋯(dn−1)!.
The proof follows by observing that in the Prüfer sequence number i appears exactly (di−1) times.
  • Cayley's formula can be generalized: a labeled tree is in fact a spanning tree of the labeled complete graph. By placing restrictions on the enumerated Prüfer sequences, similar methods can give the number of spanning trees of a complete bipartite graph. If G is the complete bipartite graph with vertices 1 to n1 in one partition and vertices n1 + 1 to n in the other partition, the number of labeled spanning trees of G is n1n2−1n2n1−1, where n2 = n − n1.
  • Generating uniformly distributed random Prüfer sequences and converting them into the corresponding trees is a straightforward method of generating uniformly distributed random labelled trees.

References

43 year old Petroleum Engineer Harry from Deep River, usually spends time with hobbies and interests like renting movies, property developers in singapore new condominium and vehicle racing. Constantly enjoys going to destinations like Camino Real de Tierra Adentro.

  1. ↑ One of the biggest reasons investing in a Singapore new launch is an effective things is as a result of it is doable to be lent massive quantities of money at very low interest rates that you should utilize to purchase it. Then, if property values continue to go up, then you'll get a really high return on funding (ROI). Simply make sure you purchase one of the higher properties, reminiscent of the ones at Fernvale the Riverbank or any Singapore landed property Get Earnings by means of Renting

    In its statement, the singapore property listing - website link, government claimed that the majority citizens buying their first residence won't be hurt by the new measures. Some concessions can even be prolonged to chose teams of consumers, similar to married couples with a minimum of one Singaporean partner who are purchasing their second property so long as they intend to promote their first residential property. Lower the LTV limit on housing loans granted by monetary establishments regulated by MAS from 70% to 60% for property purchasers who are individuals with a number of outstanding housing loans on the time of the brand new housing purchase. Singapore Property Measures - 30 August 2010 The most popular seek for the number of bedrooms in Singapore is 4, followed by 2 and three. Lush Acres EC @ Sengkang

    Discover out more about real estate funding in the area, together with info on international funding incentives and property possession. Many Singaporeans have been investing in property across the causeway in recent years, attracted by comparatively low prices. However, those who need to exit their investments quickly are likely to face significant challenges when trying to sell their property – and could finally be stuck with a property they can't sell. Career improvement programmes, in-house valuation, auctions and administrative help, venture advertising and marketing, skilled talks and traisning are continuously planned for the sales associates to help them obtain better outcomes for his or her shoppers while at Knight Frank Singapore. No change Present Rules

    Extending the tax exemption would help. The exemption, which may be as a lot as $2 million per family, covers individuals who negotiate a principal reduction on their existing mortgage, sell their house short (i.e., for lower than the excellent loans), or take part in a foreclosure course of. An extension of theexemption would seem like a common-sense means to assist stabilize the housing market, but the political turmoil around the fiscal-cliff negotiations means widespread sense could not win out. Home Minority Chief Nancy Pelosi (D-Calif.) believes that the mortgage relief provision will be on the table during the grand-cut price talks, in response to communications director Nadeam Elshami. Buying or promoting of blue mild bulbs is unlawful.

    A vendor's stamp duty has been launched on industrial property for the primary time, at rates ranging from 5 per cent to 15 per cent. The Authorities might be trying to reassure the market that they aren't in opposition to foreigners and PRs investing in Singapore's property market. They imposed these measures because of extenuating components available in the market." The sale of new dual-key EC models will even be restricted to multi-generational households only. The models have two separate entrances, permitting grandparents, for example, to dwell separately. The vendor's stamp obligation takes effect right this moment and applies to industrial property and plots which might be offered inside three years of the date of buy. JLL named Best Performing Property Brand for second year running

    The data offered is for normal info purposes only and isn't supposed to be personalised investment or monetary advice. Motley Fool Singapore contributor Stanley Lim would not personal shares in any corporations talked about. Singapore private home costs increased by 1.eight% within the fourth quarter of 2012, up from 0.6% within the earlier quarter. Resale prices of government-built HDB residences which are usually bought by Singaporeans, elevated by 2.5%, quarter on quarter, the quickest acquire in five quarters. And industrial property, prices are actually double the levels of three years ago. No withholding tax in the event you sell your property. All your local information regarding vital HDB policies, condominium launches, land growth, commercial property and more

    There are various methods to go about discovering the precise property. Some local newspapers (together with the Straits Instances ) have categorised property sections and many local property brokers have websites. Now there are some specifics to consider when buying a 'new launch' rental. Intended use of the unit Every sale begins with 10 p.c low cost for finish of season sale; changes to 20 % discount storewide; follows by additional reduction of fiftyand ends with last discount of 70 % or extra. Typically there is even a warehouse sale or transferring out sale with huge mark-down of costs for stock clearance. Deborah Regulation from Expat Realtor shares her property market update, plus prime rental residences and houses at the moment available to lease Esparina EC @ Sengkang
  2. ↑ One of the biggest reasons investing in a Singapore new launch is an effective things is as a result of it is doable to be lent massive quantities of money at very low interest rates that you should utilize to purchase it. Then, if property values continue to go up, then you'll get a really high return on funding (ROI). Simply make sure you purchase one of the higher properties, reminiscent of the ones at Fernvale the Riverbank or any Singapore landed property Get Earnings by means of Renting

    In its statement, the singapore property listing - website link, government claimed that the majority citizens buying their first residence won't be hurt by the new measures. Some concessions can even be prolonged to chose teams of consumers, similar to married couples with a minimum of one Singaporean partner who are purchasing their second property so long as they intend to promote their first residential property. Lower the LTV limit on housing loans granted by monetary establishments regulated by MAS from 70% to 60% for property purchasers who are individuals with a number of outstanding housing loans on the time of the brand new housing purchase. Singapore Property Measures - 30 August 2010 The most popular seek for the number of bedrooms in Singapore is 4, followed by 2 and three. Lush Acres EC @ Sengkang

    Discover out more about real estate funding in the area, together with info on international funding incentives and property possession. Many Singaporeans have been investing in property across the causeway in recent years, attracted by comparatively low prices. However, those who need to exit their investments quickly are likely to face significant challenges when trying to sell their property – and could finally be stuck with a property they can't sell. Career improvement programmes, in-house valuation, auctions and administrative help, venture advertising and marketing, skilled talks and traisning are continuously planned for the sales associates to help them obtain better outcomes for his or her shoppers while at Knight Frank Singapore. No change Present Rules

    Extending the tax exemption would help. The exemption, which may be as a lot as $2 million per family, covers individuals who negotiate a principal reduction on their existing mortgage, sell their house short (i.e., for lower than the excellent loans), or take part in a foreclosure course of. An extension of theexemption would seem like a common-sense means to assist stabilize the housing market, but the political turmoil around the fiscal-cliff negotiations means widespread sense could not win out. Home Minority Chief Nancy Pelosi (D-Calif.) believes that the mortgage relief provision will be on the table during the grand-cut price talks, in response to communications director Nadeam Elshami. Buying or promoting of blue mild bulbs is unlawful.

    A vendor's stamp duty has been launched on industrial property for the primary time, at rates ranging from 5 per cent to 15 per cent. The Authorities might be trying to reassure the market that they aren't in opposition to foreigners and PRs investing in Singapore's property market. They imposed these measures because of extenuating components available in the market." The sale of new dual-key EC models will even be restricted to multi-generational households only. The models have two separate entrances, permitting grandparents, for example, to dwell separately. The vendor's stamp obligation takes effect right this moment and applies to industrial property and plots which might be offered inside three years of the date of buy. JLL named Best Performing Property Brand for second year running

    The data offered is for normal info purposes only and isn't supposed to be personalised investment or monetary advice. Motley Fool Singapore contributor Stanley Lim would not personal shares in any corporations talked about. Singapore private home costs increased by 1.eight% within the fourth quarter of 2012, up from 0.6% within the earlier quarter. Resale prices of government-built HDB residences which are usually bought by Singaporeans, elevated by 2.5%, quarter on quarter, the quickest acquire in five quarters. And industrial property, prices are actually double the levels of three years ago. No withholding tax in the event you sell your property. All your local information regarding vital HDB policies, condominium launches, land growth, commercial property and more

    There are various methods to go about discovering the precise property. Some local newspapers (together with the Straits Instances ) have categorised property sections and many local property brokers have websites. Now there are some specifics to consider when buying a 'new launch' rental. Intended use of the unit Every sale begins with 10 p.c low cost for finish of season sale; changes to 20 % discount storewide; follows by additional reduction of fiftyand ends with last discount of 70 % or extra. Typically there is even a warehouse sale or transferring out sale with huge mark-down of costs for stock clearance. Deborah Regulation from Expat Realtor shares her property market update, plus prime rental residences and houses at the moment available to lease Esparina EC @ Sengkang