20 Pages

GP

Course: CS 446, Fall 2009
School: W. Alabama
Rating:
 
 
 
 
 

Word Count: 593

Document Preview

to Introduction Generative Programming Michal Antkiewicz mantkiew@swen.uwaterloo.ca Overview What is Generative Programming? GP Process Technology Projections Object Technology Component Technology Feature Modeling Exercise Specialization MDA What is Generative Programming? "... is a software engineering paradigm based on modeling software system families such that, given a...

Register Now

Unformatted Document Excerpt

Coursehero >> Alabama >> W. Alabama >> CS 446

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.
to Introduction Generative Programming Michal Antkiewicz mantkiew@swen.uwaterloo.ca Overview What is Generative Programming? GP Process Technology Projections Object Technology Component Technology Feature Modeling Exercise Specialization MDA What is Generative Programming? "... is a software engineering paradigm based on modeling software system families such that, given a particular requirements specification, a highly customized and optimized intermediate or end-product can be automatically manufactured on demand from elementary, reusable implementation components by means of configuration knowledge" [Cza02] Generative Programming Process Two parallel processes: development for reuse development with reuse Introducing GP is not always profitable Development For Reuse Create generative domain model (means of specification of members, implementation components and configuration knowledge) Capture the scope of system family Capture commonalities and variation points feature modeling Design and implement a system family model Choose common architecture, Provide means of specifying family members, Capture configuration knowledge in a generator, Implement a model using generative technologies. Technology Projections This is a recursive process. One's solution space may be someone's else problem space. Object Technology Why it does not suffice? classes are too small units of reuse, frameworks are sufficiently large units of reuse, but frameworks from different vendors do not integrate well, design patterns are pieces of reusable knowledge, but they do not exist as executable code. GP supports better software and knowledge reuse. Component Technology Ongoing development improves component interoperability Reusing small components does not have a large impact on software development, and large components require high customization efforts, Problem with fat components, In GP, rather having than to search for needed components by name, they are generated to support required features. Feature Modeling Part of the Development for Reuse process, The goal is to find commonalities and variation points in system family, Feature diagrams are the basis for deriving the categories of implementation components, Choosing a concrete member of system family is called specialization and provides input for generator. Feature Modeling: Mandatory Feature Feature Modeling: Optional Feature Feature Modeling: Exclusive-Or Feature Modeling: Inclusive-Or Feature Modeling: Open Feature Exercise: Family of Counters Detailed requirements: support a fixed and variable increment, the value of fixed increment can be 'statically' specified, support different counter value types (short, int, long), assume, that more value types can be added, may optionally support manual or automatic reset (or both); automatic reset is activated, when the counter value exceeds a reset limit, the reset limit can be 'statically' specified. Draw feature diagram for family of counters and count the number of valid family members. Counter Family Feature Diagram...

Textbooks related to the document above:
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 - CS - 448
University of Waterloo Midterm Examination #1 Model SolutionSpring, 20071. (12 marks) Suppose that a database includes two relations, R and S. Relation R has NR tuples and occupies BR blocks on the disk. Relation S has NS tuples and occupies BS blo
W. Alabama - CS - 349
CS349/SE382 January 26, 2005Model-View-ControllerInterface/BWS Interaction Implementing call-backs Components 1/5 CS349/SE382 January 26, 2005The X ModelXclient, Xserver Standard program model Which has the BWS? OS? Run-time? Shell? Authe
W. Alabama - CS - 349
CS349/SE382 February 4, 2005User Interface DescriptionsInterface characteristics controllable: controller observable: view 1/6 CS349/SE382 February 4, 2005State Machine ExampleThree state button disabled inactive on the brink State charts
W. Alabama - CS - 349
CS349/SE382 January 24, 2005PhilosophyTrends in User Interfaces Everything has a user interface 1/6 CS349/SE382 January 24, 2005Main Event LoopInput to Output Single-threaded model Keyboard/mouse focus 2/6 CS349/SE382 January 24, 200
East Los Angeles College - SOEE - 1300
SOEE1300 Inter Maths for Environmental Sciences: 2007/2008 session Examples 3: Deadline 22nd November "A" questions are for lectures. "B" questions are for practice and should not be handed in. "C" questions are for assessment and should be handed in
W. Alabama - CS - 349
CS349/SE382 January 14, 2005Graphics AbstractionsThe Hardware Abstraction Sharing the Display The Graphics Model 1/5 CS349/SE382 January 14, 2005Abstracting the HardwareSurface to Draw on canvas (drawable, grafport, view, GDI, CDC, &c) co
W. Alabama - CS - 781
Assignment 1: Monitor Characterization=Goal -To create a monitor model that predicts the monitor RGB values required to display given tristimulus values (CIE XYZ).What to Do -1. Using a colorimeter, measure and record tristimulus values
W. Alabama - ECE - 309
POISSON1WEB.TEXECE 309 M.M. YovanovichGeneral Solution of Poisson's Equation for Plane Wall, Long Solid Circular Cylinder and Solid SphereThe general Poisson equation r2T = ,S=k with appropriate boundary conditions, and the general solution whic
W. Alabama - ECE - 309
WK6TPCSWEB.TEXECE 309 M.M. YovanovichWeek 6 Lecture 1Natural convection from isothermal UWT long horizontal circular cylinder of diameter D. General boundary layer correlation equation. See Table C.8 of the text. NuD = C GrD Prn = C RaD n where
W. Alabama - ECE - 309
WK1TPCSWEB.TEXECE 309 M.M. Yovanovich Week 1 Lecture 1Information provided: Instructor: M.M. Yovanovich, CPH 3375C X3588, E3-2133A, X6181 or X4586 email: mmyov@mhtl.uwaterloo.ca Teaching Assistants: Yuri Muzychka, E3-2133A, X6181; email: yuri@mhtl
W. Alabama - ECE - 309
WK8TPCSWEB.TEXECE 309 M.M. YovanovichWeek 8Lecture 1Zeroth Law of Thermodynamics. Temperature scales: Fahrenheit: F , Celsius: C Absolute temperatures: Rankine: R, and Kelvin: K See Website for relationships and conversions between the variou
W. Alabama - ECE - 309
WK7TPCSWEB.TEXECE 309 M.M. YovanovichWeek 7Lecture 1Radiation View Factor Some examples of nding relationships for F12 or F21 Radiation exchange between two isothermal, gray surfaces: A1; 1; T1 and A2; 2; T2: 1 _ Q12 = EbR, Eb2, , Rtotal =
W. Alabama - ME - 303
PROJ1S99.TEXME 303 Advanced Engineering Mathematics M.M. YovanovichProject due date is Friday, June 4 at 9:30 AM The following linear, second-order, nonhomogeneous partial di ferential equation PDE was derived using circular cylinder coordinates:
W. Alabama - ECE - 309
UNIVERSITY OF WATERLOO Department of Electrical Engineering ECE 309 Thermodynamics and Heat Transfer for Electrical EngineeringMid-Term Examination M.M. Yovanovich Spring 1998 June 10, 1998, 5:00-7:00 P.M.NOTE:1. Open book examination. You are pe
W. Alabama - ME - 353
FINSWEB.TEXME 353 M.M. YovanovichFins or Extended SurfacesFins or extended surfaces are used to increase the heat transfer rate from surfaces which are convectively cooled by gases air under natural or forced convection. The characteristics of n
W. Alabama - ME - 353
SUMMARY.TEXSUMMARY OF CONVECTION CORRELATION EQUATIONS ME 353 Heat Transfer 1 Department of Mechanical Engineering University of Waterloo M.M. Yovanovich November 10, 1997The attached material is a summary of some of the important results for for
W. Alabama - ME - 353
WK4TPCSWEB.TEXME 353 M.M. YovanovichWeek 4Hand out Project 1. Due Friday, October 16, 12 Noon. Extended surfaces or ns; temperature is one-dimensional T x when Bi = hte=k 0:2 where the e ective n thickness is de ned as te = A=P ; where P is the
W. Alabama - ME - 353
WK9TPCSWEB.TEXME 353 M.M. YovanovichWeek 9Makeup lecture 3. Week 8 lecture summary and several pages of summary of convective heat transfer correlations are available in Engineering Photocopy Center. Pick up and bring to future lectures. See Ap
W. Alabama - ME - 353
WK7TPCSWEB.TEXME 353 M.M. YovanovichWeek 7Lecture 1Read Chapter 5: Sections 5.1 - 5.8. Lumped Capacitance Model LCM Bi = hL=k 0:2; T ~; t = T t r System parameters: _ _ V; S; ; cP ; k; ; h; Ti; Tf ; Tsurr; qin; Egen; Estorage; Qconv; Qrad Ene
W. Alabama - ME - 353
WKxTPCSWEB.TEXME 353 M.M. YovanovichWeek 11ME 353 Heat Transfer Lab begins on Monday. See signup sheet. Forced internal laminar and turbulent convection in circular and noncircular tubes, pipes and ducts. See handout for de nitions of local and
W. Alabama - ME - 353
WK1TPCSWEB.TEXME 353 M.M. Yovanovich Week 1 Lecture 1Information provided: Instructor: M.M. Yovanovich, CPH 3375C X3588, E3-2133A, X6181 or X4586 email: mmyov@mhtl.uwaterloo.ca Teaching Assistants Mirko Stevanovic, E3-2133A, X6181; email: mirko@mh
W. Alabama - ME - 353
WK2TPCSWEB.TEXME 353 M.M. Yovanovich Week 2 Lecture 1Solutions to problems are available in Engineering Photocopy Center. First makeup lecture: Thursday, 8:30 AM, CPH 3385. Discuss the ME 353 Website. Calendar, Assigments, Projects, Exams, Lecture
W. Alabama - ME - 353
DEPARTMENT OF MECHANICAL ENGINEERING ME 353 HEAT TRANSFER 1UNIVERSITY OF WATERLOODecember 9, 1996 M.M. YovanovichTime: 9-12 A.M.Three-hour Closed Book Final Examination. Two crib sheets both sides are permitted. All questions are of equal val
W. Alabama - ME - 353
SUMTABLE.TEXME 353 HEAT TRANSFER I SUMMARY OF CONVECTION CORRELATION EQUATIONS Laminar and Turbulent Forced External Flow Flat Plate, Laminar Boundary Layer Flow= 5xRe,1=2 x Cf;x = 0:664Re,1=2 x f;x = 1:328Re,1=2 C x = Pr,1=3 Nux = 0:3387Pr1=3 Re
W. Alabama - ME - 353
UNIVERSITY OF WATERLOO DEPARTMENT OF MECHANICAL ENGINEERING ME 353 HEAT TRANSFER 1 October 25, 1991M.M. YovanovichTime: 4:30-6:30 p.m.Two-hour Closed Book Mid-term Examination. You are allowed one crib sheet both sides and the solutions to part
W. Alabama - ME - 353
WK13TPCSWEB.TEXME 353 M.M. YovanovichWeek 13Last lecture of the term. Hand in laboratory writeup to the teaching assistants. Ignore the problems for Chapter 11 which deals with Heat Exchanger Design. This topic will be covered in second heat tr
W. Alabama - ME - 353
WK12TPCSWEB.TEXME 353 M.M. YovanovichWeek 12Lecture 1See website for Maple worksheets for air properties correlation equations, and natural convection calculations. Natural convection across annular space bounded by two isothermal horizontal
W. Alabama - ME - 353
WK10TPCSWEB.TEXME 353 M.M. Yovanovich Week 10 Lecture 1Pick up material on Summary of Convection Correlation Equations. Forced External Convective Heat Transfer. Correlation equations for external natural convection: vertical at plate; horizontal
W. Alabama - ME - 353
WK6TPCSWEB.TEXME 353 M.M. YovanovichWeek 6Lecture 1Cancelled for midterm exam. Friday, October 23, 4:30-6:30 PM in CPH3374 3388.Lecture 2Cancelled for midterm exam.Lecture 3Cancelled for midterm exam.
East Los Angeles College - MATH - 1825
MATH1825 Statistics Through Applications Reading listUniversity of Leeds School of Mathematics Semester 2 20091. Baxter, P. D., (2008), MATH1825 Statistics Through Applications [Online], [Accessed on 10th August 2007], Available from World Wide W
W. Alabama - ME - 353
WK5TPCSWEB.TEXME 353 M.M. Yovanovich Week 5 Lecture 1 Lecture 2Monday, October 12 lecture cancelled for Thanksgiving Day. Resistance of truncated cone of length L, and radii a; b where b a with restriction: b , a=L 1. Thermal conductivity depends
East Los Angeles College - MATH - 3802
MATH3802 Time Series Outline Solutions to Worksheet 2University of Leeds School of Mathematics Semester 2 2009Solution to Question 1 R commands:> births1=ts(scan("http:/www.maths.leeds.ac.uk/pdbaxt/math3802/births1.txt") Read 365 items > ts.plot
W. Alabama - ME - 353
WK8TPCSWEB.TEXME 353 M.M. Yovanovich Week 8 Lecture 1Provide midterm results. Problem 3 of midterm will be re-submitted at start of next lecture. Outline of the solution procedure to be followed.Lecture 2Hand in Problem 3. Half-space solutions
East Los Angeles College - MATH - 1825
MATH1825: Lecture 7Two sample non parametric tests1Two sample problems Suppose that we have two samples of data and we are interested in comparing their averages to see if there is a large difference between them. The samples are small in size
W. Alabama - ME - 353
WK3TPCSWEB.TEXME 353 M.M. YovanovichWeek 3ME 353 Web Site: Summary of week 2 topics are on the Web. Contact resistance: Rc = 1=hc A; see Table 3.1 for typical values of Rt;c; how to get hc, contact conductance, from Table 3.1; hc = 1=Rt;c W=m2K
East Los Angeles College - MATH - 1825
MATH1825 Statistics Through Applications Solutions to ExercisesUniversity of Leeds School of Mathematics Semester 2 2009Solution to Question 1 (a) The mean, median and quartiles are produced using the summary command: summary(midsize) Min. 1st Qu
W. Alabama - ME - 353
RADCONDWEB.TEXME 353 M.M. YovanovichRadiative ConductanceThe radiative conductance is de ned asQ hrad = A T 12 T 1 1, 2The radiative exchange between two isothermal gray surfaces is obtained from 1 Q12 = EbR, Eb2 total where Eb1 = T14, Eb2 =
East Los Angeles College - MATH - 1825
MATH1825: Lecture 4Power and sample size for the one sample t-test1How large a sample is needed? Size of sample affects: ability to detect an effect if it is present; cost of obtaining the information. We seek the smallest sample that will a
W. Alabama - ME - 353
UNIVERSITY OF WATERLOO DEPARTMENT OF MECHANICAL ENGINEERING ME 353 HEAT TRANSFER 1 October 26, 1990 M.M. YovanovichTime: 7-9 p.m.Two-hour Closed Book Mid-term Examination. You are allowed one crib sheet both sides and the solutions to partial di
W. Alabama - ME - 353
POISSONWEB.TEXME 353 M.M. YovanovichGeneral Solution of Poisson Equation for Plane Wall, Long Solid Circular Cylinder and Solid SphereThe general Poisson equation r2T = ,P =k with appropriate boundary conditions, and the general solution which
W. Alabama - ME - 353
DEPARTMENT OF MECHANICAL ENGINEERING ME 353 HEAT TRANSFER 1UNIVERSITY OF WATERLOODecember 8, 1997 M.M. YovanovichTime: 2-5 P.M.Three-hour Closed Book Final Examination. Two crib sheets both sides are permitted. Calculator is allowed. All ques
East Los Angeles College - MATH - 1825
MATH1825: Lecture 6One sample non parametric tests1Making decisions What are the key issues in hypothesis testing? the population and its properties; the hypotheses being tested; the sample properties (e.g. size); the test assumptions.2
W. Alabama - ECE - 309
UNIVERSITY OF WATERLOO DEPARTMENT OF ELECTRICAL ENGINEERING ECE 309 Thermodynamics and Heat Transfer for Electrical Engineering Mid-Term Examination M.M. Yovanovich NOTE:1. Open book examination. You are permitted to use your calculator, the text bo
East Los Angeles College - MATH - 3802
MATH3802 Time Series Background 1 (introduction & time series regression)University of Leeds School of Mathematics Semester 2 2009Types of time series Figure 1 shows that lynx numbers in years close together are similar.Lynx trapped0 182030
W. Alabama - ECE - 309
CONTWEB.TEXECE 309 M.M. YovanovichThermal Interface Joint Conductance and ResistanceDe nitionsThermal interface resistance occurs whenever two solids of di erent materials are brought together to form an interface. When there is steady heat tra
East Los Angeles College - MATH - 1825
MATH1825: Lecture 5Power and sample size for the two sample t-test1Two sample problems Suppose that we have two samples of data and we are interested in comparing their averages to see if there is a large difference between them. If the sample
W. Alabama - ME - 303
Laplace Transform M.M. YovanovichLAPLACE TRANSFORMThe Laplace transform of f x; t is de ned asL ff x; tg =and its inverse is de ned asZ01 ,st e f x; tdt = F x; ss 0L,1 fF x; sg =1 2iZ c+i1c,i1F x; sest ds = f x; tSummary of L
W. Alabama - ME - 303
WK1TPCSWEB.TEXME 303 M.M. Yovanovich Week 1 Lecture 1Information: Instructor: M.M. Yovanovich, CPH 3375C X3588, E3-2133A, X6181 or X4586 email: mmyov@mhtl.uwaterloo.ca Teaching Assistants: Rabih Alkhatib, CIM 2705, X3639; email: rfalkhat@engmail.u
W. Alabama - ME - 303
PROJ1S99SOL.TEXUNIVERSITY OF WATERLOO Department of Mechanical Engineering ME 303 Advanced Engineering Mathematics M.M. Yovanovich Project 1 Solution, June 4, 1999Given the linear, second order nonhomogeneous PDE: ! 1 @ r @T + S = 1 @T ; t 0; 0 r
W. Alabama - ME - 303
WK6TPCSWEB.TEXME 303 M.M. YovanovichWeek 6Lecture 1Midterm week. Lecture cancelled.Lecture 2Midterm week. Lecture cancelled.Lecture 3Midterm week. Lecture cancelled.
W. Alabama - ME - 303
WK13TPCSWEB.TEXME 303 M.M. YovanovichWeek 13Lecture 1Sturm-Liouville Problem. This material is usually covered in an ODE Course. See Spiegel's Text, Chapter 8, Section 2 See ME 303 Web site for Note on Sturm-Liouville Problem This proves the
W. Alabama - ME - 303
WK5TPCSWEB.TEXME 303 M.M. YovanovichWeek 5Lecture 1Sturm-Liouville Problem SLP Cartesian Coordinates. u = ux; y or u = ux; t. Partial di erential equations.uxx + uyy = 0; 0 x L; 0 y H 1D Di usion Equation: uxx = 1 ut; t 0; 0 x L 1D Wave Equ
W. Alabama - ME - 303
WK9TPCSWEB.TEXME 303 M.M. YovanovichWeek 9Lecture 1Lecture cancelled.Lecture 2Lecture cancelled.Lecture 3Lecture cancelled.
W. Alabama - ME - 303
WK8TPCSWEB.TEXME 303 M.M. YovanovichWeek 8Lecture 1Section 1.2: 1D Di usion equation Heat equation with homogeneous Neumann BCs. Section 1.3: 2D Laplace equation conduction problem in a semi-in nite plate with homogeneous Dirichlet BCs. Demons
W. Alabama - ME - 303
WK2TPCSWEB.TEXME 303 M.M. YovanovichWeek 2Lecture 1Hand out Problem Set 1. ODEs in cartesian, polar and spherical coordinates; TAs will discuss some solutions in the tutorials. Discuss how to obtain solution of homogeneous ODE in spherical co
W. Alabama - ME - 303
WK7TPCSWEB.TEXME 303 M.M. YovanovichWeek 7Lecture 1Return Project 1 Return Midterm Exam Exam and its solution are posted on Web site Examination Statistics Table 1: Midterm Exam Summary Q1 Q2 Q3 Exam Max. 30 40 30 98 Min. 8 8 10 46 Avg. 24.5
W. Alabama - ME - 303
WKxTPCSWEB.TEXME 303 M.M. YovanovichWeek 10Lecture 1Discussed the physics of the problem of Project 2. Used Maple to show the temperature plots as a function of dimensionless time. Solution procedure is based on the material covered in Sectio
Neumont - IFT - 3820
200 OK400 Bad Request301 Moved Permanently200 OK404 Not Found401 Authorization Required200 OK
W. Alabama - ME - 303
WK12TPCSWEB.TEXME 303 M.M. Yovanovich Week 12 Lecture 1Solution of ODEd + m = n; t 0; IC 0 = i dt where t = T t , T1, and the constants are: m = hA and n = qciA cpV pV where A = surface area, V = volume, qi = incident heat ux. Units are: h W=m
W. Alabama - ME - 303
WK3TPCSWEB.TEXME 303 M.M. YovanovichWeek 3Lecture 1Vibrating String and Membranes Rectangular and Circular. The 1-D wave equation for the string in cartesian coordinates is uxx = c12 utt; t 0; 0 x L It can be modi ed to include vibrations of
W. Alabama - ME - 303
ME 303 Advanced Engineering MathematicsSYMBOLIC MATHEMATICSSymbolic mathematics software packages have been developed over the past 25 years. The best known packages are MACSYMA, MAPLE, MATHEMATICA, MATHCAD, MATHSCRIBE, MuMATH,and DERIVE, REDUCE, S