3. Building a Binary Search Tree. 5. Splay Trees: A Self-Adjusting Data Structure
|
|
- Irene Fowler
- 7 years ago
- Views:
Transcription
1 Chptr 10 BINARY TREES 1. Gnrl Binry Trs 2. Binry Srch Trs 3. Builing Binry Srch Tr 4. Hight Blnc: AVL Trs 5. Sply Trs: A Slf-Ajusting Dt Structur Outlin Trnsp. 1, Chptr 10, Binry Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
2 Binry Trs DEFINITION A inry tr is ithr mpty, or it consists of no cll th root togthr with two inry trs cll th lft sutr n th right sutr of th root. Thr is on mpty inry tr, on inry tr with on no, n two with two nos: n Ths r iffrnt from ch othr. W nvr rw ny prt of inry tr to look lik Th inry trs with thr nos r: Binry Trs Trnsp. 2, Sct. 10.1, Introuction to Binry Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
3 Trvrsl of Binry Trs At givn no thr r thr tsks to o in som orr: Visit th no itslf (V); trvrs its lft sutr (L); trvrs its right sutr (R). Thr r six wys to rrng ths tsks: VLR LVR LRV VRL RVL RLV. By stnr convntion, ths r ruc to thr y consiring only th wys in which th lft sutr is trvrs for th right. VLR LVR LRV prorr inorr postorr Ths thr nms r chosn ccoring to th stp t which th givn no is visit. With prorr trvrsl w first visit no, thn trvrs its lft sutr, n thn trvrs its right sutr. With inorr trvrsl w first trvrs th lft sutr, thn visit th no, n thn trvrs its right sutr. With postorr trvrsl w first trvrs th lft sutr, thn trvrs th right sutr, n finlly visit th no. Trvrsl of Binry Trs Trnsp. 3, Sct. 10.1, Introuction to Binry Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
4 Exprssion Trs + log! x n + log x n! or < < c c ( c) ( < ) or (c < ) Exprssion: + log x n! ( c) ( < ) or (c < ) Prorr : + log x! n c or < < c Inorr : + log x n! c < or c < Postorr : + x log n! c < c < or Exprssion Trs Trnsp. 4, Sct. 10.1, Introuction to Binry Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
5 := / c 4 x := ( + ( 2 4 c) 0.5)/(2 ) 2 x Exprssion tr of th qurtic formul Trnsp. 5, Sct. 10.1, Introuction to Binry Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
6 Link Binry Trs Comprison tr: Jim Dot Ron Amy Guy Ky Tim Ann Ev Jn Jon Kim Roy Tom Link implmnttion of inry tr: Jim Dot Ron Amy Guy Ky Tim Ann Ev Jn Jon Kim Roy Tom Link Binry Trs Trnsp. 6, Sct. 10.1, Introuction to Binry Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
7 Link Binry Tr Spcifictions Binry tr clss: tmplt <clss Entry> clss Binry tr { pulic: // A mthos hr. protct: // A uxiliry function prototyps hr. Binry no<entry> *root; ; Binry no clss: tmplt <clss Entry> struct Binry no { // t mmrs: Entry t; Binry no<entry> *lft; Binry no<entry> *right; // constructors: Binry no( ); Binry no(const Entry &x); ; Link Binry Tr Spcifictions Trnsp. 7, Sct. 10.1, Introuction to Binry Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
8 Constructor: tmplt <clss Entry> Binry tr<entry> ::Binry tr( ) /* Post: An mpty inry tr hs n crt. */ { root = NULL; Empty: tmplt <clss Entry> ool Binry tr<entry> ::mpty( ) const /* Post: A rsult of tru is rturn if th inry tr is mpty. Othrwis, fls is rturn. */ { rturn root == NULL; Binry tr mthos Trnsp. 8, Sct. 10.1, Introuction to Binry Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
9 Inorr trvrsl: tmplt <clss Entry> voi Binry tr<entry> ::inorr(voi (*visit)(entry &)) /* Post: Th tr hs n n trvrs in inorr squnc. Uss: Th function rcursiv inorr */ { rcursiv inorr(root, visit); Most Binry tr mthos scri y rcursiv procsss cn implmnt y clling n uxiliry rcursiv function tht pplis to sutrs. tmplt <clss Entry> voi Binry tr<entry> :: rcursiv inorr(binry no<entry> *su root, voi (*visit)(entry &)) /* Pr: su root is ithr NULL or points to sutr of th Binry tr. Post: Th sutr hs n n trvrs in inorr squnc. Uss: Th function rcursiv inorr rcursivly */ { if (su root!= NULL) { rcursiv inorr(su root->lft, visit); (*visit)(su root->t); rcursiv inorr(su root->right, visit); Binry tr mthos Trnsp. 9, Sct. 10.1, Introuction to Binry Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
10 Binry Tr Clss Spcifiction tmplt <clss Entry> clss Binry tr { pulic: Binry tr( ); ool mpty( ) const; voi prorr(voi (*visit)(entry &)); voi inorr(voi (*visit)(entry &)); voi postorr(voi (*visit)(entry &)); int siz( ) const; voi clr( ); int hight( ) const; voi insrt(const Entry &); Binry tr (const Binry tr<entry> &originl); Binry tr & oprtor = (const Binry tr<entry> &originl); Binry tr( ); protct: // A uxiliry function prototyps hr. Binry no<entry> *root; ; Binry Tr Clss Spcifiction Trnsp. 10, Sct. 10.1, Introuction to Binry Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
11 Binry Srch Trs Cn w fin n implmnttion for orr lists in which w cn srch quickly (s with inry srch on contiguous list) n in which w cn mk insrtions n ltions quickly (s with link list)? DEFINITION A inry srch tr is inry tr tht is ithr mpty or in which th t ntry of vry no hs ky n stisfis th conitions: 1. Th ky of th lft chil of no (if it xists) is lss thn th ky of its prnt no. 2. Th ky of th right chil of no (if it xists) is grtr thn th ky of its prnt no. 3. Th lft n right sutrs of th root r gin inry srch trs. W lwys rquir: No two ntris in inry srch tr my hv qul kys. W cn rgr inry srch trs s nw ADT. W my rgr inry srch trs s spciliztion of inry trs. W my stuy inry srch trs s nw implmnttion of th ADT orr list. Binry Srch Trs Trnsp. 11, Sct. 10.2, Binry Srch Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
12 Th Binry Srch Tr Clss Th inry srch tr clss will riv from th inry tr clss; hnc ll inry tr mthos r inhrit. tmplt <clss Rcor> clss Srch tr: pulic Binry tr<rcor> { pulic: Error co insrt(const Rcor &nw t); Error co rmov(const Rcor &ol t); Error co tr srch(rcor &trgt) const; privt: // A uxiliry function prototyps hr. ; Th inhrit mthos inclu th constructors, th structor, clr, mpty, siz, hight, n th trvrsls prorr, inorr, n postorr. A inry srch tr lso mits spciliz mthos cll insrt, rmov, n tr srch. Th clss Rcor hs th hvior outlin in Chptr 7: Ech Rcor is ssocit with Ky. Th kys cn compr with th usul comprison oprtors. By csting rcors to thir corrsponing kys, th comprison oprtors pply to rcors s wll s to kys. Th Binry Srch Tr Clss Trnsp. 12, Sct. 10.2, Binry Srch Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
13 Tr Srch Error co Srch tr<rcor> :: tr srch(rcor &trgt) const; Post: If thr is n ntry in th tr whos ky mtchs tht in trgt, th prmtr trgt is rplc y th corrsponing rcor from th tr n co of succss is rturn. Othrwis co of not prsnt is rturn. This mtho will oftn cll with prmtr trgt tht contins only ky vlu. Th mtho will fill trgt with th complt t longing to ny corrsponing Rcor in th tr. To srch for th trgt, w first compr it with th ntry t th root of th tr. If thir kys mtch, thn w r finish. Othrwis, w go to th lft sutr or right sutr s pproprit n rpt th srch in tht sutr. W progrm this procss y clling n uxiliry rcursiv function. Th procss trmints whn it ithr fins th trgt or hits n mpty sutr. Th uxiliry srch function rturns pointr to th no tht contins th trgt ck to th clling progrm. Sinc it is privt in th clss, this pointr mnipultion will not compromis tr ncpsultion. Binry no<rcor> *Srch tr<rcor> ::srch for no( Binry no<rcor>* su root, const Rcor &trgt) const; Pr: su root is NULL or points to sutr of Srch tr Post: If th ky of trgt is not in th sutr, rsult of NULL is rturn. Othrwis, pointr to th sutr no contining th trgt is rturn. Tr Srch Trnsp. 13, Sct. 10.2, Binry Srch Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
14 Rcursiv uxiliry function: tmplt <clss Rcor> Binry no<rcor> *Srch tr<rcor> ::srch for no( Binry no<rcor>* su root, const Rcor &trgt) const { if (su root == NULL su root->t == trgt) rturn su root; ls if (su root->t < trgt) rturn srch for no(su root->right, trgt); ls rturn srch for no(su root->lft, trgt); Nonrcursiv vrsion: tmplt <clss Rcor> Binry no<rcor> *Srch tr<rcor> ::srch for no( Binry no<rcor> *su root, const Rcor &trgt) const { whil (su root!= NULL && su root->t!= trgt) if (su root->t < trgt) su root = su root->right; ls su root = su root->lft; rturn su root; Auxiliry functions, tr srch Trnsp. 14, Sct. 10.2, Binry Srch Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
15 Pulic mtho for tr srch: tmplt <clss Rcor> Error co Srch tr<rcor> :: tr srch(rcor &trgt) const /* Post: If thr is n ntry in th tr whos ky mtchs tht in trgt, th prmtr trgt is rplc y th corrsponing rcor from th tr n co of succss is rturn. Othrwis co of not prsnt is rturn. Uss: function srch for no */ { Error co rsult = succss; Binry no<rcor> *foun = srch for no(root, trgt); if (foun == NULL) rsult = not prsnt; ls trgt = foun->t; rturn rsult; Tr srch functions Trnsp. 15, Sct. 10.2, Binry Srch Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
16 Binry Srch Trs with th Sm Kys f f c g g () c () g g c f f c c (c) f () g () Binry Srch Trs with th Sm Kys Trnsp. 16, Sct. 10.2, Binry Srch Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
17 Anlysis of Tr Srch Drw th comprison tr for inry srch (on n orr list). Binry srch on th list os xctly th sm comprisons s tr srch will o if it is ppli to th comprison tr. By Sction 7.4, inry srch prforms O(log n) comprisons for list of lngth n. This prformnc is xcllnt in comprison to othr mthos, sinc log n grows vry slowly s n incrss. Th sm kys my uilt into inry srch trs of mny iffrnt shps. If inry srch tr is nrly compltly lnc ( ushy ), thn tr srch on tr with n vrtics will lso o O(log n) comprisons of kys. If th tr gnrts into long chin, thn tr srch coms th sm s squntil srch, oing (n) comprsions on n vrtics. This is th worst cs for tr srch. Th numr of vrtics twn th root n th trgt, inclusiv, is th numr of comprisons tht must on to fin th trgt. Th ushir th tr, th smllr th numr of comprisons tht will usully n to on. It is oftn not possil to prict (in vnc of uiling it) wht shp of inry srch tr will occur. In prctic, if th kys r uilt into inry srch tr in rnom orr, thn it is xtrmly unlikly tht inry srch tr gnrts ly; tr srch usully prforms lmost s wll s inry srch. Anlysis of Tr Srch Trnsp. 17, Sct. 10.2, Binry Srch Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
18 Insrtion into Binry Srch Tr Error co Srch tr<rcor> :: insrt(const Rcor &nw t); Post: If Rcor with ky mtching tht of nw t lry longs to th Srch tr co of uplict rror is rturn. Othrwis, th Rcor nw t is insrt into th tr in such wy tht th proprtis of inry srch tr r prsrv, n co of succss is rturn. () Insrt () Insrt (c) Insrt f f () Insrt f () Insrt f f g g c (f) Insrt g (g) Insrt c Insrtion into Binry Srch Tr Trnsp. 18, Sct. 10.2, Binry Srch Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
19 Mtho for Insrtion tmplt <clss Rcor> Error co Srch tr<rcor> ::insrt(const Rcor &nw t) { rturn srch n insrt(root, nw t); tmplt <clss Rcor> Error co Srch tr<rcor> ::srch n insrt( Binry no<rcor> * &su root, const Rcor &nw t) { if (su root == NULL) { su root = nw Binry no<rcor>(nw t); rturn succss; ls if (nw t < su root->t) rturn srch n insrt(su root->lft, nw t); ls if (nw t > su root->t) rturn srch n insrt(su root->right, nw t); ls rturn uplict rror; Th mtho insrt cn usully insrt nw no into rnom inry srch tr with n nos in O(log n) stps. It is possil, ut xtrmly unlikly, tht rnom tr my gnrt so tht insrtions rquir s mny s n stps. If th kys r insrt in sort orr into n mpty tr, howvr, this gnrt cs will occur. Mtho for Insrtion Trnsp. 19, Sct. 10.2, Binry Srch Trs Prntic-Hll, Inc., Uppr Sl Rivr, N.J
Uses for Binary Trees -- Binary Search Trees
CS122 Algorithms n Dt Struturs MW 11:00 m 12:15 pm, MSEC 101 Instrutor: Xio Qin Ltur 10: Binry Srh Trs n Binry Exprssion Trs Uss or Binry Trs Binry Srh Trs n Us or storing n rtriving inormtion n Insrt,
More informationLast time Interprocedural analysis Dimensions of precision (flow- and context-sensitivity) Flow-Sensitive Pointer Analysis
Flow-Insnsitiv Pointr Anlysis Lst tim Intrprocurl nlysis Dimnsions of prcision (flow- n contxt-snsitivity) Flow-Snsitiv Pointr Anlysis Toy Flow-Insnsitiv Pointr Anlysis CIS 570 Lctur 12 Flow-Insnsitiv
More informationOutline. Binary Tree
Outlin Similrity Srh Th Nikolus Augstn Fr Univrsity of Bozn-Bolzno Fulty of Computr Sin DIS 1 Binry Rprsnttion of Tr Binry Brnhs Lowr Boun for th Eit Distn Unit 10 My 17, 2012 Nikolus Augstn (DIS) Similrity
More informationOracle PL/SQL Programming Advanced
Orl PL/SQL Progrmming Avn In orr to lrn whih qustions hv n nswr orrtly: 1. Print ths pgs. 2. Answr th qustions. 3. Sn this ssssmnt with th nswrs vi:. FAX to (212) 967-3498. Or. Mil th nswrs to th following
More informationChapter 3 Chemical Equations and Stoichiometry
Chptr Chmicl Equtions nd Stoichiomtry Homwork (This is VERY importnt chptr) Chptr 27, 29, 1, 9, 5, 7, 9, 55, 57, 65, 71, 75, 77, 81, 87, 91, 95, 99, 101, 111, 117, 121 1 2 Introduction Up until now w hv
More informationFundamentals of Tensor Analysis
MCEN 503/ASEN 50 Chptr Fundmntls of Tnsor Anlysis Fll, 006 Fundmntls of Tnsor Anlysis Concpts of Sclr, Vctor, nd Tnsor Sclr α Vctor A physicl quntity tht cn compltly dscrid y rl numr. Exmpl: Tmprtur; Mss;
More informationReading. Minimum Spanning Trees. Outline. A File Sharing Problem. A Kevin Bacon Problem. Spanning Trees. Section 9.6
Rin Stion 9.6 Minimum Spnnin Trs Outlin Minimum Spnnin Trs Prim s Alorithm Kruskl s Alorithm Extr:Distriut Shortst-Pth Alorithms A Fil Shrin Prolm Sy unh o usrs wnt to istriut il monst thmslvs. Btwn h
More informationCompactPCI Connectors acc. to PIGMG 2.0 Rev. 3.0
Ctlog E 074486 08/00 Eition ComptPCI Conntors. to PIGMG.0 Rv. 3.0 Gnrl Lt in 999 PCI Inustril Computr Mnufturrs Group (PICMG) introu th nw rvision 3.0 of th ComptPCI Cor Spifition. Vrsion 3.0 of this spifition
More informationDecember Homework- Week 1
Dcmbr Hmwrk- Wk 1 Mth Cmmn Cr Stndrds: K.CC.A.1 - Cunt t 100 by ns nd by tns. K.CC.A.2 - Cunt frwrd bginning frm givn numbr within th knwn squnc (instd f hving t bgin t 1). K.CC.B.4.A - Whn cunting bjcts,
More informationChange Your History How Can Soccer Knowledge Improve Your Business Processes?
Symposium Inuurl Lctur o Hjo Rijrs, VU, 26-6-2015 Chn Your History How Cn Soccr Knowl Improv Your Businss Procsss? Wil vn r Alst TU/ n DSC/ 1970 born Oostrbk 1988-1992 CS TU/ 1992-1994 TS TU/ 1994-1996
More informationQUANTITATIVE METHODS CLASSES WEEK SEVEN
QUANTITATIVE METHODS CLASSES WEEK SEVEN Th rgrssion modls studid in prvious classs assum that th rspons variabl is quantitativ. Oftn, howvr, w wish to study social procsss that lad to two diffrnt outcoms.
More information5.4 Exponential Functions: Differentiation and Integration TOOTLIFTST:
.4 Eponntial Functions: Diffrntiation an Intgration TOOTLIFTST: Eponntial functions ar of th form f ( ) Ab. W will, in this sction, look at a spcific typ of ponntial function whr th bas, b, is.78.... This
More informationImportant result on the first passage time and its integral functional for a certain diffusion process
Lcturs Mtmátics Volumn 22 (21), págins 5 9 Importnt rsult on th first pssg tim nd its intgrl functionl for crtin diffusion procss Yousf AL-Zlzlh nd Bsl M. AL-Eidh Kuwit Univrsity, Kuwit Abstrct. In this
More informationCPS 220 Theory of Computation REGULAR LANGUAGES. Regular expressions
CPS 22 Thory of Computation REGULAR LANGUAGES Rgular xprssions Lik mathmatical xprssion (5+3) * 4. Rgular xprssion ar built using rgular oprations. (By th way, rgular xprssions show up in various languags:
More informationSchedule C. Notice in terms of Rule 5(10) of the Capital Gains Rules, 1993
(Rul 5(10)) Shul C Noti in trms o Rul 5(10) o th Cpitl Gins Ruls, 1993 Sttmnt to sumitt y trnsror o shrs whr thr is trnsr o ontrolling intrst Prt 1 - Dtils o Trnsror Nm Arss ROC No (ompnis only) Inom Tx
More informationAC Circuits Three-Phase Circuits
AC Circuits Thr-Phs Circuits Contnts Wht is Thr-Phs Circuit? Blnc Thr-Phs oltgs Blnc Thr-Phs Connction Powr in Blncd Systm Unblncd Thr-Phs Systms Aliction Rsidntil Wiring Sinusoidl voltg sourcs A siml
More informationThe example is taken from Sect. 1.2 of Vol. 1 of the CPN book.
Rsourc Allocation Abstract This is a small toy xampl which is wll-suitd as a first introduction to Cnts. Th CN modl is dscribd in grat dtail, xplaining th basic concpts of C-nts. Hnc, it can b rad by popl
More informationDistributed Systems Principles and Paradigms. Chapter 11: Distributed File Systems. Distributed File Systems. Example: NFS Architecture
Distriut Systms Prinipls n Prigms Mrtn vn Stn VU mstrm, Dpt. Computr Sin stn@s.vu.nl Chptr 11: Vrsion: Dmr 10, 2012 1 / 14 Gnrl gol Try to mk fil systm trnsprntly vill to rmot lints. 1. Fil mov to lint
More informationHow fast can we sort? Sorting. Decision-tree model. Decision-tree for insertion sort Sort a 1, a 2, a 3. CS 3343 -- Spring 2009
CS 4 -- Spring 2009 Sorting Crol Wenk Slides courtesy of Chrles Leiserson with smll chnges by Crol Wenk CS 4 Anlysis of Algorithms 1 How fst cn we sort? All the sorting lgorithms we hve seen so fr re comprison
More informationApplications: Lifting eyes are screwed or welded on a load or a machine to be used as lifting points.
Liin ys Applicions: Liin ys r scrw or wl on or mchin o us s liin poins. Rn: Vn Bs ors wi rn o liin poins in lloy sl: ix, ricul, pivoin n/or roin. Fix liin poin: Ey nu, yp EL - mric vrsion Ey ol, yp AL
More informationInstruction: Solving Exponential Equations without Logarithms. This lecture uses a four-step process to solve exponential equations:
49 Instuction: Solving Eponntil Equtions without Logithms This lctu uss fou-stp pocss to solv ponntil qutions: Isolt th bs. Wit both sids of th qution s ponntil pssions with lik bss. St th ponnts qul to
More informationMath 135 Circles and Completing the Square Examples
Mth 135 Circles nd Completing the Squre Exmples A perfect squre is number such tht = b 2 for some rel number b. Some exmples of perfect squres re 4 = 2 2, 16 = 4 2, 169 = 13 2. We wish to hve method for
More informationReasoning to Solve Equations and Inequalities
Lesson4 Resoning to Solve Equtions nd Inequlities In erlier work in this unit, you modeled situtions with severl vriles nd equtions. For exmple, suppose you were given usiness plns for concert showing
More informationHigher. Exponentials and Logarithms 160
hsn uknt Highr Mthmtics UNIT UTCME Eponntils nd Logrithms Contnts Eponntils nd Logrithms 6 Eponntils 6 Logrithms 6 Lws of Logrithms 6 Eponntils nd Logrithms to th Bs 65 5 Eponntil nd Logrithmic Equtions
More informationAlgorithmic Aspects of Access Networks Design in B3G/4G Cellular Networks
Algorithmi Aspts o Ass Ntworks Dsign in BG/G Cllulr Ntworks Dvi Amzllg, Josph (Si) Nor,DnnyRz Computr Sin Dprtmnt Thnion, Hi 000, Isrl {mzllg,nny}@s.thnion..il Mirosot Rsrh On Mirosot Wy, Rmon, WA 980
More informationRegular Sets and Expressions
Regulr Sets nd Expressions Finite utomt re importnt in science, mthemtics, nd engineering. Engineers like them ecuse they re super models for circuits (And, since the dvent of VLSI systems sometimes finite
More informationINTERSECTIONS OF LINE SEGMENTS AND POLYGONS
INTERSECTIONS OF LINE SEGMENTS AND POLYGONS PETR FELKEL FEL CTU PRAGUE lkl@l.cvut.cz https://cw.lk.cvut.cz/oku.php/courss/am9vg/start Bas on [Brg], [Mount], [Kukral], an [Drtina] Vrsion rom 19.11.01 Talk
More informationBayesian Updating with Continuous Priors Class 13, 18.05, Spring 2014 Jeremy Orloff and Jonathan Bloom
Byesin Updting with Continuous Priors Clss 3, 8.05, Spring 04 Jeremy Orloff nd Jonthn Bloom Lerning Gols. Understnd prmeterized fmily of distriutions s representing continuous rnge of hypotheses for the
More informationTC Appendix 4E Appropriate Qualification tables. (Unless otherwise indicated all qualifications are valid if awarded by examination only)
TC Appnix 4E Approprit Qulifiction tls (Unlss othrwis inict ll qulifictions r vli if wr y xmintion only) Ky for th qulifiction tls for ctivity numrs 2, 3, 4, 6, 12 n 13 Mts full qulifiction rquirmnt up
More informationLec 2: Gates and Logic
Lec 2: Gtes nd Logic Kvit Bl CS 34, Fll 28 Computer Science Cornell University Announcements Clss newsgroup creted Posted on we-pge Use it for prtner finding First ssignment is to find prtners Due this
More informationVectors 2. 1. Recap of vectors
Vectors 2. Recp of vectors Vectors re directed line segments - they cn be represented in component form or by direction nd mgnitude. We cn use trigonometry nd Pythgors theorem to switch between the forms
More informationExample 27.1 Draw a Venn diagram to show the relationship between counting numbers, whole numbers, integers, and rational numbers.
2 Rtionl Numbers Integers such s 5 were importnt when solving the eqution x+5 = 0. In similr wy, frctions re importnt for solving equtions like 2x = 1. Wht bout equtions like 2x + 1 = 0? Equtions of this
More informationApproximate Subtree Identification in Heterogeneous XML Document Collections
Approximat Sutr Intiiation in Htrognous XML Doumnt Colltions Ismal Sanz 1, Maro Msiti 2, Giovanna Gurrini 3 an Raal Brlanga 1 1 Univrsitat Jaum I, Spain 2 Univrsità gli Stui i Milano, Italy 3 Univrsità
More informationPredicting Current User Intent with Contextual Markov Models
Priting Currnt Usr Intnt with Contxtul Mrkov Mols Juli Kislv, Hong Thnh Lm, Mykol Phnizkiy Dprtmnt of Computr Sin Einhovn Univrsity of Thnology P.O. Box 513, NL-5600MB, th Nthrlns {t.l.hong, j.kislv, m.phnizkiy}@tu.nl
More informationLINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES
LINEAR TRANSFORMATIONS AND THEIR REPRESENTING MATRICES DAVID WEBB CONTENTS Liner trnsformtions 2 The representing mtrix of liner trnsformtion 3 3 An ppliction: reflections in the plne 6 4 The lgebr of
More informationHospitals. Internal Revenue Service Information about Schedule H (Form 990) and its instructions is at www.irs.gov/form990.
SCHEDULE H Hospitls OMB No. 1545-0047 (Form 990) Complt if th orgniztion nswr "Ys" to Form 990, Prt IV, qustion 20. Atth to Form 990. Opn to Puli Dprtmnt of th Trsury Intrnl Rvnu Srvi Informtion out Shul
More informationPhysics 43 Homework Set 9 Chapter 40 Key
Physics 43 Homework Set 9 Chpter 4 Key. The wve function for n electron tht is confined to x nm is. Find the normliztion constnt. b. Wht is the probbility of finding the electron in. nm-wide region t x
More informationHomework 3 Solutions
CS 341: Foundtions of Computer Science II Prof. Mrvin Nkym Homework 3 Solutions 1. Give NFAs with the specified numer of sttes recognizing ech of the following lnguges. In ll cses, the lphet is Σ = {,1}.
More informationUsability Test Checklist
Crtifi Profssionl for Usility n Usr Exprin Usility Tsting (CPUX-UT) Vrsion.0, Jun 0 Pulishr: UXQB. V. Contt: info@uxq.org www.uxq.org Autorn: R. Molih, T. Gis, B. Rumml, O. Klug, K. Polkhn Contnt Lgn...
More informationA.7.1 Trigonometric interpretation of dot product... 324. A.7.2 Geometric interpretation of dot product... 324
A P P E N D I X A Vectors CONTENTS A.1 Scling vector................................................ 321 A.2 Unit or Direction vectors...................................... 321 A.3 Vector ddition.................................................
More informationAVAIL A. Magnum or Banana Cut. Here is the HOTTEST fletching on the market today.
Hr is th HOTTEST fltching on th markt today. Ths Gatway xclusiv Printz fltchings will mak bautiful arrs. Printz ar availabl in Zbra, Tigr, Pacock and Custom styls. Th Custom styl will all you to put your
More informationPolynomial Functions. Polynomial functions in one variable can be written in expanded form as ( )
Polynomil Functions Polynomil functions in one vrible cn be written in expnded form s n n 1 n 2 2 f x = x + x + x + + x + x+ n n 1 n 2 2 1 0 Exmples of polynomils in expnded form re nd 3 8 7 4 = 5 4 +
More information1.00/1.001 Introduction to Computers and Engineering Problem Solving Fall 2011 - Final Exam
1./1.1 Introduction to Computers nd Engineering Problem Solving Fll 211 - Finl Exm Nme: MIT Emil: TA: Section: You hve 3 hours to complete this exm. In ll questions, you should ssume tht ll necessry pckges
More informationIntegration by Substitution
Integrtion by Substitution Dr. Philippe B. Lvl Kennesw Stte University August, 8 Abstrct This hndout contins mteril on very importnt integrtion method clled integrtion by substitution. Substitution is
More informationA Note on Approximating. the Normal Distribution Function
Applid Mathmatical Scincs, Vol, 00, no 9, 45-49 A Not on Approimating th Normal Distribution Function K M Aludaat and M T Alodat Dpartmnt of Statistics Yarmouk Univrsity, Jordan Aludaatkm@hotmailcom and
More informationRevised Conditions (January 2009) LLOYDS BANKING GROUP SHARE ISA CONDITIONS
Rvis Conitions (Jnury 2009) LLOYDS BANKING GROUP SHARE ISA CONDITIONS Contnts 1 Who r th prtis?... 2 Wht o wors n phrss in ol typ mn?... 3 Whn i my pln strt?... 4 How o I invst in my pln?... 5 Who owns
More informationBinary Search Trees. Definition Of Binary Search Tree. The Operation ascend() Example Binary Search Tree
Binary Sar Trs Compxity O Ditionary Oprations t(), put() and rmov() Ditionary Oprations: ƒ t(ky) ƒ put(ky, vau) ƒ rmov(ky) Additiona oprations: ƒ asnd() ƒ t(indx) (indxd inary sar tr) ƒ rmov(indx) (indxd
More informationLecture 3: Diffusion: Fick s first law
Lctur 3: Diffusion: Fick s first law Today s topics What is diffusion? What drivs diffusion to occur? Undrstand why diffusion can surprisingly occur against th concntration gradint? Larn how to dduc th
More informationOne Minute To Learn Programming: Finite Automata
Gret Theoreticl Ides In Computer Science Steven Rudich CS 15-251 Spring 2005 Lecture 9 Fe 8 2005 Crnegie Mellon University One Minute To Lern Progrmming: Finite Automt Let me tech you progrmming lnguge
More informationOperational Procedure: ACNC Data Breach Response Plan
OP 2015/03 Oprtionl Prour: ACNC Dt Brh Rspons Pln This Oprtionl Prour is issu unr th uthority of th Assistnt Commissionr Gnrl Counsl n shoul r togthr with th ACNC Poliy Frmwork, whih sts out th sop, ontxt
More informationSEE PAGE 2 FOR BRUSH MOTOR WIRING SEE PAGE 3 FOR MANUFACTURER SPECIFIC BLDC MOTOR WIRING EXAMPLES A
0V TO 0V SUPPLY +0V TO +0V RS85 ONVRTR 9 TO OM PORT ON P TO P OM PORT US 9600 U 8IT, NO PRITY, STOP, NO FLOW TRL. OPTO SNSOR # +0V TO +0V RS85 RS85 OPTO SNSOR # PHOTO TRNSISTOR OPTO SNSOR # L TO OTHR Z
More informationEcon 371: Answer Key for Problem Set 1 (Chapter 12-13)
con 37: Answr Ky for Problm St (Chaptr 2-3) Instructor: Kanda Naknoi Sptmbr 4, 2005. (2 points) Is it possibl for a country to hav a currnt account dficit at th sam tim and has a surplus in its balanc
More informationDlNBVRGH + Sickness Absence Monitoring Report. Executive of the Council. Purpose of report
DlNBVRGH + + THE CITY OF EDINBURGH COUNCIL Sickness Absence Monitoring Report Executive of the Council 8fh My 4 I.I...3 Purpose of report This report quntifies the mount of working time lost s result of
More informationTaiwan Stock Forecasting with the Genetic Programming
Procings of th 2011 Confrnc on Tchnologis an Applications of Artificial Intllignc (TAAI 2011) Taiwan Stock Forcasting with th Gntic Programming Siao-Ming Jhou, Chang-Biau Yang an Hung-Hsin Chn Dpartmnt
More informationLink-Disjoint Paths for Reliable QoS Routing
Link-Disjoint Pths or Rlil QoS Routing Yuhun Guo, Frnno Kuiprs n Pit Vn Mighm # Shool o Eltril n Inormtion Enginring, Northrn Jiotong Univrsity, Bijing, 000, P.R. Chin Fulty o Inormtion Thnology n Systms,
More informationNetwork Analyzer Error Models and Calibration Methods
Ntwork Anlyzr Error Modls nd Clirtion Mthods y Doug Rytting Pg This ppr is n ovrviw of rror modls nd clirtion mthods for vctor ntwork nlyzrs. Prsnttion Outlin Ntwork Anlyzr Block Digrm nd Error Modl ystm
More informationBinary Search Trees. Definition Of Binary Search Tree. Complexity Of Dictionary Operations get(), put() and remove()
Binary Sar Trs Compxity O Ditionary Oprations t(), put() and rmov() Ditionary Oprations: ƒ t(ky) ƒ put(ky, vau) ƒ rmov(ky) Additiona oprations: ƒ asnd() ƒ t(indx) (indxd inary sar tr) ƒ rmov(indx) (indxd
More informationBack left Back right Front left Front right. Blue Shield of California. Subscriber JOHN DOE. a b c d
Smpl ID r n sription o trms Bk lt Bk right Front lt Front right Provirs: Pls il ll lims with your lol BluCross BluShil lins in whos srvi r th mmr riv srvis or, whn Mir is primry, il ll Mir lims with Mir.
More information1.2 The Integers and Rational Numbers
.2. THE INTEGERS AND RATIONAL NUMBERS.2 The Integers n Rtionl Numers The elements of the set of integers: consist of three types of numers: Z {..., 5, 4, 3, 2,, 0,, 2, 3, 4, 5,...} I. The (positive) nturl
More informationDATABASDESIGN FÖR INGENJÖRER - 1056F
DATABASDESIGN FÖR INGENJÖRER - 06F Sommr 00 En introuktionskurs i tssystem http://user.it.uu.se/~ul/t-sommr0/ lt. http://www.it.uu.se/eu/course/homepge/esign/st0/ Kjell Orsorn (Rusln Fomkin) Uppsl Dtse
More informationTreatment Spring Late Summer Fall 0.10 5.56 3.85 0.61 6.97 3.01 1.91 3.01 2.13 2.99 5.33 2.50 1.06 3.53 6.10 Mean = 1.33 Mean = 4.88 Mean = 3.
The nlysis of vrince (ANOVA) Although the t-test is one of the most commonly used sttisticl hypothesis tests, it hs limittions. The mjor limittion is tht the t-test cn be used to compre the mens of only
More informationFactorials! Stirling s formula
Author s not: This articl may us idas you havn t larnd yt, and might sm ovrly complicatd. It is not. Undrstanding Stirling s formula is not for th faint of hart, and rquirs concntrating on a sustaind mathmatical
More informationUse Geometry Expressions to create a more complex locus of points. Find evidence for equivalence using Geometry Expressions.
Lerning Objectives Loci nd Conics Lesson 3: The Ellipse Level: Preclculus Time required: 120 minutes In this lesson, students will generlize their knowledge of the circle to the ellipse. The prmetric nd
More informationExample A rectangular box without lid is to be made from a square cardboard of sides 18 cm by cutting equal squares from each corner and then folding
1 Exmple A rectngulr box without lid is to be mde from squre crdbord of sides 18 cm by cutting equl squres from ech corner nd then folding up the sides. 1 Exmple A rectngulr box without lid is to be mde
More informationMathematics. Mathematics 3. hsn.uk.net. Higher HSN23000
hsn uknt Highr Mathmatics UNIT Mathmatics HSN000 This documnt was producd spcially for th HSNuknt wbsit, and w rquir that any copis or drivativ works attribut th work to Highr Still Nots For mor dtails
More informationREVIEW ON COMPARATIVE STUDY OF SOFTWARE PROCESS MODEL
REVIEW ON COMPARATIVE STUDY OF SOFTWARE PROCESS MODEL Asmita 1, Kamlsh 2, Usha 3 1, 2, 3 Computr Scinc & Enginring Dpartmnt, M.D.U, (Inia) ABSTRACT This papr prsnts th stuy of various softwar procss mols..
More informationC H A P T E R 1 Writing Reports with SAS
C H A P T E R 1 Writing Rports with SAS Prsnting information in a way that s undrstood by th audinc is fundamntally important to anyon s job. Onc you collct your data and undrstand its structur, you nd
More informationImproved PKC Provably Secure against Chosen Cipher text Attack
Intrntonl Journl on Computtonl Scncs & Applctons (IJCSA) Vo3, No, Frury 203 Improv PKC Provly Scur gnst Chosn Cphr txt Attck Sushm Prhn Brnr Kumr Shrm 2 School of Stus n Mthmtcs, Pt Rv Shnkr Shukl Unvrsty,
More informationIncomplete 2-Port Vector Network Analyzer Calibration Methods
Incomplt -Port Vctor Ntwork nalyzr Calibration Mthods. Hnz, N. Tmpon, G. Monastrios, H. ilva 4 RF Mtrology Laboratory Instituto Nacional d Tcnología Industrial (INTI) Bunos irs, rgntina ahnz@inti.gov.ar
More informationBinary Representation of Numbers Autar Kaw
Binry Representtion of Numbers Autr Kw After reding this chpter, you should be ble to: 1. convert bse- rel number to its binry representtion,. convert binry number to n equivlent bse- number. In everydy
More informationAutomated Specification-based Testing of Interactive Components with AsmL
1 utomtd Spcifiction-sd Tsting of Intrctiv Componnts with sml n C R Piv João C P Fri nd Rul F M Vidl strct It is prsntd promising pproch to tst intrctiv componnts supporting th utomtic gnrtion of tst css
More information4.11 Inner Product Spaces
314 CHAPTER 4 Vector Spces 9. A mtrix of the form 0 0 b c 0 d 0 0 e 0 f g 0 h 0 cnnot be invertible. 10. A mtrix of the form bc d e f ghi such tht e bd = 0 cnnot be invertible. 4.11 Inner Product Spces
More informationGraph Theoretical Analysis and Design of Multistage Interconnection Networks
637 I TRNSTIONS ON OMPUTRS, VOL. -32, NO. 7, JULY 1983 [39].. svnt,.. jski, n. J. Kuck, "utomtic sign wit pnnc grps," in Proc. 17t s. utomt. on, I omput. Soc. TMSI, 1980, pp. 506-515. [40] M.. Mcrln, "
More informationExperiment 6: Friction
Experiment 6: Friction In previous lbs we studied Newton s lws in n idel setting, tht is, one where friction nd ir resistnce were ignored. However, from our everydy experience with motion, we know tht
More information5 2 index. e e. Prime numbers. Prime factors and factor trees. Powers. worked example 10. base. power
Prim numbrs W giv spcial nams to numbrs dpnding on how many factors thy hav. A prim numbr has xactly two factors: itslf and 1. A composit numbr has mor than two factors. 1 is a spcial numbr nithr prim
More informationStandard Conditions for Street Traders The Royal Borough of Kensington and Chelsea. Revised standard conditions for street trading
Stnr Conitions or Strt Trrs Th Royl Borough o Knsington n Chls Rvis stnr onitions or strt tring Th Royl Borough o Knsington n Chls strt tring linss stnr onitions 2006 1 Dinitions Th ollowing xprssions
More informationand thus, they are similar. If k = 3 then the Jordan form of both matrices is
Homework ssignment 11 Section 7. pp. 249-25 Exercise 1. Let N 1 nd N 2 be nilpotent mtrices over the field F. Prove tht N 1 nd N 2 re similr if nd only if they hve the sme miniml polynomil. Solution: If
More informationEnhancing Downlink Performance in Wireless Networks by Simultaneous Multiple Packet Transmission
Enhning Downlink Prormn in Wirlss Ntworks y Simultnous Multipl Pkt Trnsmission Zhngho Zhng n Yunyun Yng Dprtmnt o Eltril n Computr Enginring, Stt Univrsity o Nw York, Stony Brook, NY 11794, USA Astrt In
More information9 CONTINUOUS DISTRIBUTIONS
9 CONTINUOUS DISTIBUTIONS A rndom vrible whose vlue my fll nywhere in rnge of vlues is continuous rndom vrible nd will be ssocited with some continuous distribution. Continuous distributions re to discrete
More informationVersion 1.0. General Certificate of Education (A-level) January 2012. Mathematics MPC3. (Specification 6360) Pure Core 3. Final.
Vrsion.0 Gnral Crtificat of Education (A-lvl) January 0 Mathmatics MPC (Spcification 660) Pur Cor Final Mark Schm Mark schms ar prpard by th Principal Eaminr and considrd, togthr with th rlvant qustions,
More informationMAXIMAL CHAINS IN THE TURING DEGREES
MAXIMAL CHAINS IN THE TURING DEGREES C. T. CHONG AND LIANG YU Abstract. W study th problm of xistnc of maximal chains in th Turing dgrs. W show that:. ZF + DC+ Thr xists no maximal chain in th Turing dgrs
More informationSEE PAGE 2 FOR BRUSH MOTOR WIRING SEE PAGE 3 FOR MANUFACTURER SPECIFIC BLDC MOTOR WIRING EXAMPLES
V TO 0V SUPPLY TO P OM PORT GROUN +0V TO +0V RS85 ONVRTR 9 TO OM PORT ON P US 9600 U 8IT, NO PRITY, STOP, NO FLOW TRL. NOT: INSTLL SHORTING JUMPR ON FOR V-5V OPRTION. JUMPR MUST RMOV FOR VOLTGS >5V TO
More informationby John Donald, Lecturer, School of Accounting, Economics and Finance, Deakin University, Australia
Studnt Nots Cost Volum Profit Analysis by John Donald, Lcturr, School of Accounting, Economics and Financ, Dakin Univrsity, Australia As mntiond in th last st of Studnt Nots, th ability to catgoris costs
More informationIncrEase: A Tool for Incremental Planning of Rural Fixed Broadband Wireless Access Networks
InrEs: A Tool or Inrmntl Plnning o Rurl Fix Bron Wirlss Ass Ntworks Giomo Brnri n Mhsh K. Mrin Shool o Inormtis Th Univrsity o Einurgh, UK Frnso Tlmon n Dmitry Rykovnov EOLO L NGI SpA, Miln, Itly Astrt
More informationAuthenticated Encryption. Jeremy, Paul, Ken, and Mike
uthntcatd Encrypton Jrmy Paul Kn and M Objctvs Examn thr mthods of authntcatd ncrypton and dtrmn th bst soluton consdrng prformanc and scurty Basc Componnts Mssag uthntcaton Cod + Symmtrc Encrypton Both
More informationGraphs on Logarithmic and Semilogarithmic Paper
0CH_PHClter_TMSETE_ 3//00 :3 PM Pge Grphs on Logrithmic nd Semilogrithmic Pper OBJECTIVES When ou hve completed this chpter, ou should be ble to: Mke grphs on logrithmic nd semilogrithmic pper. Grph empiricl
More informationDiagram Editing with Hypergraph Parser Support
Copyright 1997 IEEE. Pulish in th Proings o VL 97, Sptmr 23-26, 1997 in Cpri, Itly. Prsonl us o this mtril is prmitt. Howvr, prmission to rprint/rpulish this mtril or vrtising or promotionl purposs or
More informationRIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS
RIGHT TRIANGLES AND THE PYTHAGOREAN TRIPLETS Known for over 500 yers is the fct tht the sum of the squres of the legs of right tringle equls the squre of the hypotenuse. Tht is +b c. A simple proof is
More informationElectric power can be transmitted or dis
64 64 Principls of Powr Systm CHAPTER CHAPTER Unrgroun Cabls. Unrgroun Cabls. Construction of Cabls.3 Insulating Matrials for Cabls.4 Classification of Cabls.5 Cabls for 3-Phas Srvic.6 Laying of Unrgroun
More informationAlgebra Review. How well do you remember your algebra?
Algebr Review How well do you remember your lgebr? 1 The Order of Opertions Wht do we men when we write + 4? If we multiply we get 6 nd dding 4 gives 10. But, if we dd + 4 = 7 first, then multiply by then
More informationTransistor is a semiconductor device with fast respond and accuracy. There are two types
Tranitor Amplifir Prpard y: Poa Xuan Yap Thory: Tranitor i a miondutor dvi with fat rpond and auray. Thr ar two typ of tranitor, a Bipolar Juntion Tranitor and a Fild Efft Tranitor. Hr, w will looking
More informationPROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY
MAT 0630 INTERNET RESOURCES, REVIEW OF CONCEPTS AND COMMON MISTAKES PROF. BOYAN KOSTADINOV NEW YORK CITY COLLEGE OF TECHNOLOGY, CUNY Contents 1. ACT Compss Prctice Tests 1 2. Common Mistkes 2 3. Distributive
More informationFree ACA SOLUTION (IRS 1094&1095 Reporting)
Fr ACA SOLUTION (IRS 1094&1095 Rporting) Th Insuranc Exchang (301) 279-1062 ACA Srvics Transmit IRS Form 1094 -C for mployrs Print & mail IRS Form 1095-C to mploys HR Assist 360 will gnrat th 1095 s for
More informationUnit 29: Inference for Two-Way Tables
Unit 29: Inference for Two-Wy Tbles Prerequisites Unit 13, Two-Wy Tbles is prerequisite for this unit. In ddition, students need some bckground in significnce tests, which ws introduced in Unit 25. Additionl
More informationNetwork Decoupling for Secure Communications in Wireless Sensor Networks
Ntwork Doupling for Sur Communitions in Wirlss Snsor Ntworks Wnjun Gu, Xiol Bi, Srirm Chllppn n Dong Xun Dprtmnt of Computr Sin n Enginring Th Ohio-Stt Univrsity, Columus, Ohio 43210 1277 Emil: gu, ixi,
More informationOne Ring to Rule them All: Service Discovery and Binding in Structured Peer-to-Peer Overlay Networks
On Ring to Rul thm All: Srvi Disovry n Bining in Strutur Pr-to-Pr Ovrly Ntworks Migul Cstro Mirosot Rsrh, J J Thomson Clos, Cmrig, CB 0FB, UK. mstro@mirosot.om Ptr Drushl Ri Univrsity, 100 Min Strt, MS-1,
More informationQuality and Pricing for Outsourcing Service: Optimal Contract Design
Qulity nd Pricing for Outsourcing Srvic: Optiml Contrct Dsign Smr K. Mukhopdhyy Univrsity of Wisconsin-Milwuk Co-uthor: Xiowi Zhu, Wst Chstr Univrsity of PA Third nnul confrnc, POMS Collg of Srvic Oprtions
More informationDistributions. (corresponding to the cumulative distribution function for the discrete case).
Distributions Recll tht n integrble function f : R [,] such tht R f()d = is clled probbility density function (pdf). The distribution function for the pdf is given by F() = (corresponding to the cumultive
More informationFive-Layer Density Column
Five-Layer ensity olumn density column consists of layers of liquids of different densities which do not mix with each other, and which are clearly distinguishable from each other. The highest density
More information