Revisited. Robert Koch. Norbert Blum. Informatik IV, Universitat Bonn. Romerstr. 164, D Bonn, Germany. Abstract
|
|
- Anton Åberg
- för 6 år sedan
- Visningar:
Transkript
1 Greibach Normal Form Transformation, Revisited Robert Koch Norbert Blum Informatik IV, Universitat Bonn Romerstr. 164, D Bonn, Germany Abstract We develop a direct method for placing a given context-free grammar into Greibach normal form with only polynomial increase of its size; i.e., we don't use any algebraic concept like formal power series. Starting with a cfg G in Chomsky normal form, we will use standard methods for the construction of an equivalent context-free grammar from a nite automaton and vice versa for transformation of G into an equivalent cfg G 0 in Greibach normal form. The size of G 0 will be O(jGj 3 ), where jgj is the size of G. Moreover, we show that it would be more ecient to apply the algorithm to a context-free grammar in canonical two form, obtaining a context-free grammar where, up to chain rules, the productions fulll the Greibach normal form properties, and then to use the standard method for chain rule elimination for the transformation of this grammar into Greibach normal form. The size of the constructed grammar is O(jGj 4 ) instead of O(jGj 6 ), which we would obtain if we transform G into Chomsky normal form and then into Greibach normal form.
2 1 Introduction and denitions We assume that the reader is familiar with the elementary theory of nite automata and context-free grammars as written in standard text books, e.g. [1, 4, 6, 9]. First, we will review the notations used in the subsequence. A context-free grammar (cfg) G is a 4-tuple (V; ; P; S) where V is a nite, nonempty set of symbols called the total vocabular, V a nite set of terminal symbols, N = V n the set of nonterminal symbols (or variables), P a nite set of rules ( or productions), and S 2 N is the start sympol. The productions are of the form A!, where A 2 N and 2 V. is called alternative of A. L(G) denotes the context-free language generated by G. The size jgj of the cfg G is dened by jgj = X A!2P lg(a); where lg(a) is the length of the string A. Two context-free grammars G and G 0 are equivalent if both grammars generate the same language; i.e., L(G) = L(G 0 ). Let " denote the empty word. A production A! " is called "-rule. A production A! B with B 2 N is called chain rule. A leftmost derivation is a derivation where, at every step, the variable replaced has no variable to its left in the sentential form from which the replacement is made. A cfg G = (V; ; P; S) is in canonical two form if each production is of the form i) A! BC with B; C 2 N n fsg, ii) A! B with B 2 N n fsg, iii) A! a with a 2, or iv) S! ". A cfg G is in Chomsky normal form if G is in canonical two form and G contains no chain rule. A cfg G = (V; ; P; S) is in extended Greibach normal form if each production is of the form 1
3 i) A! ab 1 B 2 : : : B t with B 1 ; B 2 ; : : : B t 2 N n fsg; a 2, ii) A! B with B 2 N n S, iii) A! a with a 2, or iv) S! ". A cfg G is in extended 2-standard form if G is in extended Greibach normal form and with respect to rules of kind (i), always t 2. A cfg G = (V; ; P; S) is in Greibach normal form (Gnf) if G is in extended Greibach normal form and G contains no chain rule. G is in 2- standard form (2-Gnf) if G is in extended 2-standard form and G contains no chain rule. A nondeterministic nite automaton M is a 5-tuple (Q; ; ; q 0 ; q f ), where Q is a nite set of states, is a nite, nonempty set of input symbols, is a transition function mapping Q to 2 Q, q 0 2 Q is the initial state, and q f 2 Q is the nite state. Given an arbritrary cfg G = (V; ; P; S), it is well known that G can be transformed into an equivalent cfg G 0 which is in Gnf [3, 4, 6, 9]. But the usual algorithms possibly construct a cfg G 0, where the size of G 0 is exponential in the size of G (see [4], pp. 113{115 for an example). Given a cfg G without "- rules and without chain rules, Rosenkrantz [8] has given an algorithm which produces an equivalent cfg G 0 in Gnf such that jg 0 j = O(jGj 3 ). Rosenkrantz gave no analysis of the size of G 0. For an analysis, see [4], pp. 129{130 or [7]. Rosenkrantz's algorithm uses formal power series. We will develop a direct method for placing a given cfg into Gnf with only polynomial increase of its size; i.e., we don't use any algebraic concept like formal power series. Given any cfg G, in a rst step the grammar will be transformed into an equivalent cfg G 0 in Cnf. Then, we will use standard methods for the construction of an equivalent cfg from an nfa and vice versa for transformation of G 0 into an equivalent cfg G 00 in 2-Gnf. The size of G 00 will be O(jG 0 j 3 ). Moreover, we show that it would be more ecient to apply the algorithm to a cfg in canonical two form, obtaining a cfg in extended 2-standard form and then to use the standard method for chain rule elimination for the transformation of the grammar into 2-Gnf. The size of the constructed grammar is O(jGj 4 ) instead of O(jGj 6 ), which we would obtain if we transform G into Cnf and then into Gnf. 2
4 2 The method Let G = (V; ; P; S) be an arbitrary cfg in Cnf. Productions of type A! a with a 2 already fulll the Greibach normal form properties. Our goal is now to replace the productions of type A! BC, B; C 2 N n fsg by productions which fulll the Greibach normal form properties. Let B 2 N n fsg. We have an interest in leftmost derivations of the form B ) a or B ) lm B 0B 1 : : : B t ) ab 1 B 2 : : : B t ; where a 2 and B 0 ; B 1 ; : : : ; B t 2 N n fsg. Up to the last replacement, only alternatives from (N n fsg) 2 are chosen. The last replacement chooses for B 0 an alternative in. Such a leftmost derivation is called terminal leftmost derivation and is denoted by B ) tlm a and B ) tlm ab 1B 2 : : : B t ; respectively: Let L B = fa 2 (N n fsg) j B ) tlm G B = (V B ; V; P B ; S B ) such that a) L(G B ) = L B, and ag. Our goal is to construct a cfg b) each alternative of a variable begins with a symbol in. N B denotes the set of nonterminals of G B ; i.e. N B = V B n V. Assume that for B; C 2 N n fsg, B 6= C, the grammars G B and G C are constructed such that i) N B \ N C = ;, or ii) each production with a variable from N B \ N C on the left side is contained in both set of rules P B and P C. If we replace each production A! BC 2 P by the set fa! ac j a is an alternative of S B in G B g; then we obtain a cfg G 0 = (V 0 ; ; P 0 ; S) in Gnf, where V 0 = P 0 = V [ fn B j B 2 N n fsgg; and fa! a 2 P j a 2 g [fa S! ac j A! BC 2 P and a is an alternative of S B in G B g [ B2NnfSg P B n fs B! j 2 N g B 3
5 The conditions (i) and (ii) above ensure that in a derivation in G 0 no illegal changes between two grammars G B and G C are possible. It remains the construction of the cfg G B = (V B ; V; P B ; S B ), B 2 N n fsg. The central observation is that L B is a regular set. Let i.e., L R B is L B reversed. L R B = fb t B t 1 : : : B 1 a j ab 1 B 2 : : : B t 2 L B g; First, we will construct a nfa M B = (Q; V; ; B B ; S B ) with L(M B ) = L R B. Using a standard method (see [4], pp. 55{56), it is easy to construct from M B a nfa M 0 B with L(M 0 B) = L B. For doing this, S B will be the initial state, B B will be the unique nite state, and we turn around the transitions of M B. Then, we will use for each B 2 N n fsg the nfa M 0 B for the construction of a cfg G 0 B = (V B ; V; P 0 B ; S B) which fullls 1. L(G 0 B) = L B, 2. G 0 B is in Gnf. (Note that V is the terminal alphabet of G 0 B.) 3. 2 N B for each production S B! 2 P 0 B. 4. The right side of every other production begins with a variable of G; i.e., a symbol in N n fsg. 5. N B \ N C = ; for all B; C 2 N n fsg, B 6= C. Now, G B will be constructed from G 0 B by the replacement of every rule of the form D B! EC B and D B! E, respectively in P 0 B by a set of productions, analogously to the construction of P 0 from P. Altogether, we obtain the following method for the construction of the cfg G B = (V B ; V; P B ; S B ). (1) Dene M B = (Q; V; ; B B ; S B ) by Q = (C B ; E) = (C B ; a) = fa B j A 2 Ng [ fs B g; and ( fd B j C! DE 2 P g fsb g if C! a 2 P ; otherwise for all C B 2 Q, E 2 N n fsg, a 2. 4
6 L(M B ) = L R B can easily be proven by induction on the length of the terminal left derivation and on the length of the computation of the nfa, respectively. (2) Dene M 0 B = (Q; V; 0 ; S B ; B B ) by 0 (S B ; a) = 0 (D B ; E) = fc B j fs B g = (C B ; a)g; and fc B j D B 2 (C B ; E)g for all D B 2 Q, E 2 N n fsg and a 2. Also L(M 0 B ) = L B can easily be proven by induction. Using the standard method for the construction of an equivalent cfg from a given nfa (see [4], pp. 61{62), we obtain the cfg G 0 B. (3) Dene G 0 B = (V B; V; P 0 B ; S B) by V B = fa B j A 2 N n fsgg [ fs B g [ V; and P 0 B = fs B! ac B j C B 2 0 (S B ; a) and (C B 6= B B or 0 (fb B g N n fsg 6= ;)g [fs B! a j B B 2 0 (S B ; a)g [fd B! EC B j C B 2 0 (D B ; E) and (C B 6= B B or 0 (fb B g N n fsg 6= ;)g [fd B! E j B B 2 0 (D B ; E)g for all D B 2 V 0 B, E 2 N n fsg, a 2. By inspection, Properties 1 { 5 can easily be proven. It is easy to show that L(G 0 B) = L B. For obtaining only productions fullling the Greibach normal properties with respect to the terminal alphabet, simultaneously to all G 0 B, B 2 N nfsg, we apply the trick used for the construction of P 0 from P again. Note that for all grammars G 0 E, E 2 N n fsg, the alternatives of the start symbol S E fulll the Greibach normal form properties with respect to the terminal alphabet. (4) For each B 2 N n fsg we dene G B = (V B ; ; P B ; S B ) by P B = fs B! ac B j S B! ac B 2 P 0 Bg fs B! a j S B! a 2 P 0 Bg [ S DB!ECB2P 0 B fd B! C B j is an alternative of S E in G 0 Eg [ S DB!E2P 0 B fd B! j is an alternative of S E in G 0 Eg 5
7 Note that L(G B ) 6= L B, since the same trick was applied twice and hence, the terminal alphabet of G B is and not V. We have to add to P B all productions in G E with left side 6= S E. Since we use for each E 2 N n fsg the grammar G E for the construction of the cfg G 0 = (V 0 ; ; P 0 ; S) and all these productions are added to P 0, we do not have to add these productions explicitely to P B. For the same reasons, we have not to extend N B explicitely. By construction, the cfg G B fullls the Greibach normal form properties with respect to the terminal alphabet for all B 2 N n fsg. Furthermore, for all B; C 2 N n fsg, B 6= C the grammar G B and G C are constructed, such that i) N B \ N C = ;, or ii) each production with a variable from N B \ N C on the left side is contained implicitely in both set of rules P B and P C. Since L(G 0 B ) = L B for all B 2 NnfSg, L(G 0 ) = L(G) follows immediately. Furthermore, G 0 is in Gnf. Moreover, since every alternative of the start symbol S B of the grammars G 0 B and G B are of the form = ae, a 2 ; E 2 N n fsg, the grammar G 0 is in 2-Gnf. Let us analyze the size of G 0 in dependence of the size of G. Since each transition of M B and hence, each transition of M 0 B corresponds to a rule of P and vice versa, it is easy to see that jg 0 Bj 5jGj for all B 2 N n fsg. Constructing G B from G 0 B, every production D B! EC B and D B! E, respectively of P 0 B is replaced by at most jg 0 Ej rules. Hence, jg B j jg 0 BjjGj = O(jGj 2 ). Similary, each production of type A! BC of P is replaced by at most jgj productions. Note that for all B 2 N n fsg, the number of alternatives of the start symbol S B of G B is bounded by jgj. Altogether, we have obtained X jg 0 j 5jGj 2 + jg B j = O(jGj 3 ): B2NnfSg Hence, we have proven the following theorem. Theorem 1 Let G = (V; ; P; S) be a cfg in Cnf. Then there is a cfg G 0 = (V 0 ; ; P 0 ; S) in 2-Gnf such that L(G 0 ) = L(G) and jg 0 j = O(jGj 3 ). 6
8 Given an arbitrary cfg G = (V; ; P; S), the usual algorithm for the transformation of G into Cnf can square the size of the grammar (see [4], pp. 102 for an example). No better algorithm is known. This observation leads directly to the following corollary. Corollary 1 Let G = (V; ; P; S) be a cfg. Then there exists a cfg G 0 = (V 0 ; ; P 0 ; S) in 2-Gnf such that L(G 0 ) = L(G) and jg 0 j = O(jGj 6 ). In [2], it is shown that for all > 0 and suciently large n there is a contextfree language CL n with the following properties: a) CL n has a cfg of size O(n). b) Each chain rule free cfg for CL n has size O( 3 n 3=2 ). 3 Improving the size of the Gnf grammar Harrison and Yehudai [5] have developed an algorithm which eliminates for a given cfg G = (V; ; P; S) the "-rules in linear time. Moreover, the constructed cfg G 0 = (V 0 ; ; P 0 ; S) is in canonical two form and jg 0 j 12jGj. For obtaining an equivalent cfg G 00 in Cnf from G 0, it would suce to eliminate the chain rules from G 0. Hence, the expensive part of the transformation of an arbitrary cfg G = (V; ; P; S) into Cnf is the elimination of the chain rules. The standard method for chain rule elimination computes for all A 2 N the set W (A) = fb 2 N j A ) Bg and deletes the chain rules from P and adds the set P (A) = fa! j 2 V + n N and 9B 2 W (A) : B! 2 P g of productions to P. Note that jp (A)j jgj. Hence, jg 00 j = O(n 2 ). Given an arbitrary cfg G = (V; ; P; S), our goal is now to construct an equivalent cfg G 0 in Gnf such that jg 0 j = O(jGj 4 ). Since the transformation of G into canonical two form enlarges the size of G at most by the factor 12, we can assume that G is already in canonical two form. First, we will show that an appropriate extension of our algorithm will produce an equivalent cfg G in extended 2-standard form. Then we will show that applying the 7
9 standard method for chain rule elimination produces a cfg G 0 in 2-standard form with L(G 0 ) = L(G) and jg 0 j = O(jGj 4 ). Let G = (V; ; P; S) be a cfg in canonical two form. Then the chain rules already fulll the properties for extended 2-standard form. Hence, the grammar G = (V 0 ; ; P ; S), where V 0 = P = V [ fn B j B 2 N n fsgg; and fa! a 2 P j a 2 g fa! B 2 P j B 2 Ng [fa S! ac j A! BC 2 P and a is an alternative of S B in G B g [ B2NnfSg P B n fs B! j 2 N g B would be in extended 2-standard form, assumed that the grammars G B, B 2 N n fsg are constructed correctly. It remains to discuss, how to treat the chain rules during the construction of G B. For doing this, we will extend the four steps of the algorithm in an appropriate manner. (1) We add the following transitions to. for all C B 2 Q. (C B ; ") = fd B j C! D 2 P g (2) For the correct denition of M 0 B, we have to add the following transitions to 0. 0 (D B ; ") = fc B j D B 2 (C B ; ")g for all D B 2 Q. (3) The standard algorithm for the construction of a cfg from a given nfa add the following extra rules to P 0 B. fd B! C B j C B 2 0 (D B ; ") and (C B 6= B B or 0 (fb B gnnfsg) 6= ;)g for all D B 2 V 0 B. Step 4 has not to be extended. For the elimination of the chain rules A! B from P, we add the set fa! a j 9B 2 W (A) and a is an alternative of S B in G B g 8
10 of productions to P 0. Since jw (A)j jnj for all A 2 N and since every start symbol S B of a grammar G B has at most jgj alternatives, this enlarges the size of G at most by an amount of O(jGj 2 ). Now, we apply the standard method for chain rule elimination to G B for all B 2 N n fsg. Note that for all C B 2 N B, jw (C B )j jn B j and hence, jw (C B )j jgj. Furthermore, the number of distinct alternatives of variables in V B is bounded by O(jGj 2 ). Hence, the standard method for chain rule elimination enlarges the size of G B at most by a factor jgj. Hence, jg B j = O(jGj 3 ). Altogether, we have obtained the following theorem. Theorem 2 Let G = (V; ; P; S) be a cfg. Then there exits a cfg G 0 = (V 0 ; ; P 0 ; S) in 2-Gnf such that L(G 0 ) = L(G) and jg 0 j = O(jGj 4 ). Remark: Given an "-rule free cfg G = (V; ; P; S), the transformation of G into canonical two form can enlarge the number of production considerably. If one does not wish to enlarge the number of productions in such a way, one can transform G directly into extended Greibach normal form. Let A! B be any production of G. We consider as one symbol and built in Steps 1 and 2 nfa's M B = (Q; V ext ; ; B B ; S B ) and M 0 = B (Q; V ext; 0 ; S B ; B B ), respectively, where V ext = V [ f j 9E 2 V with E is an alternative of an variableg. Then we construct the cfg G 0 B from MB. 0 During Step 4, will be considered as an element of V. Acknowledgment: We thank Claus Rick for helpful comments. References [1] A. V. Aho, and J. D. Ullman, The Theory of Parsing, Translation, and Compiling, Vol. I: Parsing, Prentice-Hall (1972). [2] N. Blum, More on the power of chain rules in context-free grammars, TCS 27 (1983), 287{295. [3] S. A. Greibach, A new normal-form theorem for context-free, phrasestructure grammars, JACM 12 (1965), 42{52. [4] M. A. Harrison, Introduction to Formal Language Theory, Addison- Wesley (1978). 9
11 [5] M. A. Harrison, and A. Yehudai, Eliminating null rules in linear time, The Computer Journal 24 (1981), 156{161. [6] J. E. Hopcroft, and J. D. Ullman, Introduction to Autmata Theory, Languages, and Computation, Addison-Wesley (1979). [7] A. Kelemenova, Complexity of normal form grammars, TCS 28 (1984), 299{314. [8] D. J. Rosenkrantz, Matrix equations and normal forms for context-free grammers, JACM 14 (1967), 501{507. [9] D. Wood, Theory of Computation, Harper & Row (1987). 10
Isometries of the plane
Isometries of the plane Mikael Forsberg August 23, 2011 Abstract Här följer del av ett dokument om Tesselering som jag skrivit för en annan kurs. Denna del handlar om isometrier och innehåller bevis för
Tentamen i Matematik 2: M0030M.
Tentamen i Matematik 2: M0030M. Datum: 203-0-5 Skrivtid: 09:00 4:00 Antal uppgifter: 2 ( 30 poäng ). Examinator: Norbert Euler Tel: 0920-492878 Tillåtna hjälpmedel: Inga Betygsgränser: 4p 9p = 3; 20p 24p
1. Varje bevissteg ska motiveras formellt (informella bevis ger 0 poang)
Tentamen i Programmeringsteori Institutionen for datorteknik Uppsala universitet 1996{08{14 Larare: Parosh A. A., M. Kindahl Plats: Polacksbacken Skrivtid: 9 15 Hjalpmedel: Inga Anvisningar: 1. Varje bevissteg
Algoritmer och Komplexitet ht 08. Övning 6. NP-problem
Algoritmer och Komplexitet ht 08. Övning 6 NP-problem Frekvensallokering Inom mobiltelefonin behöver man lösa frekvensallokeringsproblemet som lyder på följande sätt. Det finns ett antal sändare utplacerade.
1. Compute the following matrix: (2 p) 2. Compute the determinant of the following matrix: (2 p)
UMEÅ UNIVERSITY Department of Mathematics and Mathematical Statistics Pre-exam in mathematics Linear algebra 2012-02-07 1. Compute the following matrix: (2 p 3 1 2 3 2 2 7 ( 4 3 5 2 2. Compute the determinant
12.6 Heat equation, Wave equation
12.6 Heat equation, 12.2-3 Wave equation Eugenia Malinnikova, NTNU September 26, 2017 1 Heat equation in higher dimensions The heat equation in higher dimensions (two or three) is u t ( = c 2 2 ) u x 2
Solutions to exam in SF1811 Optimization, June 3, 2014
Solutions to exam in SF1811 Optimization, June 3, 14 1.(a) The considered problem may be modelled as a minimum-cost network flow problem with six nodes F1, F, K1, K, K3, K4, here called 1,,3,4,5,6, and
NP-fullständighetsbevis
Algoritmer, datastrukturer och komplexitet, hösten 2016 Uppgifter till övning 9 NP-fullständighetsbevis På denna övning är det också inlämning av skriftliga lösningar av teoriuppgifterna till labb 4 och
Tentamen MMG610 Diskret Matematik, GU
Tentamen MMG610 Diskret Matematik, GU 2017-01-04 kl. 08.30 12.30 Examinator: Peter Hegarty, Matematiska vetenskaper, Chalmers/GU Telefonvakt: Peter Hegarty, telefon: 0766 377 873 Hjälpmedel: Inga hjälpmedel,
Tentamen i Matematik 2: M0030M.
Tentamen i Matematik 2: M0030M. Datum: 2010-01-12 Skrivtid: 09:00 14:00 Antal uppgifter: 6 ( 30 poäng ). Jourhavande lärare: Norbert Euler Telefon: 0920-492878 Tillåtna hjälpmedel: Inga Till alla uppgifterna
Module 6: Integrals and applications
Department of Mathematics SF65 Calculus Year 5/6 Module 6: Integrals and applications Sections 6. and 6.5 and Chapter 7 in Calculus by Adams and Essex. Three lectures, two tutorials and one seminar. Important
Pre-Test 1: M0030M - Linear Algebra.
Pre-Test : M3M - Linear Algebra. Test your knowledge on Linear Algebra for the course M3M by solving the problems in this test. It should not take you longer than 9 minutes. M3M Problem : Betrakta fyra
Beijer Electronics AB 2000, MA00336A, 2000-12
Demonstration driver English Svenska Beijer Electronics AB 2000, MA00336A, 2000-12 Beijer Electronics AB reserves the right to change information in this manual without prior notice. All examples in this
Webbregistrering pa kurs och termin
Webbregistrering pa kurs och termin 1. Du loggar in på www.kth.se via den personliga menyn Under fliken Kurser och under fliken Program finns på höger sida en länk till Studieöversiktssidan. På den sidan
This exam consists of four problems. The maximum sum of points is 20. The marks 3, 4 and 5 require a minimum
Examiner Linus Carlsson 016-01-07 3 hours In English Exam (TEN) Probability theory and statistical inference MAA137 Aids: Collection of Formulas, Concepts and Tables Pocket calculator This exam consists
Writing with context. Att skriva med sammanhang
Writing with context Att skriva med sammanhang What makes a piece of writing easy and interesting to read? Discuss in pairs and write down one word (in English or Swedish) to express your opinion http://korta.nu/sust(answer
Module 1: Functions, Limits, Continuity
Department of mathematics SF1625 Calculus 1 Year 2015/2016 Module 1: Functions, Limits, Continuity This module includes Chapter P and 1 from Calculus by Adams and Essex and is taught in three lectures,
Resultat av den utökade första planeringsövningen inför RRC september 2005
Resultat av den utökade första planeringsövningen inför RRC-06 23 september 2005 Resultat av utökad första planeringsövning - Tillägg av ytterligare administrativa deklarationer - Variant (av case 4) med
8 < x 1 + x 2 x 3 = 1, x 1 +2x 2 + x 4 = 0, x 1 +2x 3 + x 4 = 2. x 1 2x 12 1A är inverterbar, och bestäm i så fall dess invers.
MÄLARDALENS HÖGSKOLA Akademin för utbildning, kultur och kommunikation Avdelningen för tillämpad matematik Examinator: Erik Darpö TENTAMEN I MATEMATIK MAA150 Vektoralgebra TEN1 Datum: 9januari2015 Skrivtid:
Preschool Kindergarten
Preschool Kindergarten Objectives CCSS Reading: Foundational Skills RF.K.1.D: Recognize and name all upper- and lowercase letters of the alphabet. RF.K.3.A: Demonstrate basic knowledge of one-toone letter-sound
Om oss DET PERFEKTA KOMPLEMENTET THE PERFECT COMPLETION 04 EN BINZ ÄR PRECIS SÅ BRA SOM DU FÖRVÄNTAR DIG A BINZ IS JUST AS GOOD AS YOU THINK 05
Om oss Vi på Binz är glada att du är intresserad av vårt support-system för begravningsbilar. Sedan mer än 75 år tillverkar vi specialfordon i Lorch för de flesta olika användningsändamål, och detta enligt
Webbreg öppen: 26/ /
Webbregistrering pa kurs, period 2 HT 2015. Webbreg öppen: 26/10 2015 5/11 2015 1. Du loggar in på www.kth.se via den personliga menyn Under fliken Kurser och under fliken Program finns på höger sida en
Grafisk teknik IMCDP IMCDP IMCDP. IMCDP(filter) Sasan Gooran (HT 2006) Assumptions:
IMCDP Grafisk teknik The impact of the placed dot is fed back to the original image by a filter Original Image Binary Image Sasan Gooran (HT 2006) The next dot is placed where the modified image has its
http://marvel.com/games/play/31/create_your_own_superhero http://www.heromachine.com/
Name: Year 9 w. 4-7 The leading comic book publisher, Marvel Comics, is starting a new comic, which it hopes will become as popular as its classics Spiderman, Superman and The Incredible Hulk. Your job
Rastercell. Digital Rastrering. AM & FM Raster. Rastercell. AM & FM Raster. Sasan Gooran (VT 2007) Rastrering. Rastercell. Konventionellt, AM
Rastercell Digital Rastrering Hybridraster, Rastervinkel, Rotation av digitala bilder, AM/FM rastrering Sasan Gooran (VT 2007) Önskat mått * 2* rastertätheten = inläsningsupplösning originalets mått 2
F ξ (x) = f(y, x)dydx = 1. We say that a random variable ξ has a distribution F (x), if. F (x) =
Problems for the Basic Course in Probability (Fall 00) Discrete Probability. Die A has 4 red and white faces, whereas die B has red and 4 white faces. A fair coin is flipped once. If it lands on heads,
Support Manual HoistLocatel Electronic Locks
Support Manual HoistLocatel Electronic Locks 1. S70, Create a Terminating Card for Cards Terminating Card 2. Select the card you want to block, look among Card No. Then click on the single arrow pointing
Schenker Privpak AB Telefon 033-178300 VAT Nr. SE556124398001 Schenker ABs ansvarsbestämmelser, identiska med Box 905 Faxnr 033-257475 Säte: Borås
Schenker Privpak AB Interface documentation for web service packageservices.asmx 2010-10-21 Version: 1.2.2 Doc. no.: I04304 Sida 2 av 14 Revision history Datum Version Sign. Kommentar 2010-02-18 1.0.0
Styrteknik: Binära tal, talsystem och koder D3:1
Styrteknik: Binära tal, talsystem och koder D3:1 Digitala kursmoment D1 Boolesk algebra D2 Grundläggande logiska funktioner D3 Binära tal, talsystem och koder Styrteknik :Binära tal, talsystem och koder
SVENSK STANDARD SS
Provläsningsexemplar / Preview SVENSK STANDARD Handläggande organ Fastställd Utgåva Sida Allmänna Standardiseringsgruppen, STG 1998-01-30 1 1 (13) SIS FASTSTÄLLER OCH UTGER SVENSK STANDARD SAMT SÄLJER
Kurskod: TAMS28 MATEMATISK STATISTIK Provkod: TEN1 05 June 2017, 14:00-18:00. English Version
Kurskod: TAMS28 MATEMATISK STATISTIK Provkod: TEN1 5 June 217, 14:-18: Examiner: Zhenxia Liu (Tel: 7 89528). Please answer in ENGLISH if you can. a. You are allowed to use a calculator, the formula and
Stiftelsen Allmänna Barnhuset KARLSTADS UNIVERSITET
Stiftelsen Allmänna Barnhuset KARLSTADS UNIVERSITET National Swedish parental studies using the same methodology have been performed in 1980, 2000, 2006 and 2011 (current study). In 1980 and 2000 the studies
Workplan Food. Spring term 2016 Year 7. Name:
Workplan Food Spring term 2016 Year 7 Name: During the time we work with this workplan you will also be getting some tests in English. You cannot practice for these tests. Compulsory o Read My Canadian
Swedish adaptation of ISO TC 211 Quality principles. Erik Stenborg
Swedish adaptation of ISO TC 211 Quality principles The subject How to use international standards Linguistic differences Cultural differences Historical differences Conditions ISO 19100 series will become
denna del en poäng. 1. (Dugga 1.1) och v = (a) Beräkna u (2u 2u v) om u = . (1p) och som är parallell
Kursen bedöms med betyg, 4, 5 eller underänd, där 5 är högsta betyg. För godänt betyg rävs minst 4 poäng från uppgifterna -7. Var och en av dessa sju uppgifter an ge maximalt poäng. För var och en av uppgifterna
Isolda Purchase - EDI
Isolda Purchase - EDI Document v 1.0 1 Table of Contents Table of Contents... 2 1 Introduction... 3 1.1 What is EDI?... 4 1.2 Sending and receiving documents... 4 1.3 File format... 4 1.3.1 XML (language
2.1 Installation of driver using Internet Installation of driver from disk... 3
&RQWHQW,QQHKnOO 0DQXDOÃ(QJOLVKÃ'HPRGULYHU )RUHZRUG Ã,QWURGXFWLRQ Ã,QVWDOOÃDQGÃXSGDWHÃGULYHU 2.1 Installation of driver using Internet... 3 2.2 Installation of driver from disk... 3 Ã&RQQHFWLQJÃWKHÃWHUPLQDOÃWRÃWKHÃ3/&ÃV\VWHP
Grafisk teknik IMCDP. Sasan Gooran (HT 2006) Assumptions:
Grafisk teknik Sasan Gooran (HT 2006) Iterative Method Controlling Dot Placement (IMCDP) Assumptions: The original continuous-tone image is scaled between 0 and 1 0 and 1 represent white and black respectively
Boiler with heatpump / Värmepumpsberedare
Boiler with heatpump / Värmepumpsberedare QUICK START GUIDE / SNABBSTART GUIDE More information and instruction videos on our homepage www.indol.se Mer information och instruktionsvideos på vår hemsida
Ett hållbart boende A sustainable living. Mikael Hassel. Handledare/ Supervisor. Examiner. Katarina Lundeberg/Fredric Benesch
Ett hållbart boende A sustainable living Mikael Hassel Handledare/ Supervisor Examinator/ Examiner atarina Lundeberg/redric Benesch Jes us Azpeitia Examensarbete inom arkitektur, grundnivå 15 hp Degree
Viktig information för transmittrar med option /A1 Gold-Plated Diaphragm
Viktig information för transmittrar med option /A1 Gold-Plated Diaphragm Guldplätering kan aldrig helt stoppa genomträngningen av vätgas, men den får processen att gå långsammare. En tjock guldplätering
Second handbook of research on mathematics teaching and learning (NCTM)
Second handbook of research on mathematics teaching and learning (NCTM) The effects of classroom mathematics teaching on students learning. (Hiebert & Grouws, 2007) Inledande observationer Undervisningens
William J. Clinton Foundation Insamlingsstiftelse REDOGÖRELSE FÖR EFTERLEVNAD STATEMENT OF COMPLIANCE
N.B. The English text is an in-house translation. William J. Clinton Foundation Insamlingsstiftelse (organisationsnummer 802426-5756) (Registration Number 802426-5756) lämnar härmed följande hereby submits
LUNDS TEKNISKA HÖGSKOLA Institutionen för Elektro- och Informationsteknik
LUNDS TEKNISKA HÖGSKOLA Institutionen för Elektro- och Informationsteknik SIGNALBEHANDLING I MULTIMEDIA, EITA50, LP4, 209 Inlämningsuppgift av 2, Assignment out of 2 Inlämningstid: Lämnas in senast kl
Kurskod: TAMS11 Provkod: TENB 28 August 2014, 08:00-12:00. English Version
Kurskod: TAMS11 Provkod: TENB 28 August 2014, 08:00-12:00 Examinator/Examiner: Xiangfeng Yang (Tel: 070 2234765) a. You are permitted to bring: a calculator; formel -och tabellsamling i matematisk statistik
Scalable Dynamic Analysis of Binary Code
Linköping Studies in Science and Technology Dissertations, No. 1993 Ulf Kargén FACULTY OF SCIENCE AND ENGINEERING Linköping Studies in Science and Technology, Dissertations, No. 1993, 2019 Department of
(D1.1) 1. (3p) Bestäm ekvationer i ett xyz-koordinatsystem för planet som innehåller punkterna
Högsolan i Sövde (SK) Tentamen i matemati Kurs: MA4G Linjär algebra MAG Linjär algebra för ingenjörer Tentamensdag: 4-8-6 l 4.-9. Hjälpmedel : Inga hjälpmedel utöver bifogat formelblad. Ej ränedosa. Tentamen
x 2 2(x + 2), f(x) = by utilizing the guidance given by asymptotes and stationary points. γ : 8xy x 2 y 3 = 12 x + 3
MÄLARDALEN UNIVERSITY School of Education, Culture and Communication Department of Applied Mathematics Examiner: Lars-Göran Larsson EXAMINATION IN MATHEMATICS MAA151 Single Variable Calculus, TEN2 Date:
Schenker Privpak AB Telefon VAT Nr. SE Schenker ABs ansvarsbestämmelser, identiska med Box 905 Faxnr Säte: Borås
Schenker Privpak AB Interface documentation for web service packageservices.asmx 2012-09-01 Version: 1.0.0 Doc. no.: I04304b Sida 2 av 7 Revision history Datum Version Sign. Kommentar 2012-09-01 1.0.0
Grafisk teknik. Sasan Gooran (HT 2006)
Grafisk teknik Sasan Gooran (HT 2006) Iterative Method Controlling Dot Placement (IMCDP) Assumptions: The original continuous-tone image is scaled between 0 and 1 0 and 1 represent white and black respectively
The Finite Element Method, FHL064
The Finite Element Method, FHL064 Division of Solid Mechanics Course program, vt2, 20 Course description The finite element method (FEM) is a numerical method able to solve differential equations, i.e.
Styrteknik : Funktioner och funktionsblock
PLC2A:1 Variabler och datatyper Allmänt om funktioner och funktionsblock Programmering av funktioner Programmering av funktionsblock PLC2A:2 Variabler i GX IEC Developer Global and Local Variables Variables
Chapter 1 : Who do you think you are?
Arbetslag: Gamma Klass: 9A Veckor: 34-39 År: 2019 Chapter 1 : Who do you think you are?. Syfte Förstå och tolka innehållet i talad engelska och i olika slags texter. Formulera sig och kommunicera i tal
Vässa kraven och förbättra samarbetet med hjälp av Behaviour Driven Development Anna Fallqvist Eriksson
Vässa kraven och förbättra samarbetet med hjälp av Behaviour Driven Development Anna Fallqvist Eriksson Kravhantering På Riktigt, 16 maj 2018 Anna Fallqvist Eriksson Agilista, Go See Talents linkedin.com/in/anfaer/
How to format the different elements of a page in the CMS :
How to format the different elements of a page in the CMS : 1. Typing text When typing text we have 2 possible formats to start a new line: Enter - > is a simple line break. In a paragraph you simply want
1. Find an equation for the line λ which is orthogonal to the plane
MÄLARDALEN UNIVERSITY School of Education, Culture and Communication Department of Applied Mathematics Examiner: Lars-Göran Larsson EXAMINATION IN MATHEMATICS MAA150 Vector Algebra, TEN1 Date: 2018-04-23
Semigroups of Sets Without the Baire Property In Finite Dimensional Euclidean Spaces Vénuste NYAGAHAKWA
Linköping Studies in Science and Technology. Thesis No. 1700 Semigroups of Sets Without the Baire Property In Finite Dimensional Euclidean Spaces Vénuste NYAGAHAKWA Department of Mathematics Division of
Collaborative Product Development:
Collaborative Product Development: a Purchasing Strategy for Small Industrialized House-building Companies Opponent: Erik Sandberg, LiU Institutionen för ekonomisk och industriell utveckling Vad är egentligen
Information technology Open Document Format for Office Applications (OpenDocument) v1.0 (ISO/IEC 26300:2006, IDT) SWEDISH STANDARDS INSTITUTE
SVENSK STANDARD SS-ISO/IEC 26300:2008 Fastställd/Approved: 2008-06-17 Publicerad/Published: 2008-08-04 Utgåva/Edition: 1 Språk/Language: engelska/english ICS: 35.240.30 Information technology Open Document
Urban Runoff in Denser Environments. Tom Richman, ASLA, AICP
Urban Runoff in Denser Environments Tom Richman, ASLA, AICP Tom Richman, CATALYST 1 Tom Richman, CATALYST 2 Tom Richman, CATALYST 3 Tom Richman, CATALYST 4 Tom Richman, CATALYST 5 Tom Richman, CATALYST
Tentamen i Matematik 3: M0031M.
Tentamen i Matematik 3: M0031M. Datum: 2009-10-26 Skrivtid: 09:00 14:00 Antal uppgifter: 6 ( 30 poäng ). Jourhavande lärare: Norbert Euler Telefon: 0920-492878 Tillåtna hjälpmedel: Inga Till alla uppgifterna
Discovering!!!!! Swedish ÅÄÖ. EPISODE 6 Norrlänningar and numbers 12-24. Misi.se 2011 1
Discovering!!!!! ÅÄÖ EPISODE 6 Norrlänningar and numbers 12-24 Misi.se 2011 1 Dialogue SJs X2000* från Stockholm är försenat. Beräknad ankoms?d är nu 16:00. Försenat! Igen? Vad är klockan? Jag vet inte.
Evaluation Ny Nordisk Mat II Appendix 1. Questionnaire evaluation Ny Nordisk Mat II
Evaluation Ny Nordisk Mat II Appendix 1. Questionnaire evaluation Ny Nordisk Mat II English version A. About the Program in General We will now ask some questions about your relationship to the program
Windlass Control Panel v1.0.1
SIDE-POWER Windlass Systems 86-08950 Windlass Control Panel v1.0.1 EN Installation manual Behåll denna manual ombord! S Installations manual SLEIPNER AB Kilegatan 1 452 33 Strömstad Sverige Tel: +46 525
Quicksort. Koffman & Wolfgang kapitel 8, avsnitt 9
Quicksort Koffman & Wolfgang kapitel 8, avsnitt 9 1 Quicksort Quicksort väljer ett spcifikt värde (kallat pivot), och delar upp resten av fältet i två delar: alla element som är pivot läggs i vänstra delen
Calculate check digits according to the modulus-11 method
2016-12-01 Beräkning av kontrollsiffra 11-modulen Calculate check digits according to the modulus-11 method Postadress: 105 19 Stockholm Besöksadress: Palmfeltsvägen 5 www.bankgirot.se Bankgironr: 160-9908
DVG C01 TENTAMEN I PROGRAMSPRÅK PROGRAMMING LANGUAGES EXAMINATION :15-13: 15
DVG C01 TENTAMEN I PROGRAMSPRÅK PROGRAMMING LANGUAGES EXAMINATION 120607 08:15-13: 15 Ansvarig Lärare: Donald F. Ross Hjälpmedel: Bilaga A: BNF-definition En ordbok: studentenshemspråk engelska Betygsgräns:
The Algerian Law of Association. Hotel Rivoli Casablanca October 22-23, 2009
The Algerian Law of Association Hotel Rivoli Casablanca October 22-23, 2009 Introduction WHY the Associations? NGO s are indispensable to the very survival of societal progress Local, National or International
and u = och x + y z 2w = 3 (a) Finn alla lösningar till ekvationssystemet
Kursen bedöms med betyg,, 5 eller underkänd, där 5 är högsta betyg. För godkänt betyg krävs minst poäng från uppgifterna -7. Var och en av dessa sju uppgifter kan ge maximalt poäng. För var och en av uppgifterna
Installation av F13 Bråvalla
Website: http://www.rbdesign.se Installation av F13 Bråvalla RBDESIGN FREEWARE - ESCK Norrköping-Bråvalla 1. Ladda ner och packa upp filerna i en mapp som du har skapat på ett lättöverskådligt ställe utanför
Chapter 2: Random Variables
Chapter 2: Random Variables Experiment: Procedure + Observations Observation is an outcome Assign a number to each outcome: Random variable 1 Three ways to get an rv: Random Variables The rv is the observation
In Bloom CAL # 8, sista varv och ihopsättning / last rows and assemble
In Bloom CAL # 8, sista varv och ihopsättning / last rows and assemble I del 9 använder du virknål 3.0 mm. Efter varje varvsnummer står numret (1-7) för den färg du skall använda för det varvet, se färg/garn-tabell.
Accomodations at Anfasteröd Gårdsvik, Ljungskile
Accomodations at Anfasteröd Gårdsvik, Ljungskile Anfasteröd Gårdsvik is a campsite and resort, located right by the sea and at the edge of the forest, south west of Ljungskile. We offer many sorts of accommodations
Problem som kan uppkomma vid registrering av ansökan
Problem som kan uppkomma vid registrering av ansökan Om du har problem med din ansökan och inte kommer vidare kan det bero på det som anges nedan - kolla gärna igenom detta i första hand. Problem vid registrering
En bild säger mer än tusen ord?
Faculteit Letteren en Wijsbegeerte Academiejaar 2009-2010 En bild säger mer än tusen ord? En studie om dialogen mellan illustrationer och text i Tiina Nunnallys engelska översättning av Pippi Långstrump
Kvalitetsarbete I Landstinget i Kalmar län. 24 oktober 2007 Eva Arvidsson
Kvalitetsarbete I Landstinget i Kalmar län 24 oktober 2007 Eva Arvidsson Bakgrund Sammanhållen primärvård 2005 Nytt ekonomiskt system Olika tradition och förutsättningar Olika pågående projekt Get the
EXTERNAL ASSESSMENT SAMPLE TASKS SWEDISH BREAKTHROUGH LSPSWEB/0Y09
EXTENAL ASSESSENT SAPLE TASKS SWEDISH BEAKTHOUGH LSPSWEB/0Y09 Asset Languages External Assessment Sample Tasks Breakthrough Stage Listening and eading Swedish Contents Page Introduction 2 Listening Sample
Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 15 August 2016, 8:00-12:00. English Version
Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 15 August 2016, 8:00-12:00 Examiner: Xiangfeng Yang (Tel: 070 0896661). Please answer in ENGLISH if you can. a. Allowed to use: a calculator, Formelsamling
Eternal Employment Financial Feasibility Study
Eternal Employment Financial Feasibility Study 2017-08-14 Assumptions Available amount: 6 MSEK Time until first payment: 7 years Current wage: 21 600 SEK/month (corresponding to labour costs of 350 500
FÖRBERED UNDERLAG FÖR BEDÖMNING SÅ HÄR
FÖRBERED UNDERLAG FÖR BEDÖMNING SÅ HÄR Kontrollera vilka kurser du vill söka under utbytet. Fyll i Basis for nomination for exchange studies i samråd med din lärare. För att läraren ska kunna göra en korrekt
Sri Lanka Association for Artificial Intelligence
Sri Lanka Association for Artificial Intelligence First Sinhala Chatbot in action Budditha Hettige Department of Statistics and Computer Science, Faculty of Applied Science, University of Sri Jayewardenepura,
Protokoll Föreningsutskottet 2013-10-22
Protokoll Föreningsutskottet 2013-10-22 Närvarande: Oliver Stenbom, Andreas Estmark, Henrik Almén, Ellinor Ugland, Oliver Jonstoij Berg. 1. Mötets öppnande. Ordförande Oliver Stenbom öppnade mötet. 2.
Lösningar till Tentamen i Reglerteknik AK EL1000/EL1100/EL
Lösningar till Tentamen i Reglerteknik AK EL/EL/EL 9-6- a. Ansätt: G(s) = b s+a, b >, a >. Utsignalen ges av y(t) = G(iω) sin (ωt + arg G(iω)), ω = G(iω) = b ω + a = arg G(iω) = arg b arg (iω + a) = arctan
Självkörande bilar. Alvin Karlsson TE14A 9/3-2015
Självkörande bilar Alvin Karlsson TE14A 9/3-2015 Abstract This report is about driverless cars and if they would make the traffic safer in the future. Google is currently working on their driverless car
Hjälpmedel: Inga, inte ens miniräknare Göteborgs Universitet Datum: 2018 kl Telefonvakt: Jonatan Kallus Telefon: ankn 5325
MATEMATIK Hjälpmedel: Inga, inte ens miniräknare Göteborgs Universitet Datum: 08 kl 0830 30 Tentamen Telefonvakt: Jonatan Kallus Telefon: ankn 535 MMG00 Envariabelsanalys Tentan rättas och bedöms anonymt
Adding active and blended learning to an introductory mechanics course
Adding active and blended learning to an introductory mechanics course Ulf Gran Chalmers, Physics Background Mechanics 1 for Engineering Physics and Engineering Mathematics (SP2/3, 7.5 hp) 200+ students
Kursplan. EN1088 Engelsk språkdidaktik. 7,5 högskolepoäng, Grundnivå 1. English Language Learning and Teaching
Kursplan EN1088 Engelsk språkdidaktik 7,5 högskolepoäng, Grundnivå 1 English Language Learning and Teaching 7.5 Higher Education Credits *), First Cycle Level 1 Mål Efter genomgången kurs ska studenten
FORTA M315. Installation. 218 mm.
1 Installation 2 1 2 1 218 mm. 1 2 4 5 6 7 8 9 2 G, G0= Max 100 m 1.5 mm² (AWG 15) X1, MX, Y, VH, VC = Max 200 m 0.5 mm² (AWG 20) Y X1 MX VH VC G1 G0 G 0 V 24 V~ IN 0-10 0-5, 2-6 60 s OP O 1 2 4 5 6 7
SAMMANFATTNING AV SUMMARY OF
Detta dokument är en enkel sammanfattning i syfte att ge en första orientering av investeringsvillkoren. Fullständiga villkor erhålles genom att registera sin e- postadress på ansökningssidan för FastForward
Svenska()(Bruksanvisning(för(handdukstork()(1400(x(250(mm(
1 Svenska()(Bruksanvisning(för(handdukstork()(1400(x(250(mm( Läsnogaigenombruksanvisningeninnanproduktenanvänds 6Kontrolleraattduharalladelarenligtpacklistannedan.Kontaktadinåterförsäljareomnågondelär
Make a speech. How to make the perfect speech. söndag 6 oktober 13
Make a speech How to make the perfect speech FOPPA FOPPA Finding FOPPA Finding Organizing FOPPA Finding Organizing Phrasing FOPPA Finding Organizing Phrasing Preparing FOPPA Finding Organizing Phrasing
Filosofisk logik Kapitel 18. Robin Stenwall Lunds universitet
Filosofisk logik Kapitel 18 Robin Stenwall Lunds universitet Dagens upplägg Modeller för FOL Sanning i FOL Tarskis idé Satisfiering Definitionen på sanning i en modell Definitionen på FO-konsekvens Definitionen
SVENSK STANDARD SS-ISO 965/2 Första giltighetsdag Utgåva Sida Registrering
SIS - Standardiseringskommissionen i Sverige Standarden utarbetad av SMS, SVERIGES MEKANSTANDARDISERING SVENSK STANDARD SS-ISO 965/2 Första giltighetsdag Utgåva Sida Registrering 1984-05-20 1 1 (7) SMS
Theory 1. Summer Term 2010
Theory 1 Summer Term 2010 Robert Elsässer 1 Introduction Summer Term 2010 Robert Elsässer Prerequisite of Theory I Programming language, such as C++ Basic knowledge on data structures and algorithms, mathematics
BÄNKVÅG / BENCH SCALE Modell : SW-III / Model : SW-III ANVÄNDARMANUAL / USER MANUAL SW-III WWW.LIDEN-WEIGHING.SE 2014-03-26 OBS! Under vågen sitter en justerbar skruv (se bild). Standardinställning är
Graphs (chapter 14) 1
Graphs (chapter ) Terminologi En graf är en datastruktur som består av en mängd noder (vertices) och en mängd bågar (edges) en båge är ett par (a, b) av två noder en båge kan vara cyklisk peka på sig själv
Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 31 May 2016, 8:00-12:00. English Version
Kurskod: TAIU06 MATEMATISK STATISTIK Provkod: TENA 31 May 2016, 8:00-12:00 Examiner: Xiangfeng Yang (Tel: 070 0896661). Please answer in ENGLISH if you can. a. Allowed to use: a calculator, Formelsamling
Tentamen del 2 SF1511, , kl , Numeriska metoder och grundläggande programmering
KTH Matematik Tentamen del 2 SF1511, 2018-03-16, kl 8.00-11.00, Numeriska metoder och grundläggande programmering Del 2, Max 50p + bonuspoäng (max 4p). Rättas ast om del 1 är godkänd. Betygsgränser inkl
Recitation 4. 2-D arrays. Exceptions
Recitation 4. 2-D arrays. Exceptions Animal[] v= new Animal[3]; 2 declaration of array v Create array of 3 elements v null a6 Assign value of new-exp to v Assign and refer to elements as usual: v[0]= new