Automatic Generation of Minimal and Safe Transactions in Conceptual Database Design

Size: px
Start display at page:

Download "Automatic Generation of Minimal and Safe Transactions in Conceptual Database Design"

Transcription

1 Automatic Geeratio of Miimal ad Safe Trasactios i Coceptual Database Desig M. A. Pastor, M. Celma-Giméez, L. Mota-Herraz Departameto de Sistemas Iformáticos y Computació; Uiversidad Politécica de Valecia Camio de Vera s/ E Valecia España Telephoe: (+34) Ext Fax: (+34) {mapastor mcelma lmota}@dsic.upv.es Abstract The coceptual desig of iformatio systems usig a Etity-Relatioship Model is geerally thought to be limited to static features. Nevertheless, may dyamic aspects ca be derived from a Etity- Relatioship diagram sice the specificatio of differet costraits etails a determied miimal structure o the trasactios that ca be applied to such a system. May attempts have bee made to combie the Etity-Relatioship Model with other represetatio formalisms i order to model dyamic features. I our work, we propose a algorithm that obtais the set of miimal ad safe trasactios that ca be performed o the system. A update (isert or delete) trasactio o a object is said to be safe if it icludes, besides the update operatio, all other operatios o ay system objects which are required to satisfy the itegrity costraits. A safe trasactio is said to be miimal if there is ot a subset of the trasactio which is safe too. The miimal ad safe trasactios are the basic uits that ca be used to specify the more complex trasactios which model user requiremets. 1. Itroductio The Etity-Relatioship (ER) Model [1] is a vastly exteded coceptual model, ad it seems to cotiue beig frequetly used, sice it is preset i the stadard UML class diagram. This fact justifies the curret iterest for extedig ER with behavioural capabilities, that is, procedures which care for itegrity costrait eforcemet after trasactio executio [8]. Whe the ER Model is used to create a database coceptual schema, a diagram is obtaied [3,7]. This diagram represets the etity types that costitute the iformatio system ad also icludes the relatioship types betwee them. Thus, the diagram models the structural features of the system. Each diagram occurrece represets a sapshot of the system state. The dyamic features that ca be modeled are reduced to a set of itegrit y costraits that limit the valid occurreces of the diagram ad the, the allowed trasitios of states. The most geeral costraits are depicted i the ER Model by meas of differet symbols. The miimal update trasactios o ay diagram object which are safe with respect to these costraits ca be determied from the ER diagram idepedetly of the system state [6]. A update trasactio is a trasactio for isertig or deletig a object (the modificatio of a object is cosidered i this paper as a deletio followed by a isertio). A update trasactio is safe if it icludes, besides the update operatio o the iteded object, all other operatios o ay diagram objects which are required for satisfyig the itegrity costraits. A safe update trasactio is miimal if there is ot a subset of the trasactio which is safe too. The set of costraits that are cosidered i this paper are the followig: - The implicit costrait of the ER Model which determies that a relatioship ca exist oly if the correspodig participat etities also exist. - The implicit costrait of the ER Model which determies that a etity of a - specialized etity type is also a etity of the geeral etity type. - The costraits which force the iclusio of a etity of a geeral etity type ito the specialized etity types (total specializatio). If this costrait is ot required, the specializatio is partial. - The costrait which forbids a geeral etity type to be icluded i more tha oe of the specialized etity types (disjoit specializatio). If this costrait is ot required, the specializatio is said to be overlapped. - The cardiality costraits which defie the miimum ad maximum participatio of etities i relatioships.

2 The implicatios that all these costraits have i the trasactio desig ca be aalysed directly o the diagram. The set of operatios that must costitute a update trasactio ca be derived from that aalysis. I this paper, a algorithm that obtais the set of miimal ad safe trasactios with respect to these costraits is proposed. For each etity type ad each relatioship type of the diagram, ad isert trasactio schema ad a delete trasactio schema are geerated. 2. A Exteded Etity-Relatioship Model The Exteded Etity-Relatioship (EER) Model used i this paper icludes symbols for etity types, relatioship types with cardiality costraits ad weak etity types [5]. It also icludes idetificatio, uiqueess ad o ull value costraits for the attributes. Fially, it icludes geeralizatio/specializatio for the etity types ad the participatio of the relatioship types i other relatioship types by meas of their defiitio as aggregated etity types. All these symbols ca be see i Figure 1: a) Etity type (E) b) Relatioship type (R). Card: R(E(1,),F(0,1)) c) Weak etity type (E) E E 1 R F E R 1 d) Aggregated etity type (R) E R S F e) Geeral (E) ad specialized (F, G, H) etity types X={T P}, Y={D O} E X,Y G F G H f) Attributes a a a a Ordiary Idetifier Uique Not Null Figure 1: EER symbols Some features of the model are: (a) The represetatio of relatioship types icludes the cardiality costraits. The expressio R(E(1,), F(0,1)) i Figure 1 meas that each occurrece of E relates to x occurreces of F (1? x? ) through R ad that each occurrece of F is related to y occurreces of F (0? y? 1). If the miimum cardiality of a etity type is equal to 1, the it is said to have the Existece Costrait (EC) i R. (b) Weak etity types deped o their participatio i oe or more relatioship types for their idetificatio. They take the idetifier attributes from the etities they are related to through those special relatioship types. (c) The specialized etity types are coected to the geeral etity type through a circle by a lie. The specializatio properties (total or partial, ad disjoit or overlapped) are specified i the circle. The EER Model icludes also a trasactioal laguage with operators to update objects. A isertio operator (is) ad a deletio operator (del) are defied for etity types ad for relatioship types. Also two operators for isertig ad deletig specializatios are defied. The sytax of these operators is the followig: - INS_ENT NAME_ENT_TYPE {WHERE CONDITION ATTRIBUTES ATTRIBUTE_ASSIGNMENT_LIST} - INS_REL NAME_REL_TYPE WHERE CONDITION [ATTRIBUTES ATTRIBUTE_ASSIGNMENT_LIST] - INS_SPE NAME_SPE_TYPE WHERE CONDITION [ATTRIBUTES ATTRIBUTE_ASSIGNMENT_LIST]

3 - DEL_ENT NAME_ENT_TYPE [WHERE CONDITION] - DEL_REL NAME_REL_TYPE [WHERE CONDITION] - DEL_SPE NAME_SPE_TYPE [WHERE CONDITION] The coditio i the previous operatios is a formula expressed i a logical laguage which is similar to the relatioal tuple calculus. This formula icludes oly oe free variable which is defied o the type of object which is affected by the operatio. The differet assigmets that make the formula true correspod to the occurreces that must be iserted or deleted by the operatio. I the case of etity isertio, the coditio is optioal ad it would oly make sese for isertios from other etity types. I the relatioship isertio, this coditio is madatory i order to istace the compoets of the relatioship occurrece that is to be iserted, because it is assumed that, to isert a relatioship, the etities that are goig to associate i it already exist. I the same way, the isertio of a occurrece i a subclass requires that the correspodig occurrece exists i the geeral etity type. I the case of deletio operatios, the coditio is optioal; whe it is ot icluded, the deletio is applied to all the occurreces of the object type. 3. Approach to the solutio I order to desig the algorithm to geerate the set of safe trasactios, two kids of EER diagrams ca be cosidered: those without cycles ad the oes with cycles. A cycle exists if a object type depeds, direct or idirectly, o itself for isertio. Iitially, oly the former are aalysed. I sectio 4.2, the latter are take ito accout. Below, the procedure outlie is iformally described; it will be developed later: 1. Isertio. (a) Etity type: if the etity type has the existece costrait i some relatioship type, it is also ecessary to isert a occurrece i this relatioship type. (b) Relatioship type: if the relatioship type participates as aggregated etity with existece costrait i aother relatioship type, it is ecessary to isert a occurrece i this latter relatioship type, also. 2. Deletio. Deletio operatios are defied i two ways: restrictive ad i-cascade. I the restrictive way, as the system cotrols which costraits are fulfilled, if the deletio is goig to leave the database i a icosistet state, the deletio will ot be allowed. I the icascade way, apart from the iitial deletio operatio, those object occurreces which cause a icosistecy are also deleted. The selectio of oe of these choices must be doe with respect to each object type i which the origial deleted object participates. (a) Etity type: i. Restrictive with respect to a relatioship type R: it oly icludes the operatio of etity deletio. ii. I-cascade with respect to a relatioship type R: i additio to the deletio operatio of the etity, the deletio of the occurreces from R where the deleted etity participates is icluded i the trasactio. (b) Relatioship type: the deletio ca be of two types, as i the case of etity types. i. Restrictive with respect to a etity or relatioship type: it oly icludes the operatio of relatioship deletio. ii. I-cascade with respect to a etity type E or to a relatioship type R: if a etity participatig i the relatioship to be deleted has the existece costrait i it, the, besides the relatioship deletio, it is ecessary to iclude the deletio from E for those cases i which the deleted relatioship occurrece is the last oe i which the etity participates. Furthermore, if the relatioship type participates as aggregated etity i aother relatioship type R, besides the previous deletio operatios, the deletio of the occurreces from R i which the aggregate etity takes part is icluded i the trasactio. I the i-cascade deletio, the operatios added to the trasactio ca require propagatio as well. This propagatio must be icluded i the trasactio.

4 I some cases, oly the i-cascade deletio is adequate; for example i the relatioship R(E(1,1), F(0,)) a restrictive deletio for E or R is ot possible. 4. Trasactio geeratio I this sectio, we preset a set of algorithms to achieve automatic geeratio of the miimal ad safe update trasactios for a give diagram. There are two possible approaches for desigig this set of trasactios. These approaches are preseted below usig the example i Figure 2. c0? c a0? a m r1 b0? b C 1 T 1 A R B Figure 2: EER example diagram The modular approach costructs a trasactio for each object type of the diagram (etity type or relatioship type) icludig oly oe operatio (isertio o deletio) ad, if it is ecessary, calls to other trasactios. Therefore, the trasactios oly take ito accout the operatio o their ow objects ad the adjacet objects that are ecessary. Two objects of a diagram are adjacet if they are located at the eds of the same lie (i this case, we will say the distace betwee the objects is 1). Whe the isertio trasactio is desiged for B, a call to the isertio trasactio i R must also be icluded i additio to the isertio i B. Some of the geerated trasactios are hidde. They are oly defied to be called from other trasactios, ad they are ot available to the system users. For example, the isertio trasactio i T is oly used by the isertio trasactio i A. This is because the cardiality costraits of A i T (maximum ad miimum equal to 1) prevet the T isertio trasactio from beig used aloe. The complete approach costructs each trasactio by icludig all the operatios that are ecessary o ay object, regardless of the distace to the iitial object i the diagram. Thus, a basic trasactio does ot iclude calls to other trasactios. I the example, apart from the isertio operatio i B, the isertio trasactio i B cotais the isertio operatio i R. Oly those trasactios that have to be available to the users are geerated. I the example, the isertio trasactio i T is ot geerated. The parameters of the trasactios are obviously the same i both approaches ad they are described as follows: - I the case of isertio ito a etity type, a parameter must appear for each attribute of this etity type. I the case of isertio i a relatioship type it is ecessary to iclude a parameter for each idetifier attribute of each participat etity type ad a parameter for each relatioship type attribute. However, if a isertio trasactio eeds to call other trasactios, the parameters of the latter must also be icluded with the parameters of the former. This problem is solved by the algorithm. - I the case of deletio, a parameter for each idetifier attribute of the object type to delete is eeded if it is a etity type. A parameter for each idetifier attribute of every compoet etity type is eeded if it is a relatioship type. The geerated trasactio for the isertio i A is preseted for both approaches.? TRANSACTION Modular_Is_A (a 0 x,?,a m x,c 0 x); Is_et A attributes a 0? a 0 x,?,a m? a m x; Modular_Is_T(a 0 x,c 0 x); TRANSACTION Complete_Is_A (a 0 x,?,a m x,c 0 x); VAR TX:T; Is_et A attributes a 0? a 0 x,?,a m? a m x; Is_rel T where A(TX.A)?TX.A.a 0 =a 0 x?? C(TX.C)?TX.C.c 0= c 0 x;

5 The i-cascade deletio trasactio of the etity type A with respect to ay object appears below i the modular ad complete approaches TRANSACTION Modular_Del_A (a 0 x); VAR AX:A; Del_et A where AX.a 0 =a 0 x; Modular_Del_T(a 0 x,-); Modular_Del_R(a 0 x,-); TRANSACTION Complete_Del_A (a 0 x); VAR AX:A, TX: T, RX:R, BX:B; Del_et A where AX.a 0 =a 0 x; Del_rel T where??ax(a(ax)?tx.a=ax); Del_rel R where??ax(a(ax)?rx.a=ax); Del_et B where??rx(r(rx)?rx.b=bx); I the example, o the oe had, the deletio of a etity from the etity type A forces the deletio of a occurrece from the relatioship type T; o the other had, sice the i-cascade deletio has bee chose for relatioship type R, the it is ecessary to delete the occurreces i which the deleted etity participates. Fially, due to the miimum cardiality costrait of the etity type B i R (equal to 1), ay deletio from R determies the deletio of the participat etity from B. A call to a trasactio does ot require all its parameters to be istaced. Thus, i the call Modular_Del_R(a 0 x, -), the secod parameter is a script; this symbol deotes ay value for the parameter that correspods to it by locatio i the trasactio defiitio. The trasactios called by the precedig trasactios i the modular approach are the followig: TRANSACTION Modular_Is_T (a 0 x,c 0 x); VAR TX:T; Is_rel T where A(TX.A)?TX.A.a 0 =a 0 x?? C(TX.C)?TX.C.c 0= c 0 x; TRANSACTION Modular_Del_T (a 0 x,c 0 x) VAR AX:A;TX:T;S_AX: Set of occurreces of A; Del_rel T where TX.A.a 0 =a 0 x?tx.c.c 0 =c 0 x; S_AX? {AX??TX(T(TX)?TX.A=AX)}; FOR EACH AX i S_AX DO Modular_Del_A(AX.a 0 ); TRANSACTION Modular_Del_R(a 0 x,b 0 x); VAR BX:B;RX:R;S_BX: Set of occurreces of B; Del_rel R where RX.A.a 0 =a 0 x?rx.b.b 0 =b 0 x; S_BX? {BX??RX(R(RX)?RX.B=BX)}; FOR EACH BX i S_BX DO Modular_Del_B(BX.b 0 ); To be able to use the calls to other trasactios for reachig a cosistet system state, it is ecessary to iclude selectio coditios to determie which occurreces of other objects must be elimiated. Each oe of these coditios is expressed usig a formula i the above metioed logical laguage. This formula cotais a free variable so that all the istaces of the free

6 variable that make the formula true are elimiated. All these istaces are icluded i oe variable of set type. This set is later crossed, callig to the deletio trasactio for each oe of the occurreces that are cotaied i it. The correspodig values of idetifier attributes of these istaces are used as parameters. I the trasactios of T ad R, there are calls to deletio trasactios o other objects of the diagram which have a similar structure. For example, i the trasactio Modular_Del_R, sice etity type B has the existece costrait i R, whe occurreces of R are deleted, those occurreces of B which o loger participate i R must also be deleted. Sice the maximum cardiality of B i R is 1, we kow that for each deleted occurrece of R, oe occurrece of B must be elimiated. Aother importat problem relative to the successive calls to differet trasactios from deletio eeds to be emphasized. Whe a occurrece of T is deleted, there is determied which occurreces of A ca be left icosistet (those that do ot participate i T). This fact prevets fallig ito a ifiite loop of calls, because the deletio of T came from a deletio i A. Thus, there are o occurreces of A that fulfil this coditio. Therefore, o call to the deletio trasactio of A is made, ad the possible loop is avoided Algorithm for the trasactio geeratio from a EER diagram without cycles The modular approach has bee chose for the developmet of the trasactio geerator algorithm so that the obtaied trasactios are simpler. The algorithm starts from a EER diagram. As a result of the algorithm executio, the set of miimal ad safe update trasactios which are ecessary for the evolutio of the system represeted by the diagram is obtaied. Whe a isertio trasactio calls aother isertio trasactio, it must be kow which parameters must be used. Defiig a order i the trasactio geeratio allows that those trasactios that are called from aother trasactio are defied beforehad. I order to determie the required parameters for a isertio trasactio it is ecessary to use the basic operatio parameters plus all the parameters that occur i each oe of the ivoked trasactios. To avoid udesired duplicatio i this set of parameters, some of them have to be elimiated: the idetifier parameters of the callig object, because they always appear i the ewly ivoked trasactio. Cosequetly, it is ecessary to desig a algorithm that determies the order for trasactio geeratio; this arragemet is also based o the miimum cardiality costraits of the relatioship type i which each object participates. The sortig algorithm accepts a EER diagram as a uique parameter ad it returs a ordered list of all the diagram object ames. This algorithm is show i Appedix A. As stated above, the arragemet is oly ecessary to geerate the isertio trasactios, sice i deletio trasactios it is ot ecessary to iclude parameters from other trasactios. The geeratio of the deletio trasactios is doe for each object right after the geeratio of its correspodig isertio trasactio. Oce the arragemet of the objects of the EER diagram is obtaied, the trasactio geerator algorithm is the followig: ALGORITHM Trasactio_Geerator LI: Sorted list of object ames from a EER diagram; OUTPUT T: Text that cosists of the set of safe ad miimal update trasactios for the objects i the iput EER diagram; VAR Trasactio: Text; T? ''; FOR EACH object O i LI i order DO IF O is a etity type Geerate_is_et_trasactio(O,Trasactio); Joi(T,Trasactio);

7 Geerate_del_et_trasactio(O,Trasactio); Joi((T, Trasactio); ELSE /*O is a relatioship type*/ Geerate_is_rel_trasactio(O,Trasactio); Joi(T, Trasactio); Geerate_del_rel_trasactio(O,Trasactio); Joi(T, Trasactio); The algorithms to create safe trasactios for the differet object types are preseted i Appedix B. They are preseted i a abbreviated form cetered i the calls to other trasactios that have to be icluded to eforce cardiality costraits. The cotrols that have to be icluded to avoid icosistece due to other costraits are left out of this simplified versio Algorithm Extesio to iclude EER diagrams with cycles Whe a EER diagram cotais a cycle, that is, a depedecy for isertio, a problem arise whe the geerated trasactios are used. a 0... A R B b 0... a m b S c 0 T C... c p Figure 3: EER diagram with a cycle Effectively, a isertio i A requires a existig etity from B for isertig a relatioship i R; but, to isert a etity i B, a existig etity i C is eeded to isert a relatioship i S, ad this etity also eeds a existig etity i A to isert a relatioship i T. This is a deadlock that must be solved by geeratig, i additio to the ormal trasactios cited above, special trasactios for this situatio. The special trasactios must iclude a isertio operatio o each object type icluded i the cycle, plus calls to the modified isertio trasactios o these objects. The modified trasactios are the ormal oes except for that the isertio operatio o the iteded object type is elimiated. A particular case of cycle is the Total specializatio, because the isertio i the geeral etity type ad i oe of the specialized etity type must be simultaeous; due to this fact, a special trasactio is eeded for each specialized etity type, that jois the isertio trasactio o the geeral etity type ad the isertio trasactio o the correspodig specialized etity type. Therefore, the defied algorithms for isertio trasactio desig are modified to take ito accout the presece of cycles. This extesio is ot icluded i the preset paper. 5. Coclusios ad future work I this work, we preset a ew perspective of the Etity-Relatioship Model, as a coceptual modellig tool. Traditioally, the ER model has bee criticized due to its lack of a dyamic dimesio. I cotrast to this criticism, the authors defed that the itegrity costraits defied i the ER diagram restrict the valid state trasitios i the system, ad they ca therefore determie the miimal trasactios that ca be performed o it. Followig this mai idea, give ay ER diagram we propose a algorithm to obtai the set of safe ad miimal trasactios with respect to a subset of itegrity costraits. These miimal trasactios are the basic uits that should be used to desig the more geeral oes that implemet the user requiremets. The mai features of this work are the followig:

8 1. We propose a extesio of the ER Model which icludes a trasactioal laguage. This laguage icludes a isert ad a delete operator for etity types, for relatioship types ad for specialized etity types. 2. We aalyse differet EER diagram patters i order to develop the algorithm. 3. Fially, we preset the algorithm that automatically geerates the set of miimal ad safe trasactios for a give EER diagram. The mai advatage of the proposal cosists of its possible itegratio ito the existig CASE tools based o the ER model for coceptual modellig. I this way, these tools could offer the desiger a miimal trasactio diagram that is able to perform the safe system evolutio. This work ca be exteded takig ito accout more geeral itegrity costraits. Appedix A: Algorithm for sortig the objects of a ER diagram ALGORITHM SORT OUTPUT L: Sorted list of object ames; VAR Possible: boolea; L? empty list; FOR EACH object O i EERX DO IF O has ot EC i ay relatioship type Add(L,O); REPEAT FOR EACH object O i EERX DO IF O is ot i L Possible? true; FOR EACH relatioship type R where O has EC DO IF R is ot i L Possible? false; IF Possible Add(L,O); UNTIL every O is i L; Appedix B: Algorithms for geeratig the trasactios ALGORITHM Geerate_is_et_trasactio E: Defiitio of the etity type; OUTPUT T: Trasactio text; VAR Tras_Parameters, Operatios: Text; Add to Tras_Parameters a parameter for each attribute of E; Geerate the isertio operatio ito the etity type E; Add this operatio to Operatios; FOR EACH relatioship type R where E has EC DO Add to Tras_Parameters a parameter for each parameter of the isertio trasactio ito R that is ot yet i

9 Tras_Parameters; Geerate a call to the isertio trasactio ito R; Add this call to Operatios; T? 'TRANSACTION'; Joi(T, 'Is_Et_Trasactio_', ame(e), Tras_Parameters, '', Operatios, '';) ALGORITHM Geerate_is_rel_trasactio R: Defiitio of the relatioship type; OUTPUT T: Trasactio text; VAR Variables, Tras_Parameters, Operatios: Text; FOR EACH etity type E that participates i R DO Add to Tras_Parameters a parameter for each idetifier of E; Add to Tras_Parameters a parameter for each attribute of R; Add to Variables a variable defied over R; Geerate the isertio operatio i the relatioship type R; Add the operatio to Operatios; FOR EACH relatioship S where R has EC as aggregated object DO Add to Tras_Parameters a parameter for each parameter of the isertio trasactio ito S that is ot yet i Tras_Parameters; Geerate a call to the isertio trasactio ito S; Add this call to Operatios; T? 'TRANSACTION'; Joi(T, 'Is_Rel_Trasactio_', ame(r), Tras_Parameters, 'Variables', Variables, '', Operatios, ''); ALGORITHM Geerate_del_et_trasactio E: Defiitio of the etity type; OUTPUT T: Trasactio text; VAR Variables, Tras_Parameters, Operatios: Text; Add to Tras_Parameters a parameter for each idetifier of E; Geerate a variable o E; Add this variable to Variables; Geerate the deletio operatio from the etity type E; Add this operatio to Operatios; FOR EACH relatioship type R where E participates DO IF the deletio is i-cascade with respect to R Geerate a call to the deletio trasactio from R; Add this call to Operatios; T? 'TRANSACTION'; Joi(T, 'Del_Et_Trasactio_', ame(e), Tras_Parameters, 'Variables', Variables, '', Operatios, ''); ALGORITHM Geerate_del_rel_trasactio

10 R: Defiitio of the relatioship type; OUTPUT T: Trasactio text; VAR Tras_Parameters, Operatios, Variables: Text; FOR EACH etity type E that participates i R DO Add to Tras_Parameters a parameter for each idetifier of E Geerate a variable o R; Add this variable to Variables; Geerate the deletio operatio for R; Add this operatio to Operatios; FOR EACH relatioship type S where R participates (*as aggregated object*) DO IF the deletio is i-cascade with respect to S Geerate a call to the deletio trasactio for S; Add this call to Operatios; FOR EACH etity type E that participates i R with EC DO Geerate a set variable o E; Add this variable to Variables; Geerate a query o this variable; Geerate a FOR loop o this variable icludig a call to the deletio trasactio of E; Add this loop to Operatios; T? 'TRANSACTION'; Joi(T, 'Del_rel_trasactio', ame(r), Tras_Parameters, 'Variables ', Variables, '', Operatios, '') Refereces [1] P.P. Che. The Etity-Relatioship Model: Towards a Uified View of Data. ACM TODS, Vol. 1, No. 1, pp. 9-36, [2] G. Egels, M. Gogolla, U. Hohestei, K. Hülsma, P. Löhr-Richter, G. Saake, H. D. Ehrich. Coceptual Modelig of Database Applicatios Usig a Exteded ER Model. Data ad Kowledge Egieerig, Vol. 9, No. 2, pp , North Hollad, [3] R. Elmasri, S.B. Navathe. Fudametals of Database Systems. Third Editio. Addiso- Wesley, [4] M. Gogolla. A Exteded Etity-Relatioship Model. Fudametals ad Pragmatics. LNCS 767, Spriger-Verlag, [5] L. Mota-Herraz. M.A. Pastor. Diseño coceptual co el modelo Etidad-Relació. Departameto de Sistemas Iformáticos y Computació, Iteral Report, DSICID/56/97, [6] J.A. Pastor-Collado. Supportig Trasactio Desig i IS Coceptual Modellig through Pre-sythesised Update Trasactio Specificatios. EXSELSI [7] B. Thalheim. Etity-Relatioship Modelig. Foudatio of Database Techology. Spriger- Verlag, [8] Balaba, M. ad Shoval, P. MEER -A EER Model ehaced with structure methods, Iformatio Systems, 27 ( ), 2002.

Task scenarios Outline. Scenarios in Knowledge Extraction. Proposed Framework for Scenario to Design Diagram Transformation

Task scenarios Outline. Scenarios in Knowledge Extraction. Proposed Framework for Scenario to Design Diagram Transformation 6-0-0 Kowledge Trasformatio from Task Scearios to View-based Desig Diagrams Nima Dezhkam Kamra Sartipi {dezhka, sartipi}@mcmaster.ca Departmet of Computig ad Software McMaster Uiversity CANADA SEKE 08

More information

1 Enterprise Modeler

1 Enterprise Modeler 1 Eterprise Modeler Itroductio I BaaERP, a Busiess Cotrol Model ad a Eterprise Structure Model for multi-site cofiguratios are itroduced. Eterprise Structure Model Busiess Cotrol Models Busiess Fuctio

More information

Chapter 9. Pointers and Dynamic Arrays. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 9. Pointers and Dynamic Arrays. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 9 Poiters ad Dyamic Arrays Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 9.1 Poiters 9.2 Dyamic Arrays Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Slide 9-3

More information

Τεχνολογία Λογισμικού

Τεχνολογία Λογισμικού ΕΘΝΙΚΟ ΜΕΤΣΟΒΙΟ ΠΟΛΥΤΕΧΝΕΙΟ Σχολή Ηλεκτρολόγων Μηχανικών και Μηχανικών Υπολογιστών Τεχνολογία Λογισμικού, 7ο/9ο εξάμηνο 2018-2019 Τεχνολογία Λογισμικού Ν.Παπασπύρου, Αν.Καθ. ΣΗΜΜΥ, ickie@softlab.tua,gr

More information

A New Morphological 3D Shape Decomposition: Grayscale Interframe Interpolation Method

A New Morphological 3D Shape Decomposition: Grayscale Interframe Interpolation Method A ew Morphological 3D Shape Decompositio: Grayscale Iterframe Iterpolatio Method D.. Vizireau Politehica Uiversity Bucharest, Romaia ae@comm.pub.ro R. M. Udrea Politehica Uiversity Bucharest, Romaia mihea@comm.pub.ro

More information

Counting the Number of Minimum Roman Dominating Functions of a Graph

Counting the Number of Minimum Roman Dominating Functions of a Graph Coutig the Number of Miimum Roma Domiatig Fuctios of a Graph SHI ZHENG ad KOH KHEE MENG, Natioal Uiversity of Sigapore We provide two algorithms coutig the umber of miimum Roma domiatig fuctios of a graph

More information

BOOLEAN MATHEMATICS: GENERAL THEORY

BOOLEAN MATHEMATICS: GENERAL THEORY CHAPTER 3 BOOLEAN MATHEMATICS: GENERAL THEORY 3.1 ISOMORPHIC PROPERTIES The ame Boolea Arithmetic was chose because it was discovered that literal Boolea Algebra could have a isomorphic umerical aspect.

More information

A SOFTWARE MODEL FOR THE MULTILAYER PERCEPTRON

A SOFTWARE MODEL FOR THE MULTILAYER PERCEPTRON A SOFTWARE MODEL FOR THE MULTILAYER PERCEPTRON Roberto Lopez ad Eugeio Oñate Iteratioal Ceter for Numerical Methods i Egieerig (CIMNE) Edificio C1, Gra Capitá s/, 08034 Barceloa, Spai ABSTRACT I this work

More information

Python Programming: An Introduction to Computer Science

Python Programming: An Introduction to Computer Science Pytho Programmig: A Itroductio to Computer Sciece Chapter 6 Defiig Fuctios Pytho Programmig, 2/e 1 Objectives To uderstad why programmers divide programs up ito sets of cooperatig fuctios. To be able to

More information

COSC 1P03. Ch 7 Recursion. Introduction to Data Structures 8.1

COSC 1P03. Ch 7 Recursion. Introduction to Data Structures 8.1 COSC 1P03 Ch 7 Recursio Itroductio to Data Structures 8.1 COSC 1P03 Recursio Recursio I Mathematics factorial Fiboacci umbers defie ifiite set with fiite defiitio I Computer Sciece sytax rules fiite defiitio,

More information

Appendix D. Controller Implementation

Appendix D. Controller Implementation COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Iterface 5 th Editio Appedix D Cotroller Implemetatio Cotroller Implemetatios Combiatioal logic (sigle-cycle); Fiite state machie (multi-cycle, pipelied);

More information

Graphs. Minimum Spanning Trees. Slides by Rose Hoberman (CMU)

Graphs. Minimum Spanning Trees. Slides by Rose Hoberman (CMU) Graphs Miimum Spaig Trees Slides by Rose Hoberma (CMU) Problem: Layig Telephoe Wire Cetral office 2 Wirig: Naïve Approach Cetral office Expesive! 3 Wirig: Better Approach Cetral office Miimize the total

More information

Modern Systems Analysis and Design Seventh Edition

Modern Systems Analysis and Design Seventh Edition Moder Systems Aalysis ad Desig Seveth Editio Jeffrey A. Hoffer Joey F. George Joseph S. Valacich Desigig Databases Learig Objectives ü Cocisely defie each of the followig key database desig terms: relatio,

More information

Chapter 11. Friends, Overloaded Operators, and Arrays in Classes. Copyright 2014 Pearson Addison-Wesley. All rights reserved.

Chapter 11. Friends, Overloaded Operators, and Arrays in Classes. Copyright 2014 Pearson Addison-Wesley. All rights reserved. Chapter 11 Frieds, Overloaded Operators, ad Arrays i Classes Copyright 2014 Pearso Addiso-Wesley. All rights reserved. Overview 11.1 Fried Fuctios 11.2 Overloadig Operators 11.3 Arrays ad Classes 11.4

More information

Elementary Educational Computer

Elementary Educational Computer Chapter 5 Elemetary Educatioal Computer. Geeral structure of the Elemetary Educatioal Computer (EEC) The EEC coforms to the 5 uits structure defied by vo Neuma's model (.) All uits are preseted i a simplified

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe CHAPTER 26 Ehaced Data Models: Itroductio to Active, Temporal, Spatial, Multimedia, ad Deductive Databases Copyright 2016 Ramez Elmasri ad Shamkat B.

More information

Evaluation scheme for Tracking in AMI

Evaluation scheme for Tracking in AMI A M I C o m m u i c a t i o A U G M E N T E D M U L T I - P A R T Y I N T E R A C T I O N http://www.amiproject.org/ Evaluatio scheme for Trackig i AMI S. Schreiber a D. Gatica-Perez b AMI WP4 Trackig:

More information

Outline. Research Definition. Motivation. Foundation of Reverse Engineering. Dynamic Analysis and Design Pattern Detection in Java Programs

Outline. Research Definition. Motivation. Foundation of Reverse Engineering. Dynamic Analysis and Design Pattern Detection in Java Programs Dyamic Aalysis ad Desig Patter Detectio i Java Programs Outlie Lei Hu Kamra Sartipi {hul4, sartipi}@mcmasterca Departmet of Computig ad Software McMaster Uiversity Caada Motivatio Research Problem Defiitio

More information

CHAPTER IV: GRAPH THEORY. Section 1: Introduction to Graphs

CHAPTER IV: GRAPH THEORY. Section 1: Introduction to Graphs CHAPTER IV: GRAPH THEORY Sectio : Itroductio to Graphs Sice this class is called Number-Theoretic ad Discrete Structures, it would be a crime to oly focus o umber theory regardless how woderful those topics

More information

Lecture 18. Optimization in n dimensions

Lecture 18. Optimization in n dimensions Lecture 8 Optimizatio i dimesios Itroductio We ow cosider the problem of miimizig a sigle scalar fuctio of variables, f x, where x=[ x, x,, x ]T. The D case ca be visualized as fidig the lowest poit of

More information

Chapter 5. Functions for All Subtasks. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 5. Functions for All Subtasks. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 5 Fuctios for All Subtasks Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 5.1 void Fuctios 5.2 Call-By-Referece Parameters 5.3 Usig Procedural Abstractio 5.4 Testig ad Debuggig

More information

IMP: Superposer Integrated Morphometrics Package Superposition Tool

IMP: Superposer Integrated Morphometrics Package Superposition Tool IMP: Superposer Itegrated Morphometrics Package Superpositio Tool Programmig by: David Lieber ( 03) Caisius College 200 Mai St. Buffalo, NY 4208 Cocept by: H. David Sheets, Dept. of Physics, Caisius College

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe CHAPTER 19 Query Optimizatio Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe Itroductio Query optimizatio Coducted by a query optimizer i a DBMS Goal:

More information

Chapter 10. Defining Classes. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 10. Defining Classes. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 10 Defiig Classes Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 10.1 Structures 10.2 Classes 10.3 Abstract Data Types 10.4 Itroductio to Iheritace Copyright 2015 Pearso Educatio,

More information

Goals of this Lecture Activity Diagram Example

Goals of this Lecture Activity Diagram Example Goals of this Lecture Activity Diagram Example Object-Orieted Aalysis ad Desig - Fall 998 Preset a example activity diagram Ð Relate to requiremets, use cases, ad class diagrams Also, respod to a questio

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe CHAPTER 22 Database Recovery Techiques Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe Itroductio Recovery algorithms Recovery cocepts Write-ahead

More information

Chapter 1. Introduction to Computers and C++ Programming. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 1. Introduction to Computers and C++ Programming. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 1 Itroductio to Computers ad C++ Programmig Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 1.1 Computer Systems 1.2 Programmig ad Problem Solvig 1.3 Itroductio to C++ 1.4 Testig

More information

% Sun Logo for. X3T10/95-229, Revision 0. April 18, 1998

% Sun Logo for. X3T10/95-229, Revision 0. April 18, 1998 Su Microsystems, Ic. 2550 Garcia Aveue Moutai View, CA 94045 415 960-1300 X3T10/95-229, Revisio 0 April 18, 1998 % Su Logo for Joh Lohmeyer Chairperso, X3T10 Symbios Logic Ic. 1635 Aeroplaza Drive Colorado

More information

. Written in factored form it is easy to see that the roots are 2, 2, i,

. Written in factored form it is easy to see that the roots are 2, 2, i, CMPS A Itroductio to Programmig Programmig Assigmet 4 I this assigmet you will write a java program that determies the real roots of a polyomial that lie withi a specified rage. Recall that the roots (or

More information

The isoperimetric problem on the hypercube

The isoperimetric problem on the hypercube The isoperimetric problem o the hypercube Prepared by: Steve Butler November 2, 2005 1 The isoperimetric problem We will cosider the -dimesioal hypercube Q Recall that the hypercube Q is a graph whose

More information

Pattern Recognition Systems Lab 1 Least Mean Squares

Pattern Recognition Systems Lab 1 Least Mean Squares Patter Recogitio Systems Lab 1 Least Mea Squares 1. Objectives This laboratory work itroduces the OpeCV-based framework used throughout the course. I this assigmet a lie is fitted to a set of poits usig

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe CHAPTER 18 Strategies for Query Processig Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe Itroductio DBMS techiques to process a query Scaer idetifies

More information

Octahedral Graph Scaling

Octahedral Graph Scaling Octahedral Graph Scalig Peter Russell Jauary 1, 2015 Abstract There is presetly o strog iterpretatio for the otio of -vertex graph scalig. This paper presets a ew defiitio for the term i the cotext of

More information

3D Model Retrieval Method Based on Sample Prediction

3D Model Retrieval Method Based on Sample Prediction 20 Iteratioal Coferece o Computer Commuicatio ad Maagemet Proc.of CSIT vol.5 (20) (20) IACSIT Press, Sigapore 3D Model Retrieval Method Based o Sample Predictio Qigche Zhag, Ya Tag* School of Computer

More information

Strong Complementary Acyclic Domination of a Graph

Strong Complementary Acyclic Domination of a Graph Aals of Pure ad Applied Mathematics Vol 8, No, 04, 83-89 ISSN: 79-087X (P), 79-0888(olie) Published o 7 December 04 wwwresearchmathsciorg Aals of Strog Complemetary Acyclic Domiatio of a Graph NSaradha

More information

Customer Portal Quick Reference User Guide

Customer Portal Quick Reference User Guide Customer Portal Quick Referece User Guide Overview This user guide is iteded for FM Approvals customers usig the Approval Iformatio Maagemet (AIM) customer portal to track their active projects. AIM is

More information

New Fuzzy Color Clustering Algorithm Based on hsl Similarity

New Fuzzy Color Clustering Algorithm Based on hsl Similarity IFSA-EUSFLAT 009 New Fuzzy Color Clusterig Algorithm Based o hsl Similarity Vasile Ptracu Departmet of Iformatics Techology Tarom Compay Bucharest Romaia Email: patrascu.v@gmail.com Abstract I this paper

More information

An Improved Shuffled Frog-Leaping Algorithm for Knapsack Problem

An Improved Shuffled Frog-Leaping Algorithm for Knapsack Problem A Improved Shuffled Frog-Leapig Algorithm for Kapsack Problem Zhoufag Li, Ya Zhou, ad Peg Cheg School of Iformatio Sciece ad Egieerig Hea Uiversity of Techology ZhegZhou, Chia lzhf1978@126.com Abstract.

More information

Chapter 4. Procedural Abstraction and Functions That Return a Value. Copyright 2015 Pearson Education, Ltd.. All rights reserved.

Chapter 4. Procedural Abstraction and Functions That Return a Value. Copyright 2015 Pearson Education, Ltd.. All rights reserved. Chapter 4 Procedural Abstractio ad Fuctios That Retur a Value Copyright 2015 Pearso Educatio, Ltd.. All rights reserved. Overview 4.1 Top-Dow Desig 4.2 Predefied Fuctios 4.3 Programmer-Defied Fuctios 4.4

More information

9.1. Sequences and Series. Sequences. What you should learn. Why you should learn it. Definition of Sequence

9.1. Sequences and Series. Sequences. What you should learn. Why you should learn it. Definition of Sequence _9.qxd // : AM Page Chapter 9 Sequeces, Series, ad Probability 9. Sequeces ad Series What you should lear Use sequece otatio to write the terms of sequeces. Use factorial otatio. Use summatio otatio to

More information

Morgan Kaufmann Publishers 26 February, COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. Chapter 5

Morgan Kaufmann Publishers 26 February, COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Interface. Chapter 5 Morga Kaufma Publishers 26 February, 28 COMPUTER ORGANIZATION AND DESIGN The Hardware/Software Iterface 5 th Editio Chapter 5 Set-Associative Cache Architecture Performace Summary Whe CPU performace icreases:

More information

Improving Information Retrieval System Security via an Optimal Maximal Coding Scheme

Improving Information Retrieval System Security via an Optimal Maximal Coding Scheme Improvig Iformatio Retrieval System Security via a Optimal Maximal Codig Scheme Dogyag Log Departmet of Computer Sciece, City Uiversity of Hog Kog, 8 Tat Chee Aveue Kowloo, Hog Kog SAR, PRC dylog@cs.cityu.edu.hk

More information

EE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 13 Control and Sequencing: Hardwired and Microprogrammed Control

EE 459/500 HDL Based Digital Design with Programmable Logic. Lecture 13 Control and Sequencing: Hardwired and Microprogrammed Control EE 459/500 HDL Based Digital Desig with Programmable Logic Lecture 13 Cotrol ad Sequecig: Hardwired ad Microprogrammed Cotrol Refereces: Chapter s 4,5 from textbook Chapter 7 of M.M. Mao ad C.R. Kime,

More information

Data Structures Week #9. Sorting

Data Structures Week #9. Sorting Data Structures Week #9 Sortig Outlie Motivatio Types of Sortig Elemetary (O( 2 )) Sortig Techiques Other (O(*log())) Sortig Techiques 21.Aralık.2010 Boraha Tümer, Ph.D. 2 Sortig 21.Aralık.2010 Boraha

More information

University of Waterloo Department of Electrical and Computer Engineering ECE 250 Algorithms and Data Structures

University of Waterloo Department of Electrical and Computer Engineering ECE 250 Algorithms and Data Structures Uiversity of Waterloo Departmet of Electrical ad Computer Egieerig ECE 250 Algorithms ad Data Structures Midterm Examiatio ( pages) Istructor: Douglas Harder February 7, 2004 7:30-9:00 Name (last, first)

More information

EE260: Digital Design, Spring /16/18. n Example: m 0 (=x 1 x 2 ) is adjacent to m 1 (=x 1 x 2 ) and m 2 (=x 1 x 2 ) but NOT m 3 (=x 1 x 2 )

EE260: Digital Design, Spring /16/18. n Example: m 0 (=x 1 x 2 ) is adjacent to m 1 (=x 1 x 2 ) and m 2 (=x 1 x 2 ) but NOT m 3 (=x 1 x 2 ) EE26: Digital Desig, Sprig 28 3/6/8 EE 26: Itroductio to Digital Desig Combiatioal Datapath Yao Zheg Departmet of Electrical Egieerig Uiversity of Hawaiʻi at Māoa Combiatioal Logic Blocks Multiplexer Ecoders/Decoders

More information

The Magma Database file formats

The Magma Database file formats The Magma Database file formats Adrew Gaylard, Bret Pikey, ad Mart-Mari Breedt Johaesburg, South Africa 15th May 2006 1 Summary Magma is a ope-source object database created by Chris Muller, of Kasas City,

More information

Service Oriented Enterprise Architecture and Service Oriented Enterprise

Service Oriented Enterprise Architecture and Service Oriented Enterprise Approved for Public Release Distributio Ulimited Case Number: 09-2786 The 23 rd Ope Group Eterprise Practitioers Coferece Service Orieted Eterprise ad Service Orieted Eterprise Ya Zhao, PhD Pricipal, MITRE

More information

Ones Assignment Method for Solving Traveling Salesman Problem

Ones Assignment Method for Solving Traveling Salesman Problem Joural of mathematics ad computer sciece 0 (0), 58-65 Oes Assigmet Method for Solvig Travelig Salesma Problem Hadi Basirzadeh Departmet of Mathematics, Shahid Chamra Uiversity, Ahvaz, Ira Article history:

More information

Bezier curves. Figure 2 shows cubic Bezier curves for various control points. In a Bezier curve, only

Bezier curves. Figure 2 shows cubic Bezier curves for various control points. In a Bezier curve, only Edited: Yeh-Liag Hsu (998--; recommeded: Yeh-Liag Hsu (--9; last updated: Yeh-Liag Hsu (9--7. Note: This is the course material for ME55 Geometric modelig ad computer graphics, Yua Ze Uiversity. art of

More information

Fuzzy Rule Selection by Data Mining Criteria and Genetic Algorithms

Fuzzy Rule Selection by Data Mining Criteria and Genetic Algorithms Fuzzy Rule Selectio by Data Miig Criteria ad Geetic Algorithms Hisao Ishibuchi Dept. of Idustrial Egieerig Osaka Prefecture Uiversity 1-1 Gakue-cho, Sakai, Osaka 599-8531, JAPAN E-mail: hisaoi@ie.osakafu-u.ac.jp

More information

New HSL Distance Based Colour Clustering Algorithm

New HSL Distance Based Colour Clustering Algorithm The 4th Midwest Artificial Itelligece ad Cogitive Scieces Coferece (MAICS 03 pp 85-9 New Albay Idiaa USA April 3-4 03 New HSL Distace Based Colour Clusterig Algorithm Vasile Patrascu Departemet of Iformatics

More information

Security of Bluetooth: An overview of Bluetooth Security

Security of Bluetooth: An overview of Bluetooth Security Versio 2 Security of Bluetooth: A overview of Bluetooth Security Marjaaa Träskbäck Departmet of Electrical ad Commuicatios Egieerig mtraskba@cc.hut.fi 52655H ABSTRACT The purpose of this paper is to give

More information

DEFINITION OF CELL BEHAVIOUR. Actions and Behaviour. CELL = a CELL CELL = b CELL

DEFINITION OF CELL BEHAVIOUR. Actions and Behaviour. CELL = a CELL CELL = b CELL Actios ad Behaviour Let us start to itroduce some modellig laguage features which will allow us to model the behaviour of a cell compoet. Suppose the cell compoet holds a sigle piece of iformatio which

More information

BAAN IVc/BaanERP. Conversion Guide Oracle7 to Oracle8

BAAN IVc/BaanERP. Conversion Guide Oracle7 to Oracle8 BAAN IVc/BaaERP A publicatio of: Baa Developmet B.V. P.O.Box 143 3770 AC Bareveld The Netherlads Prited i the Netherlads Baa Developmet B.V. 1999. All rights reserved. The iformatio i this documet is subject

More information

CIS 121 Data Structures and Algorithms with Java Spring Stacks, Queues, and Heaps Monday, February 18 / Tuesday, February 19

CIS 121 Data Structures and Algorithms with Java Spring Stacks, Queues, and Heaps Monday, February 18 / Tuesday, February 19 CIS Data Structures ad Algorithms with Java Sprig 09 Stacks, Queues, ad Heaps Moday, February 8 / Tuesday, February 9 Stacks ad Queues Recall the stack ad queue ADTs (abstract data types from lecture.

More information

% Sun Logo for Frame. X3T10/95-229, Revision 2. September 28, 1995

% Sun Logo for Frame. X3T10/95-229, Revision 2. September 28, 1995 Su Microsystems, Ic. 2550 Garcia Aveue Moutai View, CA 94045 415 960-1300 X3T10/95-229, Revisio 2 September 28, 1995 % Su Logo for Frame Joh Lohmeyer Chairperso, X3T10 Symbios Logic Ic. 1635 Aeroplaza

More information

On Infinite Groups that are Isomorphic to its Proper Infinite Subgroup. Jaymar Talledo Balihon. Abstract

On Infinite Groups that are Isomorphic to its Proper Infinite Subgroup. Jaymar Talledo Balihon. Abstract O Ifiite Groups that are Isomorphic to its Proper Ifiite Subgroup Jaymar Talledo Baliho Abstract Two groups are isomorphic if there exists a isomorphism betwee them Lagrage Theorem states that the order

More information

CSC 220: Computer Organization Unit 11 Basic Computer Organization and Design

CSC 220: Computer Organization Unit 11 Basic Computer Organization and Design College of Computer ad Iformatio Scieces Departmet of Computer Sciece CSC 220: Computer Orgaizatio Uit 11 Basic Computer Orgaizatio ad Desig 1 For the rest of the semester, we ll focus o computer architecture:

More information

Python Programming: An Introduction to Computer Science

Python Programming: An Introduction to Computer Science Pytho Programmig: A Itroductio to Computer Sciece Chapter 1 Computers ad Programs 1 Objectives To uderstad the respective roles of hardware ad software i a computig system. To lear what computer scietists

More information

Extending The Sleuth Kit and its Underlying Model for Pooled Storage File System Forensic Analysis

Extending The Sleuth Kit and its Underlying Model for Pooled Storage File System Forensic Analysis Extedig The Sleuth Kit ad its Uderlyig Model for Pooled File System Foresic Aalysis Frauhofer Istitute for Commuicatio, Iformatio Processig ad Ergoomics Ja-Niclas Hilgert* Marti Lambertz Daiel Plohma ja-iclas.hilgert@fkie.frauhofer.de

More information

Assignment 5; Due Friday, February 10

Assignment 5; Due Friday, February 10 Assigmet 5; Due Friday, February 10 17.9b The set X is just two circles joied at a poit, ad the set X is a grid i the plae, without the iteriors of the small squares. The picture below shows that the iteriors

More information

The Closest Line to a Data Set in the Plane. David Gurney Southeastern Louisiana University Hammond, Louisiana

The Closest Line to a Data Set in the Plane. David Gurney Southeastern Louisiana University Hammond, Louisiana The Closest Lie to a Data Set i the Plae David Gurey Southeaster Louisiaa Uiversity Hammod, Louisiaa ABSTRACT This paper looks at three differet measures of distace betwee a lie ad a data set i the plae:

More information

6.854J / J Advanced Algorithms Fall 2008

6.854J / J Advanced Algorithms Fall 2008 MIT OpeCourseWare http://ocw.mit.edu 6.854J / 18.415J Advaced Algorithms Fall 2008 For iformatio about citig these materials or our Terms of Use, visit: http://ocw.mit.edu/terms. 18.415/6.854 Advaced Algorithms

More information

Bayesian approach to reliability modelling for a probability of failure on demand parameter

Bayesian approach to reliability modelling for a probability of failure on demand parameter Bayesia approach to reliability modellig for a probability of failure o demad parameter BÖRCSÖK J., SCHAEFER S. Departmet of Computer Architecture ad System Programmig Uiversity Kassel, Wilhelmshöher Allee

More information

Computers and Scientific Thinking

Computers and Scientific Thinking Computers ad Scietific Thikig David Reed, Creighto Uiversity Chapter 15 JavaScript Strigs 1 Strigs as Objects so far, your iteractive Web pages have maipulated strigs i simple ways use text box to iput

More information

Big-O Analysis. Asymptotics

Big-O Analysis. Asymptotics Big-O Aalysis 1 Defiitio: Suppose that f() ad g() are oegative fuctios of. The we say that f() is O(g()) provided that there are costats C > 0 ad N > 0 such that for all > N, f() Cg(). Big-O expresses

More information

Recursion. Recursion. Mathematical induction: example. Recursion. The sum of the first n odd numbers is n 2 : Informal proof: Principle:

Recursion. Recursion. Mathematical induction: example. Recursion. The sum of the first n odd numbers is n 2 : Informal proof: Principle: Recursio Recursio Jordi Cortadella Departmet of Computer Sciece Priciple: Reduce a complex problem ito a simpler istace of the same problem Recursio Itroductio to Programmig Dept. CS, UPC 2 Mathematical

More information

Image Segmentation EEE 508

Image Segmentation EEE 508 Image Segmetatio Objective: to determie (etract) object boudaries. It is a process of partitioig a image ito distict regios by groupig together eighborig piels based o some predefied similarity criterio.

More information

Heaps. Presentation for use with the textbook Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015

Heaps. Presentation for use with the textbook Algorithm Design and Applications, by M. T. Goodrich and R. Tamassia, Wiley, 2015 Presetatio for use with the textbook Algorithm Desig ad Applicatios, by M. T. Goodrich ad R. Tamassia, Wiley, 201 Heaps 201 Goodrich ad Tamassia xkcd. http://xkcd.com/83/. Tree. Used with permissio uder

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe CHAPTER 21 Cocurrecy Cotrol Techiques Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe Itroductio Cocurrecy cotrol protocols Set of rules to guaratee

More information

A Generalized Set Theoretic Approach for Time and Space Complexity Analysis of Algorithms and Functions

A Generalized Set Theoretic Approach for Time and Space Complexity Analysis of Algorithms and Functions Proceedigs of the 10th WSEAS Iteratioal Coferece o APPLIED MATHEMATICS, Dallas, Texas, USA, November 1-3, 2006 316 A Geeralized Set Theoretic Approach for Time ad Space Complexity Aalysis of Algorithms

More information

Schema for the DCE Security Registry Server

Schema for the DCE Security Registry Server Schema for the Security egistry Server Versio Date: 0/20/00 For questios or commets cocerig this documet, sed a email ote to dce-ldap@opegroup.org or call Doa Skibbie at 52 838-3896. . Itroductio...3 2.

More information

Baan Tools User Management

Baan Tools User Management Baa Tools User Maagemet Module Procedure UP008A US Documetiformatio Documet Documet code : UP008A US Documet group : User Documetatio Documet title : User Maagemet Applicatio/Package : Baa Tools Editio

More information

CS 683: Advanced Design and Analysis of Algorithms

CS 683: Advanced Design and Analysis of Algorithms CS 683: Advaced Desig ad Aalysis of Algorithms Lecture 6, February 1, 2008 Lecturer: Joh Hopcroft Scribes: Shaomei Wu, Etha Feldma February 7, 2008 1 Threshold for k CNF Satisfiability I the previous lecture,

More information

condition w i B i S maximum u i

condition w i B i S maximum u i ecture 10 Dyamic Programmig 10.1 Kapsack Problem November 1, 2004 ecturer: Kamal Jai Notes: Tobias Holgers We are give a set of items U = {a 1, a 2,..., a }. Each item has a weight w i Z + ad a utility

More information

Goals of the Lecture UML Implementation Diagrams

Goals of the Lecture UML Implementation Diagrams Goals of the Lecture UML Implemetatio Diagrams Object-Orieted Aalysis ad Desig - Fall 1998 Preset UML Diagrams useful for implemetatio Provide examples Next Lecture Ð A variety of topics o mappig from

More information

Lecture 6. Lecturer: Ronitt Rubinfeld Scribes: Chen Ziv, Eliav Buchnik, Ophir Arie, Jonathan Gradstein

Lecture 6. Lecturer: Ronitt Rubinfeld Scribes: Chen Ziv, Eliav Buchnik, Ophir Arie, Jonathan Gradstein 068.670 Subliear Time Algorithms November, 0 Lecture 6 Lecturer: Roitt Rubifeld Scribes: Che Ziv, Eliav Buchik, Ophir Arie, Joatha Gradstei Lesso overview. Usig the oracle reductio framework for approximatig

More information

Introduction to Pattern Oriented Analysis and Design (POAD) Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU

Introduction to Pattern Oriented Analysis and Design (POAD) Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU Itroductio to Patter Orieted Aalysis ad Desig (POAD) Istructor: Dr. Hay H. Ammar Dept. of Computer Sciece ad Electrical Egieerig, WVU Outlie Review of Desig Patters The Lifecycle of a Patter Examples of

More information

Lecture 5. Counting Sort / Radix Sort

Lecture 5. Counting Sort / Radix Sort Lecture 5. Coutig Sort / Radix Sort T. H. Corme, C. E. Leiserso ad R. L. Rivest Itroductio to Algorithms, 3rd Editio, MIT Press, 2009 Sugkyukwa Uiversity Hyuseug Choo choo@skku.edu Copyright 2000-2018

More information

Visualization of Gauss-Bonnet Theorem

Visualization of Gauss-Bonnet Theorem Visualizatio of Gauss-Boet Theorem Yoichi Maeda maeda@keyaki.cc.u-tokai.ac.jp Departmet of Mathematics Tokai Uiversity Japa Abstract: The sum of exteral agles of a polygo is always costat, π. There are

More information

Redundancy Allocation for Series Parallel Systems with Multiple Constraints and Sensitivity Analysis

Redundancy Allocation for Series Parallel Systems with Multiple Constraints and Sensitivity Analysis IOSR Joural of Egieerig Redudacy Allocatio for Series Parallel Systems with Multiple Costraits ad Sesitivity Aalysis S. V. Suresh Babu, D.Maheswar 2, G. Ragaath 3 Y.Viaya Kumar d G.Sakaraiah e (Mechaical

More information

2D Isogeometric Shape Optimization considering both control point positions and weights as design variables

2D Isogeometric Shape Optimization considering both control point positions and weights as design variables 1 th World Cogress o tructural ad Multidiscipliary Optimizatio May 19-24, 213, Orlado, Florida, UA 2D Isogeometric hape Optimizatio cosiderig both cotrol poit positios ad weights as desig variables Yeo-Ul

More information

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe

Copyright 2016 Ramez Elmasri and Shamkant B. Navathe Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe CHAPTER 20 Itroductio to Trasactio Processig Cocepts ad Theory Copyright 2016 Ramez Elmasri ad Shamkat B. Navathe Itroductio Trasactio Describes local

More information

Computer Science Foundation Exam. August 12, Computer Science. Section 1A. No Calculators! KEY. Solutions and Grading Criteria.

Computer Science Foundation Exam. August 12, Computer Science. Section 1A. No Calculators! KEY. Solutions and Grading Criteria. Computer Sciece Foudatio Exam August, 005 Computer Sciece Sectio A No Calculators! Name: SSN: KEY Solutios ad Gradig Criteria Score: 50 I this sectio of the exam, there are four (4) problems. You must

More information

Mapping Publishing and Mapping Adaptation in the Middleware of Railway Information Grid System

Mapping Publishing and Mapping Adaptation in the Middleware of Railway Information Grid System Mappig Publishig ad Mappig Adaptatio i the Middleware of Railway Iformatio Grid ystem You Gamei, Liao Huamig, u Yuzhog Istitute of Computig Techology, Chiese Academy of cieces, Beijig 00080 gameiu@ict.ac.c

More information

On (K t e)-saturated Graphs

On (K t e)-saturated Graphs Noame mauscript No. (will be iserted by the editor O (K t e-saturated Graphs Jessica Fuller Roald J. Gould the date of receipt ad acceptace should be iserted later Abstract Give a graph H, we say a graph

More information

Symbolic Execution with Abstraction

Symbolic Execution with Abstraction Software Tools for Techology Trasfer mauscript No. (will be iserted by the editor) Symbolic Executio with Abstractio Saswat Aad 1, Coria S. Păsăreau 2, Willem Visser 3 1 College of Computig, Georgia Istitute

More information

One advantage that SONAR has over any other music-sequencing product I ve worked

One advantage that SONAR has over any other music-sequencing product I ve worked *gajedra* D:/Thomso_Learig_Projects/Garrigus_163132/z_productio/z_3B2_3D_files/Garrigus_163132_ch17.3d, 14/11/08/16:26:39, 16:26, page: 647 17 CAL 101 Oe advatage that SONAR has over ay other music-sequecig

More information

Lecture 1: Introduction and Strassen s Algorithm

Lecture 1: Introduction and Strassen s Algorithm 5-750: Graduate Algorithms Jauary 7, 08 Lecture : Itroductio ad Strasse s Algorithm Lecturer: Gary Miller Scribe: Robert Parker Itroductio Machie models I this class, we will primarily use the Radom Access

More information

Data diverse software fault tolerance techniques

Data diverse software fault tolerance techniques Data diverse software fault tolerace techiques Complemets desig diversity by compesatig for desig diversity s s limitatios Ivolves obtaiig a related set of poits i the program data space, executig the

More information

Performance Plus Software Parameter Definitions

Performance Plus Software Parameter Definitions Performace Plus+ Software Parameter Defiitios/ Performace Plus Software Parameter Defiitios Chapma Techical Note-TG-5 paramete.doc ev-0-03 Performace Plus+ Software Parameter Defiitios/2 Backgroud ad Defiitios

More information

IMPLEMENTATION OF TRANSACTION AND CONCURRENCY CONTROL SUPPORT IN A TEMPORAL DBMS

IMPLEMENTATION OF TRANSACTION AND CONCURRENCY CONTROL SUPPORT IN A TEMPORAL DBMS IMPLEMENTATION OF TRANSACTION AND CONCURRENCY CONTROL SUPPORT IN A TEMPORAL DBMS COSTAS VASSILAKIS 1, NIKOS LORENTZOS 2, PANAGIOTIS GEORGIADIS 1 1 Departmet of Iformatics, Uiversity of Athes, TYPA Builds.,

More information

SUBDIVISION surfaces are becoming more and more popular

SUBDIVISION surfaces are becoming more and more popular IEEE-TVCG RGB Subdivisio Erico Puppo, Member, IEEE, ad Daiele Paozzo Abstract We itroduce the RGB Subdivisio: a adaptive subdivisio scheme for triagle meshes, which is based o the iterative applicatio

More information

1.2 Binomial Coefficients and Subsets

1.2 Binomial Coefficients and Subsets 1.2. BINOMIAL COEFFICIENTS AND SUBSETS 13 1.2 Biomial Coefficiets ad Subsets 1.2-1 The loop below is part of a program to determie the umber of triagles formed by poits i the plae. for i =1 to for j =

More information

Basic allocator mechanisms The course that gives CMU its Zip! Memory Management II: Dynamic Storage Allocation Mar 6, 2000.

Basic allocator mechanisms The course that gives CMU its Zip! Memory Management II: Dynamic Storage Allocation Mar 6, 2000. 5-23 The course that gives CM its Zip Memory Maagemet II: Dyamic Storage Allocatio Mar 6, 2000 Topics Segregated lists Buddy system Garbage collectio Mark ad Sweep Copyig eferece coutig Basic allocator

More information

Algorithms for Disk Covering Problems with the Most Points

Algorithms for Disk Covering Problems with the Most Points Algorithms for Disk Coverig Problems with the Most Poits Bi Xiao Departmet of Computig Hog Kog Polytechic Uiversity Hug Hom, Kowloo, Hog Kog csbxiao@comp.polyu.edu.hk Qigfeg Zhuge, Yi He, Zili Shao, Edwi

More information

VISUALSLX AN OPEN USER SHELL FOR HIGH-PERFORMANCE MODELING AND SIMULATION. Thomas Wiedemann

VISUALSLX AN OPEN USER SHELL FOR HIGH-PERFORMANCE MODELING AND SIMULATION. Thomas Wiedemann Proceedigs of the 2000 Witer Simulatio Coferece J. A. Joies, R. R. Barto, K. Kag, ad P. A. Fishwick, eds. VISUALSLX AN OPEN USER SHELL FOR HIGH-PERFORMANCE MODELING AND SIMULATION Thomas Wiedema Techical

More information

COP4020 Programming Languages. Functional Programming Prof. Robert van Engelen

COP4020 Programming Languages. Functional Programming Prof. Robert van Engelen COP4020 Programmig Laguages Fuctioal Programmig Prof. Robert va Egele Overview What is fuctioal programmig? Historical origis of fuctioal programmig Fuctioal programmig today Cocepts of fuctioal programmig

More information

CIS 121 Data Structures and Algorithms with Java Spring Stacks and Queues Monday, February 12 / Tuesday, February 13

CIS 121 Data Structures and Algorithms with Java Spring Stacks and Queues Monday, February 12 / Tuesday, February 13 CIS Data Structures ad Algorithms with Java Sprig 08 Stacks ad Queues Moday, February / Tuesday, February Learig Goals Durig this lab, you will: Review stacks ad queues. Lear amortized ruig time aalysis

More information