38 Pages

CS319-course-decomp-Meurig

Course: CS 319, Fall 2009
School: East Los Angeles College
Rating:
 
 
 
 
 

Word Count: 2759

Document Preview

of Decomposition relational schemes Desirable properties of decompositions Dependency preserving decompositions Lossless join decompositions 05/15/09 1 CS319 Theory of Databases Desirable properties of decompositions 1 Lossless decompositions A decomposition of the relation scheme R into subschemes R1, R2, ..., Rn is lossless if, given tuples r1, r2, ..., rn in R1, R2, ..., Rn respectively, such that ri and...

Register Now

Unformatted Document Excerpt

Coursehero >> California >> East Los Angeles College >> CS 319

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
of Decomposition relational schemes Desirable properties of decompositions Dependency preserving decompositions Lossless join decompositions 05/15/09 1 CS319 Theory of Databases Desirable properties of decompositions 1 Lossless decompositions A decomposition of the relation scheme R into subschemes R1, R2, ..., Rn is lossless if, given tuples r1, r2, ..., rn in R1, R2, ..., Rn respectively, such that ri and rj agree on all common attributes for all pairs of indices (i,j), the - uniquely defined - tuple derived by joining r1, r2, ..., rn is in R. Terminology: "lossless join" decomposition 05/15/09 2 CS319 Theory of Databases Desirable properties of decompositions 3 Dependency preserving decompositions A decomposition of the relation scheme R into subschemes R1, R2, ..., Rn is dependency preserving if all the FDs within R can be derived from those within the relations R1, R2, ..., Rn. If F is the set of dependencies defined on R, then the requirement is that the set G of dependencies that can be obtained as projections of dependencies in F+ onto R1, R2, ..., Rn together generate F+. Note carefully that it is not enough to check whether projections of dependencies in F onto R1, R2, ..., Rn together generate F+. 3 05/15/09 CS319 Theory of Databases Desirable properties of decompositions 4 An illustrative example SCAIP1 Replace SADDRESS by CITY and AGENT fields in SUPPLIERS(SNAME, SADDRESS, ITEM, PRICE) Semantics: Each supplier is based in a city, and the enterprise responsible for setting up the database has an agent for each city. Derive in this way a new relation SCAIP(S, C, A, I, P) where S is SNAME, C is CITY, A is AGENT etc. 05/15/09 4 CS319 Theory of Databases Desirable properties of decompositions 5 An illustrative example SCAIP2 Derive in this way a relation SCAIP(S, C, A, I, P) where S is SNAME, C is CITY, A is AGENT etc. The set F of functional dependencies is generated by: S C, C A, S I P ... each supplier sited in one city ... each city has one agent serving it ... each supplier sells each given item at fixed price 05/15/09 5 CS319 Theory of Databases Desirable properties of decompositions 6 An illustrative example SCAIP3 F { S C, C A, S I P } Consider decomposition { SCA, SIP }: This is lossless: Suppose that the tuples tSCA and tSIP are in the relations SCA and SIP respectively. If tSCA and tSIP agree on S, then their join is a tuple tSCAIP (s,c,a,i,p), where c and a are determined by the attribute s and the i and p attributes are such that p is determined by s and i. Any tuple that satisfies these two FDs is in the relation SCAIP. 05/15/09 6 CS319 Theory of Databases Desirable properties of decompositions 7 An illustrative example Consider decomposition { SCA, SIP }: Also dependency preserving: the sets of dependencies { S C, C A } and { S I P } are included in the projections of F+ onto SCA and SIP. This means that the FDs in F, from which all dependencies are generated, are explicit in the sub-schemes SCA and SIP in this case. 05/15/09 7 CS319 Theory of Databases SCAIP4 F { S C, C A, S I P } Desirable properties of decompositions 8 An illustrative example SCAIP5 F { S C, C A, S I P } In decomposition {SIP, SCA}, have problems with SCA. E.g. update anomaly if want to store an agent for a city in which no supplier is currently located Get around this by decomposing SCA further: decompose as {SC, CA} decompose as {SC, SA} decompose as {CA, SA} 05/15/09 8 CS319 Theory of Databases Desirable properties of decompositions 9 An illustrative example decompose as { SC, CA } this is both lossless join and dependency preserving decompose as { SC, SA } In this case the images of the FDs in F+ on SC and SA are {S C} and {S A} respectively, but the dependency C A can't be inferred. So this decomposition is not dependency preserving. 05/15/09 9 CS319 Theory of Databases SCAIP6 F { S C, C A, S I P } Desirable properties of decompositions 10 An illustrative example decompose as {CA, SA} In this case, have possibility that Fred is agent for Hull and York, and PVC based in Hull. Then: (Hull, Fred) * (PVC, Fred) = (PVC, Hull, Fred) (York, Fred) * (PVC, Fred) = (PVC, York, Fred) The second join is not in the relation SCA. So this decomposition is not lossless join. 05/15/09 10 CS319 Theory of Databases SCAIP7 F { S C, C A, S I P } Dependency Preserving Decompositions 1 Let R be a relation scheme, a decomposition of R and F a set of functional dependencies of R. If Z is a set of attributes in R, then Z(F) = { X Y F | XY Z } The decomposition is dependency preserving if F is logically implied by the union of the sets of functional dependencies T(F+), where T ranges over all sub-schemes of . 05/15/09 11 CS319 Theory of Databases Dependency Preserving Decompositions 2 Illustrative Example R = ABCD and = {AB, BC, CD} F = { A B, B C, C D, D A } Question: is dependency preserving? Certainly { A B, B C, C D } are captured. How about D A? Is also, because F+ { B A, C B, D C } and these FDs are recorded in the sub-schemes AB, BC, CD. Hence the dependency D A is also captured. 05/15/09 12 CS319 Theory of Databases Dependency Preserving Decompositions 3 Algorithm to check dependency preserving OK := true for each dependency X Y in F do begin Z := X while changes occur in Z do for each sub-scheme T of do Z := Z { A | Z T A is in T(F+) } if not Z Y then OK := false end 05/15/09 13 CS319 Theory of Databases Dependency Preserving Decompositions 4 Algorithm to check dependency preserving ... while changes occur in Z do for each sub-scheme T of do Z := Z { A | Z T A is in T(F+) } ... To compute { A | Z T A is in T(F+) } calculate ((Z T)+ T) where the closure (Z T)+ is computed with respect to F over the entire relation scheme R. This avoids need to compute F+. 05/15/09 14 CS319 Theory of Databases Dependency Preserving Decompositions 5 Illustrating the algorithm in action Consider the relation scheme R = ABCD, the dependencies F = { A B, B C, C D, D A }, and the decomposition = { AB, BC, CD } Clear that A B, B C and C D are preserved ... can prove that the dependency D A is preserved by applying the algorithm Computation of {D}+ over R using F yields {A,B,C,D} 05/15/09 15 CS319 Theory of Databases Dependency Preserving Decompositions 6 Illustrating the algorithm in action (cont.) Computation of {D}+ over R using F yields {A,B,C,D} Z={D} initially. At each iteration of the while-loop, the algorithm introduces a new attribute into Z. For instance, on the first pass, introduce C when T = CD, on second pass, then introduce B when T = BC etc. Hence: Z0 = {D}, Z1 = {C,D}, Z2 = {B,C,D}, Z3 = {A,B,C,D} where Zi is the value of Z after the ith iteration. This proves that dependency D A is preserved. 05/15/09 16 CS319 Theory of Databases Lossless Join Decompositions 1 Lossless join decomposition Let R be a relation scheme, a decomposition of R and F a set of functional dependencies of R. Suppose that the sub-schemes in are {R1, R2, ... , Rk}. has lossless join if every extensional part r for R that satisfies F is such that r = 1(r) 2(r) ... k(r), where i(r) denotes the projection of r onto Ri. Informally: r is the natural join of its projections onto the sub-schemes R1, R2, ... , Rk. 05/15/09 17 CS319 Theory of Databases Lossless Join Decompositions 2 Examples (revisited as a reminder) SCAIP = SIP SCA = SIP SC CA SCA SA CA and SCA SA CA lossless lossy ... have possibility that Fred is agent for Hull and York, and that PVC is a supplier based in Hull. Then: (Hull, Fred) * (PVC, Fred) = (PVC, Hull, Fred) (York, Fred) * (PVC, Fred) = (PVC, York, Fred) The second join is not in the relation SCA. So this decomposition is not lossless join. 05/15/09 18 CS319 Theory of Databases Lossless Join Decompositions 3 Principles of lossless join decomposition Let = { R1, R2, ... , Rk } be a decomposition of R. Define the mapping m ( ) on possible extensions for the relation scheme R [whether or not they satisfy the functional dependencies in R, if there are any], via: m (r) = 1(r) 2(r) ... k(r), where i(r) denotes the projection of r on sub-scheme Ri. Notation: use to ri denote i(r), for 1 i k. 05/15/09 19 CS319 Theory of Databases Lossless Join Decompositions 4 Principles of lossless join decomposition (cont.) Lemma: With R, and ri as above a) r m (r) b) if s = m (r), then i(s) = ri c) m (m (r)) = m (r) The condition on m () specified in part c) identifies it as a closure operation. Cf. closure of an interval of real numbers e.g. 1 < 05/15/09 2 20 CS319 Theory of Databases Lossless Join Decompositions 5 Proof of lemma a) let t r. Then i(t) ri showing that t 1(r) 2(r) ... k(r) = m (r) b) by part a) r m (r)=s, so that i(s) ri. But if t s, then projection of t onto sub-scheme Ri is in ri by definition of natural join, so that i(s) ri also. c) m (m (r)) = m (s) by definition of s = 1(s) 2(s) ... k(s) = 1(r) 2(r) ... k(r) = m (r) using definition of m and part b). 05/15/09 21 CS319 Theory of Databases Lossless Join Decompositions 6 Testing for lossless join decomposition assuming all data dependencies in R to be functional Input: A relation scheme R=A1A2 ... An, a set of functional dependencies F, and a decomposition = { R1, R2, ... , Rk } Output: is or is not a lossless join decomposition Construct table of 's and 's, and repeatedly transform the rows by taking account of the FDs until either one row is all 's or no further transformation is possible ... 05/15/09 22 CS319 Theory of Databases Lossless Join Decompositions 7 Testing for lossless join decomposition (cont.) Construct table of 's and 's, and repeatedly transform the rows by taking account of the FDs until either one row is all 's or no further transformation is possible ... Principle of algorithm: devise a symbolic representation for tuples s1, s2, ... , sk from R1, R2, ... , Rk respectively that are joinable, and for tuples t1, t2, ... , tk in R so that si is projection of ti onto Ri for each i. Impose all those 05/15/09 23 CS319 Theory of conditions on t1, t2, ... , tk that follow from the FDsDatabases in F. Lossless Join Decompositions 8 Testing for lossless join decomposition (cont.) Construct table of 's and 's, and repeatedly transform the rows by taking account of the FDs until either one row is all 's or no further transformation is possible ... Principle of algorithm: devise a symbolic representation for tuples s1, s2, ... , sk from R1, R2, ... , Rk respectively that are joinable, and for tuples t1, t2, ... , tk in R so that si is projection of ti onto Ri for each i. Impose all those 05/15/09 24 CS319 Theory of Databases Lossless Join Decompositions 9 Method of testing for lossless join decomposition 1. Construct a table with n columns (corresponding to attributes) with k rows (corresponding to sub-schemes) Initialize the table at row i column j by entering j if attribute Aj appears in Ri and by entering ij otherwise NB 's represent joinable tuples, padded out to R by 's 05/15/09 25 CS319 Theory of Databases Lossless Join Decompositions 10 Method of testing for lossless join decomposition (cont.) 2. Repeatedly modify the table to take account of all dependencies until no further updates occur i.e. if X Y and two rows agree on all the attributes in X then modify them so that they also agree on all attributes in Y. Explicitly, change attributes in Y thus: if one symbol is an i make the other an i if both symbols are of form *j make both ij or i'j arbitrarily. On termination declare lossless join if and only if one of the rows is 1 2 ... n. 05/15/09 26 CS319 Theory of Databases Lossless Join Decompositions 11 Illustrative example Verify the decomposition SCAIP = SIP SC CA is a lossless join .... Initial table S C A I P SIP 1 12 13 4 5 SC 1 2 23 24 25 CA 31 2 3 34 35 Functional dependencies are S C, C A, S I P 05/15/09 27 CS319 Theory of Databases Lossless Join Decompositions 12 Illustrative example Functional dependencies are S C, C A, S I P and from these arrive via stage 2 of algorithm at table: S C A I P SIP 1 2 3 4 5 SC 1 2 3 24 25 CA 31 2 3 34 35 at which point no further dependencies apply. Row 1 shows that the result is lossless 05/15/09 28 CS319 Theory of Databases Lossless Join Decompositions 13 Principle of the lossless join algorithm illustrated ... Consider the example: in the initial table S C A I P SIP 1 12 13 4 5 SC 1 2 23 24 25 CA 31 2 3 34 35 ... the rows can be seen as representing generic tuples from SIP, SC and CA that are joinable (i.e. agree on all common attributes). The join of these three tuples will necessarily be 1 23 45. 05/15/09 29 CS319 Theory of Databases Lossless Join Decompositions 14 Principle of the lossless join algorithm illustrated ... Key question: are the functional dependencies enough to ensure that 1 23 4 5 is itself a tuple in the relation SCAIP? After modification to take account of all FDs, suitable tuples matching the template for equality of values in the 3 rows in the table define a valid extensional part for SCAIP: c...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

W. Alabama - GE - 121
234 0 0 0 04 0 0 1 14 1 1 1 04 0 0 0 04 0 1 0 16 0 0 0 0 0 06 0 1 0 0 0 06 0 0 0 0 0 06 0 0 0 0 0 06 0 0 0 1 0 06 0 1 0 0 0 06 0 0 0 0 0 06 0 0 0 0 0 06 0 1 0 0 0 06 0 0 0 0 0 06 0 0 1 0 1 06 0 0 0 0 0 06 0 0 0 0 0 06 0 1 0 0 0 16
W. Alabama - GE - 121
2 3 3 1 1 -15 -33 847 1 -6 11 -6 1 -3 3 -1 1 20 0 -60028 -9 0 1 1 0 21 342 1 0 -1 2 4 16 -9 -36 4 20 -23 6 3 -26 52 -2454 -39 -26 16
W. Alabama - GE - 121
SOLUTIONS TO SPECIAL TUTORIAL QUESTIONS = 1.#include &lt;iostream.h&gt;#include &lt;fstream.h&gt;#include &lt;iomanip.h&gt;#include &lt;math.h&gt;float height(double t){ return(90+t*t*(2.125+t*t*(-0.00125+3.4078E-05*pow(t
W. Alabama - GE - 121
49609053 97626517 81133296 23949350 20857117 25323422 62143535 40342167 10112748 91431585 42390683 81883007 27949842 43022407 64208843 86703097 64272509 97815236 61629146 45912430 61371750 46036649 60332959 49852561 38241
Université du Québec à Montréal - K - 20145
Gothic and HorrorHistory of gothicism Characteristics of gothicism Horror as a genre Werewolves as a metaphor for the dark half. architecture literature Gothic architecture 12th to 16th Century Mainly churches, cathedrals Narro
Université du Québec à Montréal - K - 20250
M MC68000 INSTRUCTION SET SUMMARY MNEMONIC CODES OPERATION ASSEMBLER SYNTAX CONDITION -C -ABCD Add Decimal With Extend ABCD Dy,Dx * ABCD -(Ay),-(Ax) ADD Add Binary ADD &lt;ea&gt;,Dn * ADD Dn,&lt;ea&gt; ADDA Add Address ADDA &lt;ea&gt;,An ADDI Add Immediate ADDI #&lt;data
W. Alabama - C - 123
16 Chemical EquilibriumReactions seldom go complete such that one of the reactants is exhausted as we have discussed in stoichiometry and limiting reagent. Instead, they are mostly reversible. For example, CO (g) + 3 H2 (g) CH4 (g) + H2O (g) The tw
W. Alabama - C - 120
6 GasesA gas expand to occupy the entire volume it is placed in. Molecules in a gas translate freely between collisions, and they all behave alike regardless of their type. What are some of the properties of gases? Pressure, temperature, heat capaci
Allan Hancock College - OMAA - 200312
Western Australia Offshore Minerals (Consequential Amendments) Act 2003 Western Australia Offshore Minerals (Consequential Amendments) Act 2003 CONTENTS
Université du Québec à Montréal - ACT - 4545
Illustration: impact de la charge de retraite sur les revenus et le bilan de l'entreprise Donnes de base .Encaisse Oprations de l'anne : -Revenus de l'anne -Charge de retraite -Cotisations employeur : 1 000 000$ : 2 000 000$ : 300 000$ : 400 000$I.
W. Alabama - HLTH - 350
Lung Toxicity - 2A: Acute Lung Toxicity pulmonary irritants acute exposure - rapid onset, but brief duration of action often reversible (if damage not severe) series of processes exposure -&gt; tissue damage -&gt; secondary effects -&gt; repair -&gt; remod
W. Alabama - HLTH - 350
Lung Toxicity - 3A: Chronic Lung Disease basic principles chronic lung diseases continuous exposure or repeated exposure over long time duration (years) airborne particulates -&gt; accumulation in lung airways and parenchyma cumulative dose = low ex
Allan Hancock College - CCAETOB - 2003639
2002-2003 The Parliament of the Commonwealth of Australia HOUSE OF REPRESENTATIVES Presented and read a first time Criminal Code Amendment (Hezbollah External Terrorist Organisation) Bill 2003 No. , 2003 (Mr Crean) A Bil
W. Alabama - PSYCH - 398
Forgetting Reduces False Remembering: Item Method Directed Forgetting of DRM ListsKathleen Hourihan False Memories Deese, 1959; Roediger &amp; McDermott, 1995 DRM Hill, valley, climb, summit, top, molehill, peak, plain, glacier, goat, bike
W. Alabama - PSCI - 332
e-GovernmentInternal Effects The Policy Implications March 11, 2002ICTs Potential Policy Uses informationdissemination information gathering from the public (e-input, e-democracy) from the InternetICTs, Information Gathering, and Public
W. Alabama - ENVE - 100
Supplemental Notes: Lecture 4 Stadia ENV.E. 100Proposed Remediation of Laurel LakeBooking Your Work (points of interest)Sta BS/HI Stadia Interval Instrument located over Hub A1 BM A2 1 2 3 4 1.01 335.61 1.532 0.532 1.151 1.091 1.513 1.093 1.100 0
W. Alabama - ENVE - 100
CIV.E. 125 - Civil Engineering Concepts ENV.E. 100 - Environmental Engineering Concepts Title Block and Border DrawingOverview: This tutorial provides the student with his/her first introduction to AutoCAD. As the course progresses, a number of figu
Purdue - STAT - 301
LAB4 INSTRUCTIONS FOR EXCEL 2003 SCATTERPLOTS AND CORRELATION NAME_LAB TIME_LAB BLDG_ 1. 2. Go to the Stat 301T webpage, click on Lab Data and Questions and open the Lab 4 Data file. The file consists of three columns. Column B shows the total of mor
W. Alabama - ENVE - 321
ENVE 321Tutorial 13Spring 2004Tutorial Session #13Wayne JenkinsonReview of Assignment 8Question 8.1 problems with application of boundary conditions Question 8.2 MUST show your derivation. It's not just a Maple problem. Question 8.3 nee
W. Alabama - ECE - 380
G p ( s) =10 s( s + 1)( s + 2), includes required low frequency gain of 10. Required m = 45o Design Lead and Lag CompensatorsMagnitude Plot for Lead-Lag Example A40200-20 Magnitude, db-40-60-80-100-120 -1 1010010 Frequen
Université du Québec à Montréal - R - 25431
Registration Form (Fill , print and fax to Ren Roy, (514)987-4054)December 5-7, 2003, Department of Chemistry, UQAM, Qubec Conference registration includes: Attendance at Conference sessions Attendance at Poster sessions Refreshments during coff
UPenn - VHM - 801
Exercises 11.35-36:-Data on taste and chemical composition of cheese, 30 cheddar cheese samples wereanalyzed. The outcome of interest is Taste, a score obtained by combiningseveral tasters. The predictors of interest are Acetic, H2S and Lactic; a
East Los Angeles College - ES - 352
35201.1st partCustomer requirements might be as follows &quot;Good&quot; tea: boiling water added to tea (not vice versa), allowed to stand to brew Water is to be boiled before adding to any other ingredients Ingredients should be easy to set up correctl
Université du Québec à Montréal - K - 23065
FROM WEAK SIGNALS TO DECISION MAKING: INFORMATION ACQUISITION AND USE AS THE ENTREPRENEUR'S SOURCE OF OPPORTUNITIES Pierre-Andr Julien and Ivan Vaghely Institut de recherche en PMEUniversit du Qubec Trois-RiviresABSTRACT A survey of the literatur
Université du Québec à Montréal - K - 23065
FROM WEAK SIGNALS TO STRATEGY FORMATION: A THIRD PIECE OF THE PUZZLE Pierre-Andr Julien and Ivan Vaghely Institut de recherche sur les PMEUniversit du Qubec Trois-RiviresABSTRACT Rich information is information that alters its owner's perception
Université du Québec à Montréal - R - 26710
Le soiRobert J. Vallerand, Ph.D.Le soi1. Qu'est-ce que le Soi ? 2. Le Soi comme contenu a) Concept de soi b) Estime de soi c) Schmas sur le soi 3. Les dterminants du Soi a) Sources interpersonnelles b) Contexte social c) Observation personnelle d
W. Alabama - AFM - 371
Review Questions How would you evaluate a capital lease through incremental cashflow approach? Give the incremental cashflow from the perspective of lease vs. buy.A: CF to lease: (1) Lease payments; (2) Depreciation and asset disposal; CF to buy:
Rush - IFT - 734
Statecharts for the many: Algebraic State Transition DiagramsMarc Frappier GRIL Groupe de recherche en ingnierie du logiciel1Plan Statecharts and information system specifications ASTD : Algebraic State Transition Diagrams Semantics of A
Rush - IFT - 232
Standards IEEE IEEE Software Engineering Standards Collection (SESC) Software Engineering Body of Knowledge (SWEBOK) Alternatives Four-Object Organization Process organization Topical organizationSWEBOK Software Requirements Softw
Rush - IFT - 232
Extreme ProgrammingSylvain Giroux October 3rd, 2000PlanThe Problem to Solve XP: What? Why? When? &quot;X&quot; ? Software MethodolgyVariables Values Rules PracticesReferencesRisk: The Basic ProblemSoftware developmentfails to deliver, and fails to d
Rush - IFT - 232
IFT232 Mthodes de conceptions oriente objetsPartiel I Hiver 2005 Date : lundi 14 fvrier 2005 Heure : 15 h 30 16 h 30 Note :./100 points Toute documentation permise. Professeur : Sylvain GIROUX Locaux : D7-2009Premire partie : Principes et lment
Rush - IFT - 232
IFT232 Mthodes de conception oriente objets Partiel III Refactorisation et design patternDate : mardi 22 mars 2005 Heure : 13 h 30 15 h 30 Note :./100 points Toute documentation permise. Remarques : Ne faites que le design minimal requis pour qu
Rush - IFT - 785
Metaclasses are First Class Objects: the ObjVlisp ModelThe class concept invented by Simula and reimplemented by Smalltalk to express the behavior of a set of objects which share the same semantics operating on the same attributes. a mould manu
Rush - IFT - 232
Standards IEEE IEEE Software Engineering Standards Collection (SESC) Software Engineering Body of Knowledge (SWEBOK) Alternatives Four-Object Organization Process organization Topical organizationSWEBOK Software Requirements Softw
Rush - IFT - 232
JUnitTest Infected: Programmers Love Writing TestsA little test, a little code, a little test, a little code.Problem statementRepresenting arithmetic with multiple currencies You cannot just convert one currency into another for doing arithmetic
Rush - IFT - 232
IFT232 Conception oriente objetsDate : samedi 24 fvrier 2007 Heure : 13h30 - 15h20 Local : D7-2023 Note :./100 points Toute documentation permise. Professeur : Sylvain GIROUXtude de casVous avez t engag pour dvelopper un systme de tlphonie. Diff
Rush - IFT - 785
JUnitThe frameworkGoal of the presentationshowing the design and construction of JUnit, a piece of software with proven valueGoals of JUnitto write a framework within which developers will actually write testsThe framework has to use
Rush - IFT - 785
IFT 232 Mthodes de conception oriente objets Sance d'exercices I Date : Semaine 1 Thmes abords : Le langage Java, la rflexivit, les exceptions Quelques questions sur le langage Java 1. Si la classe Point possde une sous-classe, par exemple Tortue, qu
Rush - IFT - 785
Proposition de projet pour le cours de programmation approches orientes objet.Projet : C4C ou la collaboration pour collaborer IntroductionL'volution de l'informatique diffuse permet aujourd'hui d'envisager des environnements dits intelligents r
Rush - IFT - 702
IFT 615 Intelligence ArtificiellePlanification MarkovienneFroduald Kabanza Dpartement d'informatiqueUniversit de Sherbrooke http:/dmi.usherb.ca/~kabanzaObjectifs Pouvoir modliser un problme de planification probabiliste par des processus de d
Rush - IFT - 702
IFT 702 Planification en intelligence artificielle Planification de tches (approche SHOP)Froduald Kabanza Dpartement d'informatique Universit de Sherbrooke www.dmi.usherbrooke.ca/~kabanzaPlanification par rseaux de tches hierarchiques Hierarchical
Rush - IFT - 702
; ; ; Copyright (c) 2004 Froduald Kabanza ; Robot problems ; (declare (usual-integrations) ; ; ICAPS'05 domain ; -| ; |r1 |r2 |r3 |r4 | ; | | | | | ; | | | | | ; | | | | | ; | | | | | ; |-| |-|-| |-|-| |-|-| |-; |c1 |c2 | ; | | ; --| ; ; out ; (set!
Rush - IGL - 501
Calcul de la somme d'un vecteurSpcification abstraites &lt;- op(v) = PRE v : 0.k -&gt; NAT THEN s := SIGMA i (i : 0.k | v(i) ENDSpcification concrtes &lt;- op(v) = VAR j,t IN j := 0; t:= 0; WHILE j /= k+1 DO
Rush - IGL - 501
Recherche linaire dans un vecteurDefinitions v' = v \/ {k+1 |-&gt; x}Spcifications &lt;- f(v,x) = PRE v : 0.k -&gt; NAT &amp; x : NAT THEN IF x : ran(v) THEN ANY i WHERE i : 0.k &amp; v(i) = x THEN s := i END ELSE s :=
Rush - IGL - 501
igl501 - devoir 4Quelques proprits que vous pouvez utiliser pour faire les preuvesi) (A \/ B)~ = A~ \/ B~ii) A &lt;: B &amp; C &lt;: D &amp; B /\ D = {} =&gt; A /\ C = {}iii) rng(r) &lt;: A =&gt; r;id(A) = riv) id(A)~ = id(A)v) (r1 ; r2 )~ = r2~ ; r1
Rush - IFT - 451
M 50 52clr 12 14 29 30 31coin1 12 15 16 17 18 19 21 22 23 24coin2 12 16 17 18 19 20 21 22 24cube 12 30 31deuxCubes 29 39deuxCubesJaunes 8 38etoiles 9 55 61m 44 45 47 50 52modulo 44 47 51n 44 45 46 47nb 55 56 61nbAlea 50 59ob
Rush - IGL - 301
Gestion intgre de projetsMarc Frappierprofesseur Dpartement d'informatique marc.frappier@usherbrooke.cahttp:/www.dmi.usherb.ca/~frappierMario RichardDirecteur de Projets IBM Canada Services Mondiaux1Plan du sminaire Introduction Mod
W. Alabama - HLTH - 210
Sample Exam Questions These are from 1999 and 2000 Note that I did not teach the course those years. In fact, there were two different instructors. The questions should help your review. I do not have a copy of the desired answers, though they wi
W. Alabama - AFM - 372
Review Questions1. Over the last 30 years, the proportion of the market value of stocks held by pension funds has increased substantially. Holding everything else constant, what implication does this trend have for dividend policy in the aggregate a
W. Alabama - PSYCH - 336
Current Issues In Clinical Psychology Models of Training Scientist Practitioner (Ph.D.) Practitioner (Psy.D.) Supply &amp; Demand Professional Regulation &amp; Credentialling Certification Licensing DiplomateCollege of Psychologist of Ontario App
W. Alabama - PSYCH - 336
Not Criminally Responsible (NCR) M'Naughton Standard1. Appreciation of the nature &amp; quality of the act. 2. Not knowing the act was wrong, by reason of mental illness.Criminal Code for NCR1. That D committed the act or made the omission that fo
W. Alabama - HLTH - 350
Reproductive Toxicity - 7B: female reproductive hazards in the workplace female reproductive hazards are more complex than male 2 types of toxic processes can lead to adverse reproductive outcomes reproductive toxicity- interferes with female repr
Rush - IFT - 187
'Bernard'; 'A' ; 'Schmidt' ;1650114258456; '1965-01-09; '72 rue Fardre, Les Ulis' ;5; 'M' ;30000;1551275145237;5'Thierry'; 'B' ; 'Wong' ;1551275145237; '1955-12-08' ; '12 route des Grves, Les Ulis;5' ; 'M' ;40000;1371184245901;5'Jeanne'; 'C' ; 'Zao
Rush - IFT - 359
LIBRAIRIE SRPERSISTQuelques notations importantesODBC: Qu'est-ce que c'est? Open DataBase Connectivity (ODBC) est une API (application programming interface : interface de programmation d'applications) qui permet aux applications d'accder aux donne
W. Alabama - ECE - 355
ECE 355: Software EngineeringCHAPTER 8Instructor Kostas Kontogiannis1Course outline Unit 1: Software Engineering Basics Unit 2: Process Models and Software Life Cycles Unit 3: Software Requirements Unit 4: Unified Modeling Language (UML) Un
W. Alabama - ECE - 355
ECE 355: Software EngineeringCHAPTER 8Instructor Kostas Kontogiannis1Course outline Unit 1: Software Engineering Basics Unit 2: Process Models and Software Life Cycles Unit 3: Software Requirements Unit 4: Unified Modeling Language (UML) Un
W. Alabama - ECE - 355
ECE 355: Software EngineeringCHAPTER 8Instructor Kostas Kontogiannis1Course outline Unit 1: Software Engineering Basics Unit 2: Process Models and Software Life Cycles Unit 3: Software Requirements Unit 4: Unified Modeling Language (UML) Un
W. Alabama - PSCI - 260
Class Politics in CanadaNovember 27, 2001Understanding Class What is It? subjectivevs. objectiveclass cleavages can exist and be important determinants of politics without people defining their interests primarily in terms of class social
W. Alabama - PSCI - 260
PSCI 260A: Canadian Politics 1An Analysis of the Political Environment.Context and Cleavages context= surrounding conditions (climate) change slowly partly exogenously determined history non-domestic influences elements of the Cana
W. Alabama - PSCI - 110
Electoral SystemsEnsuring Representation, Ensuring Stability March 25th, 2004Electoral Systemsare never neutralhelp ensure certain outcomes and make other outcomes less likely the question which type of outcome do different electoral systems
W. Alabama - ME - 362
ME 362Compressible Flow with Shock WavePage 1 of 4Pressure Distribution Along a Converging-Diverging Duct:PoPexitPbackP/Po 1 P*/Po Subsonic Sonic Shock C A D E F B G exit xSupersonicthroatshockDepends on the back pressure (Pback