Bayesian Networks: Directed Markov Properties (Cont d) and Markov Equivalent DAGs
|
|
- Jonathan Phillips
- 6 years ago
- Views:
Transcription
1 Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGs Huizhen Yu jney.yu@s.helsinki.fi Dept. Computer Siene, Univ. of Helsinki Proilisti Moels, Spring, 2010 Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
2 Outline Direte Mrkov Properties n Mrkov Equivlent DAGs Other Direte Mrkov Properties n Equivlene DAG, Unirete Grphs, n Deomposle Grphs Mrkov Equivlene of DAGs Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
3 Other Direte Mrkov Properties n Equivlene Outline Direte Mrkov Properties n Mrkov Equivlent DAGs Other Direte Mrkov Properties n Equivlene DAG, Unirete Grphs, n Deomposle Grphs Mrkov Equivlene of DAGs Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
4 Other Direte Mrkov Properties n Equivlene For DAG G = (V, E), G m : the morl grph. Nottion G A : the sugrph inue y suset A of verties. p(α): the set of prents of α. h(α): the set of hilren of α. n(α): the set of nestors of α. e(α): the set of esennts of α. An nestrl set: set A suh tht p(v) A, v A. An(A): the miniml nestrl set ontining A; An(A) = A α A n(α). A well-orering: (α, β) E numer(α) < numer(β). pr(β): the set of preeessors of β, i.e., pr(β) = α numer(α) < numer(β). l(v): the Mrkov lnket of v, equl to ne(v), the set of neighors of v in G m ; i.e., l(v) = ne(v) = p(v) h(v) {w h(w) h(v) }. Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
5 Other Direte Mrkov Properties n Equivlene Min Results from Lst Leture For istriution P tht ftorizes reursively oring to DAG G, P ftorizes oring to the morl grph G m ; the mrginl istriution P A (X A ) ftorizes reursively oring to G An(A), from whih we otin the glol irete Mrkov property (DG): for ny isjoint susets A, B, S, A B S in `G An(A B S) m X A X B X S. We hve lso shown The -Seprtion onept; (DG) is equivlent to the -seprtion se Mrkov property. Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
6 Other Direte Mrkov Properties n Equivlene Lol Direte Mrkov Property Denote n(v) the set of non-esennts of v in G, i.e., n(v) = V \ (e(v) {v}). Consier v, its prents p(v), n its non-esennts n(v). Beuse An`{v} p(v) n(v) is the miniml nestrl set ontining these verties, h(v) An`{v} p(v) n(v) =. Eges in the morl grph `G An({v} p(v) n(v)) m re either from G An({v} p(v) n(v)) or from mrriges. The two fts ove imply tht v is not onnete iretly to n(v) \ p(v) in `G An({v} p(v) n(v)) m. So y (DG), X v X n(v) X p(v). (1) The property in (1) is lle the lol irete Mrkov property (DL). The isussion ove shows lso (DG) (DL). Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
7 Other Direte Mrkov Properties n Equivlene Illustrtion of (DL) Exmple Stu-Frm: L Ann Brin Ceily K p`dorothy = {Ann, Brin} e`dorothy = {Henry, John} Fre Dorothy Eri Gwenn Given the genotypes of Ann n Brin, Dorothy s genotype is inepenent of the genotype of ll the other noes in the grph elow. Henry John Irene L Ann Brin Ceily K Fre Dorothy Eri Gwenn Irene Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
8 Other Direte Mrkov Properties n Equivlene Equivlene etween Direte Mrkov Properties Rell tht for n unirete grph, (F) (G) (L) (P). By ontrst, for DAG, the Mrkov properties re ll equivlent: (DF) (DG) (DL) (DO), where these properties re s efine erlier: (DF) P ftorizes reursively oring to G, i.e., p(x) = Y p`x v x p(v). (DG) P oeys the glol irete Mrkov property with respet to G, i.e., A B S in `G An(A B S) m X A X B X S. (DL) P oeys the lol irete Mrkov property with respet to G, i.e., v V X v X n(v) X p(v). (DO) P oeys the orere irete Mrkov property with respet to G, i.e., with respet to ny well-orering, X v X pr(v) X p(v). We verifie (DF) (DG) (DL) n (DO) (DF). It is lso strightforwr to show (DL) (DO) (exerise). Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
9 Other Direte Mrkov Properties n Equivlene Exmples from Erlier Letures Revisite In Le. 2, we verifie the following sttements using equtions. We n now verify them using only grphs. If (X 1,..., X n) is Mrkov hin, then (X n1, X n2,..., X nk ) is lso Mrkov hin, where 1 < n 1 <... < n k n: (X n,..., X 1) is lso Mrkov hin: 1 2 n 1 n 2 n k-1 n k 1 2 n-1 n 1 2 n 1 n 2 n k-1 n k 1 2 n-1 n X j X j (X j 1, X j+1 ), where X j enotes the olletion of ll the vriles ut X j : 1 2 j-1 j j+1 n 1 2 j-1 j j+1 n In n HMM, the oservtion vriles Y 1,..., Y n re generlly fully epenent: Y1 Y2 Yn-1 Yn Y1 Y2 Y n-1 Yn Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
10 DAG, Unirete Grphs, n Deomposle Grphs Outline Direte Mrkov Properties n Mrkov Equivlent DAGs Other Direte Mrkov Properties n Equivlene DAG, Unirete Grphs, n Deomposle Grphs Mrkov Equivlene of DAGs Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
11 DAG, Unirete Grphs, n Deomposle Grphs Some Oservtions Rell tht if P ftorizes oring to G m, P oes not neessrily ftorize reursively oring to G: p(x) = Y φ C (x C ) p(x) = Y p`x v x p(v). C C(G m ) v V Exmple: G α β α G m β P(X α, X β, X γ) with p(x) = exp{x αx γ + x β x γ} ftorizes oring to G m, ut γ γ p(x) p(x α)p(x β )p(x γ x α, x β ) euse X α X β. Conversely, unirete grphs n lso represent onitionl inepenene reltions tht nnot e represente y DAGs: e.g., {} {} {, } {} {} {, } Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
12 DAG, Unirete Grphs, n Deomposle Grphs Some Oservtions But for hins n more generlly, roote trees, the irete n unirete version seems to e equivlent: ftoriztion w.r.t. one implies ftoriztion w.r.t. the other. 1 2 n-1 n 1 2 n-1 n Y1 Y2 Yn-1 Yn Y1 Y2 Y n-1 Yn e e f f Are there other types of grphs for whih this is true? Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
13 DAG, Unirete Grphs, n Deomposle Grphs Deomposle Grphs: Definition A triple (A, B, C) of isjoint susets of the vertex set V of n unirete grph G is si to eompose G, if V = A B C, n the following two onitions hol: 1. C seprtes A from B; 2. C is omplete suset of V. If oth A n B re non-empty, we sy tht the eomposition is proper. We sy tht n unirete grph G is eomposle if either: (i) it is omplete, or (ii) it possesses proper eomposition (A, B, C) suh tht oth sugrphs G A C n G B C re eomposle. Note tht this efinition is reursive. Exmples: hins, trees, n e f Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
14 DAG, Unirete Grphs, n Deomposle Grphs Deomposle Grphs: Ftoriztion of Distriutions Proposition 1: Assume tht (A, B, S) eomposes n unirete grph G = (V, E). Then istriution P ftorizes oring to G if n only if oth P A S n P B S ftorize oring to G A S n G B S respetively n P stisfies p(x) = p A S(x A S ) p B S (x B S ). p S (x S ) Implition: If the grph is eomposle, then the mrginl istriutions P A S n P B S mit further ftoriztion in the ove form, n P ftorizes reursively in terms of these mrginls. Exmple: For Mrkov hin X = (X 1,..., X n), P(X ) n e expresse s p(x) = p(x1, x2)p(x2, x3) p(xn 1, xn). p(x 2)p(x 3) p(x n 1) Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
15 DAG, Unirete Grphs, n Deomposle Grphs Proof of Proposition 1 Let C(G) enote the set of liques of G. Suppose P ftorizes oring to G, i.e.,, p(x) = Y φ C (x C ), for some funtions φ C. C C(G) Sine (A, B, S) eomposes G, ll the liques tht re not susets of A S must e susets of B S, so tht p(x) = Y C C(G A S ) φ C (x C ) Y C C(G B S ) φ C (x C ) = h(x A S ) k(x B S ), for some funtions h, k. It follows then p(x A S ) = X h(x A S ) k(x B S ) = h(x A S ) k(x S ), x B where k(x S ) = X k(x B S ); x B p(x B S ) = X x A h(x A S ) k(x B S ) = h(x S ) k(x B S ), where h(x S ) = X x A h(x A S ); So p(x S ) = X x A X p A S (x A S ) p B S (x B S ) p S (x S ) The onverse is evient. x B h(x A S ) k(x B S ) = h(x S ) k(x S ). = h(x A S ) k(x S ) h(x S ) k(x B S ) h(x S ) k(x S ) = h(x A S ) k(x B S ) = p(x). Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
16 DAG, Unirete Grphs, n Deomposle Grphs Deomposle Grphs: Direte or Unirete? Definition: A DAG G = (V, E) is si to e perfet if for ll v V, p(v) is omplete suset of G, in other wors, if its unirete version G = G m. Note: G of perfet DAG is eomposle. (How to see this?) Proposition 2: Let G e perfet DAG n G its unirete version. Then istriution P is irete Mrkov with respet to G if n only if it ftorizes oring to G. Implition: Proilisti Inepenenes/epenenes Deomposle Moels DAG Moels Unirete Moels Chin Grph Moels Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
17 DAG, Unirete Grphs, n Deomposle Grphs Proof of Proposition 2 Proof: Sine G = G m, if P ftorizes reursively oring to G, then it ftorizes oring to G. Conversely, if P ftorizes oring to G, we show P reursively ftorizes oring to G y inution on the numer of verties V. For V = 1, the onlusion hols trivilly. For V > 1, onsier terminl vertex α. Then, (V \ ({α} p(α)), {α}, p(α)) eomposes D. So y Proposition 1, P n e expresse s p(x) = p(x V \{α}) p(x α, x p(α) ) p(x p(α) ) = p(x V \{α} )p(x α x p(α) ), (2) n P V \{α} ftorizes oring to GV \{α}. By inution, P V \{α} ftorizes reursively oring to G V \{α} : p(x V \{α} ) = Y p(x v x p(v) ). v V \{α} Together with Eq. (2) this shows tht P ftorizes reursively oring to G. Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
18 Mrkov Equivlene of DAGs Outline Direte Mrkov Properties n Mrkov Equivlent DAGs Other Direte Mrkov Properties n Equivlene DAG, Unirete Grphs, n Deomposle Grphs Mrkov Equivlene of DAGs Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
19 Mrkov Equivlene of DAGs Mrkov Equivlene of DAGs Terminologies for DAG G: Skeleton of G: G, the unirete version of G. A omplex (lso lle n immorlity): sugrph of G inue y three verties (α, γ, β), of the form shown on the right. I.e., the two prents α, β re not joine in G. α γ β Definition: We sy tht two DAG G n e G re Mrkov equivlent if they represent the sme onitionl inepenene reltions. Theorem: Two DAG G n e G re Mrkov equivlent if n only if they hve the sme skeleton n the sme omplexes. This theorem hs importnt implition for utomti moel seletion: Sine (DG) (DF), the set of istriutions ssoite with G is the sme s tht ssoite with ny DAG Mrkov equivlent to G. When eges o not hve usl interprettions, it woul e in vin to try to istinguish etween equivlent moels, n we nee to ompre equivlent lsses of DAGs inste. (The representtive grph of n equivlent lss is hin grph, interestingly.) Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
20 Mrkov Equivlene of DAGs Exmples of Mrkov Equivlent DAGs An equivlent lss onsisting of three DAGs n their representtive (from Anersson et l. 1997): Wht hppene to the other 5 possiilities? Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
21 Mrkov Equivlene of DAGs Proof of the Mrkov Equivlene Theorem for DAG Proof of suffiieny: if G n G e hve the sme skeleton n the sme omplexes, then they hve the sme morl grphs for ll sugrphs inue y the sme set of verties. This mens tht for ny isjoint susets A, B, S of verties, A B S in `G An(A B S) m A B S in `e GAn(A B S) m. So G n e G represent the sme onitionl inepenene reltions. Proof of neessity: we rgue this y using ounterexmples. Sme skeleton: suppose there is n ege etween α n β in e G ut not in G. Then α, β is non-jent in `G An({α,β}) m, so α β An({α, β}) \ {α, β}. Assume x { 1, 1} V. Let p(x) exp{x αx β }. Then P ftorizes oring to e G, ut X α n X β re not inepenent given X An({α,β})\{α,β}, ontrition. Sme omplexes: suppose there is omplex inue y (α, γ, β) in G, ut in eg, the onnetion etween them is ifferent. Agin, α, β is non-jent in `GAn({α,β}) m, so α β An({α, β}) \ {α, β}. Assume x { 1, 1} V. Let p(x) exp{x αx γ + x β x γ}. Then P ftorizes oring to e G, ut X α n X β re not inepenent without X γ given, ontrition. Note: This theorem is shown y Verm n Perl (1991) n inepenently y Fryenerg (1990) (for hin grphs). In the ove we followe the ltter proof, whih uses (DG) inste of -seprtion. Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
22 Mrkov Equivlene of DAGs Further Reings For irete Mrkov properties n eomposle grphs: 1. Roert G. Cowell et l. Proilisti Networks n Expert Systems, Springer, Chp. 5.2, 5.3. Huizhen Yu (U.H.) Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGsFe / 22
10.2 Graph Terminology and Special Types of Graphs
10.2 Grph Terminology n Speil Types of Grphs Definition 1. Two verties u n v in n unirete grph G re lle jent (or neighors) in G iff u n v re enpoints of n ege e of G. Suh n ege e is lle inient with the
More informationChapter 4 Fuzzy Graph and Relation
Chpter 4 Fuzzy Grph nd Reltion Grph nd Fuzzy Grph! Grph n G = (V, E) n V : Set of verties(node or element) n E : Set of edges An edge is pir (x, y) of verties in V.! Fuzzy Grph ~ n ( ~ G = V, E) n V :
More informationSection 2.3 Functions. Definition: Let A and B be sets. A function (mapping, map) f from A to B, denoted f :A B, is a subset of A B such that
Setion 2.3 Funtions Definition: Let n e sets. funtion (mpping, mp) f from to, enote f :, is suset of suh tht x[x y[y < x, y > f ]] n [< x, y 1 > f < x, y 2 > f ] y 1 = y 2 Note: f ssoites with eh x in
More informationV = set of vertices (vertex / node) E = set of edges (v, w) (v, w in V)
Definitions G = (V, E) V = set of verties (vertex / noe) E = set of eges (v, w) (v, w in V) (v, w) orere => irete grph (igrph) (v, w) non-orere => unirete grph igrph: w is jent to v if there is n ege from
More informationLecture 8: Graph-theoretic problems (again)
COMP36111: Advned Algorithms I Leture 8: Grph-theoreti prolems (gin) In Prtt-Hrtmnn Room KB2.38: emil: iprtt@s.mn..uk 2017 18 Reding for this leture: Sipser: Chpter 7. A grph is pir G = (V, E), where V
More informationCOMMON FRACTIONS. or a / b = a b. , a is called the numerator, and b is called the denominator.
COMMON FRACTIONS BASIC DEFINITIONS * A frtion is n inite ivision. or / * In the frtion is lle the numertor n is lle the enomintor. * The whole is seprte into "" equl prts n we re onsiering "" of those
More informationChapter 9. Greedy Technique. Copyright 2007 Pearson Addison-Wesley. All rights reserved.
Chpter 9 Greey Tehnique Copyright 2007 Person Aison-Wesley. All rights reserve. Greey Tehnique Construts solution to n optimiztion prolem piee y piee through sequene of hoies tht re: fesile lolly optiml
More informationOutline. CS38 Introduction to Algorithms. Graphs. Graphs. Graphs. Graph traversals
Outline CS38 Introution to Algorithms Leture 2 April 3, 2014 grph trversls (BFS, DFS) onnetivity topologil sort strongly onnete omponents heps n hepsort greey lgorithms April 3, 2014 CS38 Leture 2 2 Grphs
More informationMITSUBISHI ELECTRIC RESEARCH LABORATORIES Cambridge, Massachusetts. Introduction to Matroids and Applications. Srikumar Ramalingam
Cmrige, Msshusetts Introution to Mtrois n Applitions Srikumr Rmlingm MERL mm//yy Liner Alger (,0,0) (0,,0) Liner inepenene in vetors: v, v2,..., For ll non-trivil we hve s v s v n s, s2,..., s n 2v2...
More informationIf you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs.
Lecture 5 Wlks, Trils, Pths nd Connectedness Reding: Some of the mteril in this lecture comes from Section 1.2 of Dieter Jungnickel (2008), Grphs, Networks nd Algorithms, 3rd edition, which is ville online
More informationLecture 13: Graphs I: Breadth First Search
Leture 13 Grphs I: BFS 6.006 Fll 2011 Leture 13: Grphs I: Bredth First Serh Leture Overview Applitions of Grph Serh Grph Representtions Bredth-First Serh Rell: Grph G = (V, E) V = set of verties (ritrry
More informationLecture 12 : Topological Spaces
Leture 12 : Topologil Spes 1 Topologil Spes Topology generlizes notion of distne nd loseness et. Definition 1.1. A topology on set X is olletion T of susets of X hving the following properties. 1. nd X
More informationGreedy Algorithm. Algorithm Fall Semester
Greey Algorithm Algorithm 0 Fll Semester Optimiztion prolems An optimiztion prolem is one in whih you wnt to fin, not just solution, ut the est solution A greey lgorithm sometimes works well for optimiztion
More informationCS 241 Week 4 Tutorial Solutions
CS 4 Week 4 Tutoril Solutions Writing n Assemler, Prt & Regulr Lnguges Prt Winter 8 Assemling instrutions utomtilly. slt $d, $s, $t. Solution: $d, $s, nd $t ll fit in -it signed integers sine they re 5-it
More informationFEEDBACK: The standard error of a regression is not an unbiased estimator for the standard deviation of the error in a multiple regression model.
Introutory Eonometris: A Moern Approh 6th Eition Woolrige Test Bnk Solutions Complete ownlo: https://testbnkre.om/ownlo/introutory-eonometris-moern-pproh-6th-eition-jeffreym-woolrige-test-bnk/ Solutions
More informationDistance vector protocol
istne vetor protool Irene Finohi finohi@i.unirom.it Routing Routing protool Gol: etermine goo pth (sequene of routers) thru network from soure to Grph strtion for routing lgorithms: grph noes re routers
More informationAdjacency. Adjacency Two vertices u and v are adjacent if there is an edge connecting them. This is sometimes written as u v.
Terminology Adjeny Adjeny Two verties u nd v re djent if there is n edge onneting them. This is sometimes written s u v. v v is djent to nd ut not to. 2 / 27 Neighourhood Neighourhood The open neighourhood
More information12/9/14. CS151 Fall 20124Lecture (almost there) 12/6. Graphs. Seven Bridges of Königsberg. Leonard Euler
CS5 Fll 04Leture (lmost there) /6 Seven Bridges of Königserg Grphs Prof. Tny Berger-Wolf Leonrd Euler 707-783 Is it possile to wlk with route tht rosses eh ridge e Seven Bridges of Königserg Forget unimportnt
More informationIntroduction to Algebra
INTRODUCTORY ALGEBRA Mini-Leture 1.1 Introdution to Alger Evlute lgeri expressions y sustitution. Trnslte phrses to lgeri expressions. 1. Evlute the expressions when =, =, nd = 6. ) d) 5 10. Trnslte eh
More informationGraph theory Route problems
Bhelors thesis Grph theory Route prolems Author: Aolphe Nikwigize Dte: 986 - -5 Sujet: Mthemtis Level: First level (Bhelor) Course oe: MAE Astrt In this thesis we will review some route prolems whih re
More informationTight triangulations: a link between combinatorics and topology
Tight tringultions: link between ombintoris nd topology Jonthn Spreer Melbourne, August 15, 2016 Topologil mnifolds (Geometri) Topology is study of mnifolds (surfes) up to ontinuous deformtion Complited
More informationLesson 4.4. Euler Circuits and Paths. Explore This
Lesson 4.4 Euler Ciruits nd Pths Now tht you re fmilir with some of the onepts of grphs nd the wy grphs onvey onnetions nd reltionships, it s time to egin exploring how they n e used to model mny different
More informationXML and Databases. Outline. XPath. Outline - Lectures. XPath Data Model. Outline - Assignments. XPath. Sebastian Maneth NICTA and UNSW
Outline XML n Dtses Leture 6 Noe Seleting Queries: XPth 1.0 1. XPth Dt Moel: 7 types of noes 2. Simple Exmples 3. Lotion Steps n Pths 4. Vlue Comprison, n Other Funtions Sestin Mneth NICTA n UNSW CSE@UNSW
More information3D convex hulls. Convex Hull in 3D. convex polyhedron. convex polyhedron. The problem: Given a set P of points in 3D, compute their convex hull
Convex Hull in The rolem: Given set P of oints in, omute their onvex hull onvex hulls Comuttionl Geometry [si 3250] Lur Tom Bowoin College onvex olyheron 1 2 3 olygon olyheron onvex olyheron 4 5 6 Polyheron
More informationMa/CS 6b Class 1: Graph Recap
M/CS 6 Clss 1: Grph Recp By Adm Sheffer Course Detils Adm Sheffer. Office hour: Tuesdys 4pm. dmsh@cltech.edu TA: Victor Kstkin. Office hour: Tuesdys 7pm. 1:00 Mondy, Wednesdy, nd Fridy. http://www.mth.cltech.edu/~2014-15/2term/m006/
More informationA Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards
A Tutology Checker loosely relted to Stålmrck s Algorithm y Mrtin Richrds mr@cl.cm.c.uk http://www.cl.cm.c.uk/users/mr/ University Computer Lortory New Museum Site Pemroke Street Cmridge, CB2 3QG Mrtin
More informationDuality in linear interval equations
Aville online t http://ijim.sriu..ir Int. J. Industril Mthemtis Vol. 1, No. 1 (2009) 41-45 Dulity in liner intervl equtions M. Movhedin, S. Slhshour, S. Hji Ghsemi, S. Khezerloo, M. Khezerloo, S. M. Khorsny
More informationMa/CS 6b Class 1: Graph Recap
M/CS 6 Clss 1: Grph Recp By Adm Sheffer Course Detils Instructor: Adm Sheffer. TA: Cosmin Pohot. 1pm Mondys, Wednesdys, nd Fridys. http://mth.cltech.edu/~2015-16/2term/m006/ Min ook: Introduction to Grph
More informationClass Overview. Database Design. Database Design Process. Database Design. Introduction to Data Management CSE 414
Introution to Dt Mngement CSE 44 Unit 6: Coneptul Design E/R Digrms Integrity Constrints BCNF Introution to Dt Mngement CSE 44 E/R Digrms ( letures) CSE 44 Autumn 08 Clss Overview Dtse Design Unit : Intro
More informationContainers: Queue and List
Continers: Queue n List Queue A ontiner in whih insertion is one t one en (the til) n eletion is one t the other en (the he). Also lle FIFO (First-In, First-Out) Jori Cortell n Jori Petit Deprtment of
More information1.5 Extrema and the Mean Value Theorem
.5 Extrem nd the Men Vlue Theorem.5. Mximum nd Minimum Vlues Definition.5. (Glol Mximum). Let f : D! R e function with domin D. Then f hs n glol mximum vlue t point c, iff(c) f(x) for ll x D. The vlue
More informationLecture 7: Integration Techniques
Lecture 7: Integrtion Techniques Antiderivtives nd Indefinite Integrls. In differentil clculus, we were interested in the derivtive of given rel-vlued function, whether it ws lgeric, eponentil or logrithmic.
More informationGraph Contraction and Connectivity
Chpter 14 Grph Contrtion n Connetivity So fr we hve mostly overe tehniques for solving problems on grphs tht were evelope in the ontext of sequentil lgorithms. Some of them re esy to prllelize while others
More informationMTH 146 Conics Supplement
105- Review of Conics MTH 146 Conics Supplement In this section we review conics If ou ne more detils thn re present in the notes, r through section 105 of the ook Definition: A prol is the set of points
More informationPremaster Course Algorithms 1 Chapter 6: Shortest Paths. Christian Scheideler SS 2018
Premster Course Algorithms Chpter 6: Shortest Pths Christin Scheieler SS 8 Bsic Grph Algorithms Overview: Shortest pths in DAGs Dijkstr s lgorithm Bellmn-For lgorithm Johnson s metho SS 8 Chpter 6 Shortest
More informationCOMP108 Algorithmic Foundations
Grph Theory Prudene Wong http://www.s.liv..uk/~pwong/tehing/omp108/201617 How to Mesure 4L? 3L 5L 3L ontiner & 5L ontiner (without mrk) infinite supply of wter You n pour wter from one ontiner to nother
More informationMATH 25 CLASS 5 NOTES, SEP
MATH 25 CLASS 5 NOTES, SEP 30 2011 Contents 1. A brief diversion: reltively prime numbers 1 2. Lest common multiples 3 3. Finding ll solutions to x + by = c 4 Quick links to definitions/theorems Euclid
More informationFinal Exam Review F 06 M 236 Be sure to look over all of your tests, as well as over the activities you did in the activity book
inl xm Review 06 M 236 e sure to loo over ll of your tests, s well s over the tivities you did in the tivity oo 1 1. ind the mesures of the numered ngles nd justify your wor. Line j is prllel to line.
More information2 Computing all Intersections of a Set of Segments Line Segment Intersection
15-451/651: Design & Anlysis of Algorithms Novemer 14, 2016 Lecture #21 Sweep-Line nd Segment Intersection lst chnged: Novemer 8, 2017 1 Preliminries The sweep-line prdigm is very powerful lgorithmic design
More informationCooperative Routing in Multi-Source Multi-Destination Multi-hop Wireless Networks
oopertive Routing in Multi-Soure Multi-estintion Multi-hop Wireless Networks Jin Zhng Qin Zhng eprtment of omputer Siene n ngineering Hong Kong University of Siene n Tehnology, HongKong {zjzj, qinzh}@se.ust.hk
More informationCS311H: Discrete Mathematics. Graph Theory IV. A Non-planar Graph. Regions of a Planar Graph. Euler s Formula. Instructor: Işıl Dillig
CS311H: Discrete Mthemtics Grph Theory IV Instructor: Işıl Dillig Instructor: Işıl Dillig, CS311H: Discrete Mthemtics Grph Theory IV 1/25 A Non-plnr Grph Regions of Plnr Grph The plnr representtion of
More informationThe Fundamental Theorem of Calculus
MATH 6 The Fundmentl Theorem of Clculus The Fundmentl Theorem of Clculus (FTC) gives method of finding the signed re etween the grph of f nd the x-xis on the intervl [, ]. The theorem is: FTC: If f is
More informationCOMP 423 lecture 11 Jan. 28, 2008
COMP 423 lecture 11 Jn. 28, 2008 Up to now, we hve looked t how some symols in n lphet occur more frequently thn others nd how we cn sve its y using code such tht the codewords for more frequently occuring
More information1.1. Interval Notation and Set Notation Essential Question When is it convenient to use set-builder notation to represent a set of numbers?
1.1 TEXAS ESSENTIAL KNOWLEDGE AND SKILLS Prepring for 2A.6.K, 2A.7.I Intervl Nottion nd Set Nottion Essentil Question When is it convenient to use set-uilder nottion to represent set of numers? A collection
More informationCSc 453 Compilers and Systems Software. 6 : Top-Down Parsing I
C 45 Compilers n ystems oftwre 6 : op-down Prsing I Christin Collberg Deprtment of Computer iene University of rizon ollberg@gmil.om Copyright 2009 Christin Collberg eptember 14, 2009 1 Overview 2 Compiler
More information10.5 Graphing Quadratic Functions
0.5 Grphing Qudrtic Functions Now tht we cn solve qudrtic equtions, we wnt to lern how to grph the function ssocited with the qudrtic eqution. We cll this the qudrtic function. Grphs of Qudrtic Functions
More informationCan Pythagoras Swim?
Overview Ativity ID: 8939 Mth Conepts Mterils Students will investigte reltionships etween sides of right tringles to understnd the Pythgoren theorem nd then use it to solve prolems. Students will simplify
More informationCS553 Lecture Introduction to Data-flow Analysis 1
! Ide Introdution to Dt-flow nlysis!lst Time! Implementing Mrk nd Sweep GC!Tody! Control flow grphs! Liveness nlysis! Register llotion CS553 Leture Introdution to Dt-flow Anlysis 1 Dt-flow Anlysis! Dt-flow
More informationGraphing Conic Sections
Grphing Conic Sections Definition of Circle Set of ll points in plne tht re n equl distnce, clled the rdius, from fixed point in tht plne, clled the center. Grphing Circle (x h) 2 + (y k) 2 = r 2 where
More informationIntroduction. Example
OMS0 Introution isjoint sets n minimum spnning trees In this leture we will strt by isussing t struture use for mintining isjoint subsets of some bigger set. This hs number of pplitions, inluing to mintining
More informationTOPIC 10 THREE DIMENSIONAL GEOMETRY
TOPIC THREE DIMENSIONAL GEOMETRY SCHEMATIC DIAGRAM Topi Conept Degree of importne Three Dimensionl Geometr (i Diretion Rtios n Diretion Cosines (iicrtesin n Vetor eqution of line in spe & onversion of
More informationCS 340, Fall 2016 Sep 29th Exam 1 Note: in all questions, the special symbol ɛ (epsilon) is used to indicate the empty string.
CS 340, Fll 2016 Sep 29th Exm 1 Nme: Note: in ll questions, the speil symol ɛ (epsilon) is used to indite the empty string. Question 1. [10 points] Speify regulr expression tht genertes the lnguge over
More information6.045J/18.400J: Automata, Computability and Complexity. Quiz 2: Solutions. Please write your name in the upper corner of each page.
6045J/18400J: Automt, Computbility nd Complexity Mrh 30, 2005 Quiz 2: Solutions Prof Nny Lynh Vinod Vikuntnthn Plese write your nme in the upper orner of eh pge Problem Sore 1 2 3 4 5 6 Totl Q2-1 Problem
More informationCalculus Differentiation
//007 Clulus Differentition Jeffrey Seguritn person in rowot miles from the nerest point on strit shoreline wishes to reh house 6 miles frther down the shore. The person n row t rte of mi/hr nd wlk t rte
More informationA dual of the rectangle-segmentation problem for binary matrices
A dul of the rectngle-segmenttion prolem for inry mtrices Thoms Klinowski Astrct We consider the prolem to decompose inry mtrix into smll numer of inry mtrices whose -entries form rectngle. We show tht
More informationPartitioning for Parallelization Using Graph Parsing
Prtitioning for Prlleliztion Using Grph Prsing C. L. MCrery Deprtment of Computer Siene n Engineering Auurn University, Al 36849 e-mil: mrery@eng.uurn.eu (205) 844-6307 List of Figures Figure 3.1 Figure
More informationDistributed Systems Principles and Paradigms. Chapter 11: Distributed File Systems
Distriuted Systems Priniples nd Prdigms Mrten vn Steen VU Amsterdm, Dept. Computer Siene steen@s.vu.nl Chpter 11: Distriuted File Systems Version: Deemer 10, 2012 2 / 14 Distriuted File Systems Distriuted
More informationWORKSHOP 19 GLOBAL/LOCAL MODELING USING FEM FIELDS
WORKSHOP 19 GLOBAL/LOCAL MODELING USING FEM FIELDS WS19-1 WS19-2 Prolem Desription This exerise is use to emonstrte how to mp isplement results from the nlysis of glol(overll) moel onto the perimeter of
More informationPROBLEM OF APOLLONIUS
PROBLEM OF APOLLONIUS In the Jnury 010 issue of Amerin Sientist D. Mkenzie isusses the Apollonin Gsket whih involves fining the rius of the lrgest irle whih just fits into the spe etween three tngent irles
More informationTries. Yufei Tao KAIST. April 9, Y. Tao, April 9, 2013 Tries
Tries Yufei To KAIST April 9, 2013 Y. To, April 9, 2013 Tries In this lecture, we will discuss the following exct mtching prolem on strings. Prolem Let S e set of strings, ech of which hs unique integer
More informationJournal of Combinatorial Theory, Series A
Journl of Comintoril Theory, Series A 0 (0) Contents lists ville t SiVerse SieneDiret Journl of Comintoril Theory, Series A www.elsevier.om/lote/jt Spheril tiling y ongruent pentgons Hongho Go, Nn Shi,
More informationTable-driven look-ahead lexical analysis
Tle-riven look-he lexil nlysis WUU YANG Computer n Informtion Siene Deprtment Ntionl Chio-Tung University, HsinChu, Tiwn, R.O.C. Astrt. Moern progrmming lnguges use regulr expressions to efine vli tokens.
More informationParadigm 5. Data Structure. Suffix trees. What is a suffix tree? Suffix tree. Simple applications. Simple applications. Algorithms
Prdigm. Dt Struture Known exmples: link tble, hep, Our leture: suffix tree Will involve mortize method tht will be stressed shortly in this ourse Suffix trees Wht is suffix tree? Simple pplitions History
More information[SYLWAN., 158(6)]. ISI
The proposl of Improved Inext Isomorphi Grph Algorithm to Detet Design Ptterns Afnn Slem B-Brhem, M. Rizwn Jmeel Qureshi Fulty of Computing nd Informtion Tehnology, King Adulziz University, Jeddh, SAUDI
More informationCMPUT101 Introduction to Computing - Summer 2002
CMPUT Introdution to Computing - Summer 22 %XLOGLQJ&RPSXWHU&LUFXLWV Chpter 4.4 3XUSRVH We hve looked t so fr how to uild logi gtes from trnsistors. Next we will look t how to uild iruits from logi gtes,
More informationGenerating Editors for Direct Manipulation of Diagrams
Generting Eitors for Diret Mnipultion of Digrms Gerhr Viehstet n Mrk Mins Lehrstuhl für Progrmmiersprhen Universität Erlngen-Nürnerg Mrtensstr. 3, 91058 Erlngen, Germny E-mil: fviehste,minsg@informtik.uni-erlngen.e
More information5 ANGLES AND POLYGONS
5 GLES POLYGOS urling rige looks like onventionl rige when it is extene. However, it urls up to form n otgon to llow ots through. This Rolling rige is in Pington sin in Lonon, n urls up every Friy t miy.
More informationUTMC APPLICATION NOTE UT1553B BCRT TO INTERFACE PSEUDO-DUAL-PORT RAM ARCHITECTURE INTRODUCTION ARBITRATION DETAILS DESIGN SELECTIONS
UTMC APPLICATION NOTE UT1553B BCRT TO 80186 INTERFACE INTRODUCTION The UTMC UT1553B BCRT is monolithi CMOS integrte iruit tht provies omprehensive Bus Controller n Remote Terminl funtions for MIL-STD-
More informationA matching algorithm for measuring the structural similarity between an XML document and a DTD and its applications $
Informtion Systems 29 (2004) 23 46 A mthing lgorithm for mesuring the struturl similrity etween n XML oument n DTD n its pplitions $ Elis Bertino, Giovnn Guerrini, Mro Mesiti, * Diprtimento i Informti
More informationGraph Searching & Perfect Graphs
Grph Serhing & Perfet Grphs Lll Moutdid University of Toronto Astrt Perfet grphs, y definition, hve nie struture, tht grph serhing seems to extrt in, often non-inexpensive, mnner. We srth the surfe of
More informationWORKSHOP 9 HEX MESH USING SWEEP VECTOR
WORKSHOP 9 HEX MESH USING SWEEP VECTOR WS9-1 WS9-2 Prolem Desription This exerise involves importing urve geometry from n IGES file. The urves re use to rete other urves. From the urves trimme surfes re
More informationASTs, Regex, Parsing, and Pretty Printing
ASTs, Regex, Prsing, nd Pretty Printing CS 2112 Fll 2016 1 Algeric Expressions To strt, consider integer rithmetic. Suppose we hve the following 1. The lphet we will use is the digits {0, 1, 2, 3, 4, 5,
More informationIntroduction to Integration
Introduction to Integrtion Definite integrls of piecewise constnt functions A constnt function is function of the form Integrtion is two things t the sme time: A form of summtion. The opposite of differentition.
More informationSection 10.4 Hyperbolas
66 Section 10.4 Hyperbols Objective : Definition of hyperbol & hyperbols centered t (0, 0). The third type of conic we will study is the hyperbol. It is defined in the sme mnner tht we defined the prbol
More informationSolutions to Tutorial 2 (Week 9)
The University of Syney Shool of Mathematis an Statistis Solutions to Tutorial (Week 9) MATH09/99: Disrete Mathematis an Graph Theory Semester, 0. Determine whether eah of the following sequenes is the
More informationΕΠΛ323 - Θεωρία και Πρακτική Μεταγλωττιστών
ΕΠΛ323 - Θωρία και Πρακτική Μταγλωττιστών Lecture 3 Lexicl Anlysis Elis Athnsopoulos elisthn@cs.ucy.c.cy Recognition of Tokens if expressions nd reltionl opertors if è if then è then else è else relop
More information1 Disjoint-set data structure.
CS 124 Setion #4 Union-Fin, Greey Algorithms 2/20/17 1 Disjoint-set ata struture. 1.1 Operations Disjoint-set ata struture enale us to effiiently perform operations suh as plaing elements into sets, querying
More informationProblem Final Exam Set 2 Solutions
CSE 5 5 Algoritms nd nd Progrms Prolem Finl Exm Set Solutions Jontn Turner Exm - //05 0/8/0. (5 points) Suppose you re implementing grp lgoritm tt uses ep s one of its primry dt strutures. Te lgoritm does
More informationRealising Dead Path Elimination in BPMN
Relising De Pth Elimintion in BPMN Mtthis Weilih, Alexner Grosskopf Hsso Plttner Institute Potsm, Germny {mtthis.weilih,lexner.grosskopf}@hpi.uni-potsm.e Alistir Brros SAP Reserh Brisne, Austrli listir.rros@sp.om
More informationFrom Indexing Data Structures to de Bruijn Graphs
From Indexing Dt Structures to de Bruijn Grphs Bstien Czux, Thierry Lecroq, Eric Rivls LIRMM & IBC, Montpellier - LITIS Rouen June 1, 201 Czux, Lecroq, Rivls (LIRMM) Generlized Suffix Tree & DBG June 1,
More informationGENG2140 Modelling and Computer Analysis for Engineers
GENG4 Moelling n Computer Anlysis or Engineers Letures 9 & : Gussin qurture Crete y Grn Romn Joles, PhD Shool o Mehnil Engineering, UWA GENG4 Content Deinition o Gussin qurture Computtion o weights n points
More informationsuch that the S i cover S, or equivalently S
MATH 55 Triple Integrls Fll 16 1. Definition Given solid in spce, prtition of consists of finite set of solis = { 1,, n } such tht the i cover, or equivlently n i. Furthermore, for ech i, intersects i
More informationInternet Routing. Reminder: Routing. CPSC Network Programming
PS 360 - Network Progrmming Internet Routing Mihele Weigle eprtment of omputer Siene lemson University mweigle@s.lemson.eu pril, 00 http://www.s.lemson.eu/~mweigle/ourses/ps360 Reminer: Routing Internet
More informationSome necessary and sufficient conditions for two variable orthogonal designs in order 44
University of Wollongong Reserch Online Fculty of Informtics - Ppers (Archive) Fculty of Engineering n Informtion Sciences 1998 Some necessry n sufficient conitions for two vrile orthogonl esigns in orer
More informationCOMPUTER EDUCATION TECHNIQUES, INC. (WEBLOGIC_SVR_ADM ) SA:
In orer to lern whih questions hve een nswere orretly: 1. Print these pges. 2. Answer the questions. 3. Sen this ssessment with the nswers vi:. FAX to (212) 967-3498. Or. Mil the nswers to the following
More informationComputational geometry
Leture 23 Computtionl geometry Supplementl reding in CLRS: Chpter 33 exept 33.3 There re mny importnt prolems in whih the reltionships we wish to nlyze hve geometri struture. For exmple, omputtionl geometry
More informationComparing Hierarchical Data in External Memory
Compring Hierrhil Dt in Externl Memory Surshn S. Chwthe Deprtment of Computer Siene University of Mryln College Prk, MD 090 hw@s.um.eu Astrt We present n externl-memory lgorithm for omputing minimum-ost
More informationEXPONENTIAL & POWER GRAPHS
Eponentil & Power Grphs EXPONENTIAL & POWER GRAPHS www.mthletics.com.u Eponentil EXPONENTIAL & Power & Grphs POWER GRAPHS These re grphs which result from equtions tht re not liner or qudrtic. The eponentil
More informationbox Boxes and Arrows 3 true 7.59 'X' An object is drawn as a box that contains its data members, for example:
Boxes nd Arrows There re two kinds of vriles in Jv: those tht store primitive vlues nd those tht store references. Primitive vlues re vlues of type long, int, short, chr, yte, oolen, doule, nd flot. References
More informationAdvanced Programming Handout 5. Enter Okasaki. Persistent vs. Ephemeral. Functional Queues. Simple Example. Persistent vs.
Avne Progrmming Hnout 5 Purel Funtionl Dt Strutures: A Cse Stu in Funtionl Progrmming Persistent vs. Ephemerl An ephemerl t struture is one for whih onl one version is ville t time: fter n upte opertion,
More informations 1 t 4 s 2 4 t 2 a b r 2 r 8 r10 g 4
k-pirs Non-Crossing Shortest Pths in Simple Polgon Evnthi Ppdopoulou Northwestern Universit, Evnston, Illinois 60208, USA Astrt. This pper presents n O(n + k) time lgorithm to ompute the set of k non-rossing
More informationSingle-Layer Trunk Routing Using 45-Degree Lines within Critical Areas for PCB Routing
SASIMI 2010 Proeedings (R3-8) Single-Lyer Trunk Routing Using 45-Degree Lines within Critil Ares for PCB Routing Kyosuke SHINODA Yukihide KOHIRA Atsushi TAKAHASHI Tokyo Institute of Tehnology Dept. of
More informationCOMPUTER EDUCATION TECHNIQUES, INC. (XML ) SA:
In orer to lern whih questions hve een nswere orretly: 1. Print these pges. 2. Answer the questions. 3. Sen this ssessment with the nswers vi:. FAX to (212) 967-3498. Or. Mil the nswers to the following
More informationMidterm Exam CSC October 2001
Midterm Exm CSC 173 23 Otoer 2001 Diretions This exm hs 8 questions, severl of whih hve suprts. Eh question indites its point vlue. The totl is 100 points. Questions 5() nd 6() re optionl; they re not
More informationFundamentals of Engineering Analysis ENGR Matrix Multiplication, Types
Fundmentls of Engineering Anlysis ENGR - Mtri Multiplition, Types Spring Slide Mtri Multiplition Define Conformle To multiply A * B, the mtries must e onformle. Given mtries: A m n nd B n p The numer of
More informationcalled the vertex. The line through the focus perpendicular to the directrix is called the axis of the parabola.
Review of conic sections Conic sections re grphs of the form REVIEW OF CONIC SECTIONS prols ellipses hperols P(, ) F(, p) O p =_p REVIEW OF CONIC SECTIONS In this section we give geometric definitions
More informationEnumerating pseudo-triangulations in the plane
Enumerating pseuo-triangulations in the plane Sergey Bereg Astrat A pseuo-triangle is a simple polygon with exatly three onvex verties. A pseuo-triangulation of a finite point set S in the plane is a partition
More informationDistributed Systems Principles and Paradigms
Distriuted Systems Priniples nd Prdigms Christoph Dorn Distriuted Systems Group, Vienn University of Tehnology.dorn@infosys.tuwien..t http://www.infosys.tuwien..t/stff/dorn Slides dpted from Mrten vn Steen,
More informationChapter 16. Shortest Paths Shortest Weighted Paths
Chpter 6 Shortet Pth Given grph where ege re lle with weight (or itne) n oure vertex, wht i the hortet pth etween the oure n ome other vertex? Prolem requiring u to nwer uh querie re roly known hortet-pth
More informationHash-based Subgraph Query Processing Method for Graph-structured XML Documents
Hsh-bse Subgrph Query Proessing Metho for Grph-struture XML Douments Hongzhi Wng Hrbin Institute of Teh. wngzh@hit.eu.n Jinzhong Li Hrbin Institute of Teh. lijzh@hit.eu.n Jizhou Luo Hrbin Institute of
More information