Composition of UML Described Refactoring Rules *

Size: px
Start display at page:

Download "Composition of UML Described Refactoring Rules *"

Transcription

1 Composton of UML Descrbed Refactorng Rules * Slavsa Markovc Swss Federal Insttute of Technology Department of Computer Scence Software Engneerng Laboratory 05 Lausanne-EPFL Swtzerland e-mal: Slavsa.Markovc@epfl.ch Abstract. Refactorngs resent a powerful approach for mprovng the qualty of software systems. A refactorng can be seen as a specal knd of behavor servng model formaton. The Object Constrant Language (OCL) together wth the metamodel of Unfed Modelng Language (UML) can be used for defnng rules for refactorng UML models. Ths paper nvestgates descrptons of refactorng rules that can be checked, reused and composed. The man contrbuton of ths paper s an algorthm to compute the descrpton of sequentally composed formatons. Ths allows one to check f a sequence of formatons s successfully applcable for a gven model before the formatons are executed on t. Furthermore, t facltates the analyss of the effects of formaton chan and ts usage n other compostons Introducton Model formatons are the core of Model Drven Archtecture (MDA) approach [0]. There exst several classfcatons of model formatons lke classfcaton on exomorphc, endomorphc and creatonal formatons []. Exomorphc formaton s a specal type of formaton that nvolves models from dfferent levels of abstracton. On the contrary to exomorphc formaton, endomorphc formaton deals wth models that are resented at the same level of abstracton and where source and target models are nstances of the same metamodel. Usages of endomorphc formatons are numerous. Typcal examples of ths knd of formaton are refactorngs [,, ]. For the descrpton of model formatons we wll use the Object Constrant Language [8] that would replace, possbly vague and ambguous, natural language descrpton. In ths paper, we wll address the problem of composng endomorphc model formatons n the context of ther applcaton to UML models [7]. Namely, the am s to have a method that wll allow us to specfy a formaton, analyze that formaton, evaluate a sequence of formatons or compose together descrptons of dfferent formatons. Ths wll leave us wth the possblty to decde n * Ths paper has been supported by Swss Natonal Scentfc Research Fund under the reference number

2 advance f t s meanngful or safe to perform a certan sequence of formatons or not. We offer some examples n ths paper that show the composton of several formaton descrptons, wth the goal of creatng more elaborated formaton descrptons. Ths paper s composed as follows: secton contans detals about the concepts used n ths approach and gves some examples of formaton descrptons appled on refactorng rules. In secton, the approach for composton of formatons s sented. Sectons 4 and 5 are reserved for related work and conclusons, respectvely. Refactorng Refactorng can be seen as a process of mprovng structure of a software system wthout changng ts behavor. In other words t means that for the same nput the refactored software system has to produce the same output as before. Ths behavor servaton s assured by so called condtons and condtons. Precondtons have to be fulflled before some refactorng s executed, and condtons resent descrpton of effects of one refactorng In ths paper we show that OCL constrants can be used to descrbe these and condtons. In the past, as descrbed n [], the process of refactorng was based on code-tocode formaton. Today, thanks to UML, we can rase the level of abstracton by refactorng UML models nstead of mplementaton code. Because of ths model change, whch appears after applyng refactorng, we can observe refactorng as just one type of model formaton. Ths type of model formatons, where the formaton wll be executed only f the condton s met, s called Condtonal Transformaton n [0]. Our man emphass s on the and condtons that have to be satsfed n order to refactor some UML model. Applyng OCL assertons on nstances of the UML metamodel (.e., model elements) s possble to defne these constrants. The two followng sub-sectons contan examples of OCL descrptons of formatons that resent two refactorng rules. The frst one, Abstracton, creates a new abstract superclass for some exstng class. The second one creates a new nterface for some exstng class.. Descrpton of the Abstracton Transformaton Ths formaton s used to create a new abstract class that wll be connected wth a generalzaton lnk to the exstng class, e.g. t creates a new parent of the exstng class. The condton of the descrpton assures that before executng the formaton there s a class n the system wth the same name as the parameter product but there s no class wth the same name as the parameter absproduct. The condton of the descrpton assures that after executon of the formaton a new abstract class wth the same name as the parameter absproduct s created and that there exsts a generalzaton lnk between the new and ntal class.

3 The condton s based on frame assumpton that means that anythng that s not mentoned has not been changed durng the formaton. Example of states that resent ths refactorng are shown on fgure. The upper and lower parts of fgure resent the same system state but usng dfferent syntax. The upper part descrbes one system state usng UML model elements, and the lower one descrbes the same system state usng nstances of metemodel elements. The OCL constrants are specfed on the metamodel level. The relevant part of the UML metamodel s shown on fgure. context Package def: classes: Set(Class) self.ownedclassfer->select(oclistypeof(class))->collect(c c.oclastype(class)) def: generalzatons: Set(Generalzaton) self.ownedclassfer->collect(generalzaton) def: nterfaces: Set(Interfaces::Interface) self.ownedclassfer->select(oclistypeof(interfaces::interface)) ->collect(c c.oclastype(interfaces::interface)) context Package::abstracton (product:strng, absproduct:strng) : classes->exsts(name product) and not classes->exsts(name absproduct) not nterfaces->exsts(name absproduct) : let: absprod:classclasses->select(nameabsproduct)->any(true) n let: gen:generalzatongeneralzatons->select(g g.specfc.name product and g.general.name absproduct)->any(true) n absprod.sabstracttrue and absprod.oclisnew() and gen.oclisnew() AbsProduct Product Product :C las s name'product' :C las s specfc name'product' generalzaton :G en eralzaton :C las s name'absproduct' s A bs tracttrue general Fg.. Example of the Abstracton refactorng

4 NamedElement name : Strng... Package +package 0.. +nestedpackage * +package 0.. Namespace +ownedclassfer * Classfer sabstract : Boolean false +general Generalzaton +specfc +generalzaton ssubsttutable : Bo... * Class Fg.. The relevant part of the UML.0 metamodel for the Abstracton refactorng. Descrpton of the Interface Extracton Transformaton The Interface Extracton formaton s used to add an nterface to a class. Ths enables another class to take a more abstract vew of a class by accessng t nstead, va an nterface. By the condton of the descrpton we assert that there exsts a class on whch we want to apply ths formaton and that there does not exst nether a class nor an nterface wth name creatorinf. The condton of the descrpton ensures that, after executon of the formaton, a new nterface s created wth the same name as creatorinf parameter, and that there exsts one mplementaton relaton between ths nterface and the class whose name we pass as a parameter creator. Furthermore, the condton ensures that all publc operatons from the class must exst n the nterface. In ths exsson we have borrowed hassamesgnature from UML.5 [5] that does not exst n the UML.0. Ths formaton s descrbed n the followng way usng OCL constrants appled on the nstances of the UML metamodel. context Package def: mplementatons:set(interfaces::implementaton) self.ownedclassfer->collect(mplementaton) context Package::nterfaceExtracton (creator:strng, creatorinf:strng) : classes->exsts(name creator) and not classes-> exsts(name creatorinf) and not nterfaces-> exsts(name creatorinf)

5 : let: creatinf:interfacenterfaces->select(namecreatorinf)->any(true) n let: mp:implementatonmplemenatons-> select(:implementaton.lementatngclassfer.name creator and.contract.name creatorinf)->any(true) n let: creat:classclasses->select(namecreator)->any(true) n creatinf.oclisnew() and mp.oclisnew and creat->collect(operaton)->select(vsbltyvsbltyknd::publc)-> forall(o:operaton creatinf->collect(operaton)-> exsts(o:operaton o.hassamesgnature(o))) and creatinf->collect(operaton)->forall(c:operaton c.oclisnew()) Fgure shows one possble state that satsfes the condton of the Interface Extracton formaton. CreatorInf Creator Creator :C las s nam e'creator' :C las s m plementatngclassfer nam e'creator' mplem entaton :Im p lem en ta ton :In terfac e nam e'creatorinf' contract Fg.. Example of Interface Extracton refactorng Fgure 4 shows the relevant part of UML.0 metamodel on whch the OCL exssons from and condtons of Interface Extracton are specfed.

6 NamedElement name : Strng... Namespace +ownedclassfer Package +package 0.. +package +nestedpackage * 0.. * +class +ownedoperaton Operaton Classfer 0.. sabstract : Boolean false * * +ownedoperaton 0.. Interface Interfaces) +contract * (from Class BehavoredClassfer +mplementaton Implementaton (from Interfaces) +mplementatngclassfer * Fg. 4. The relevant part of the UML.0 metamodel for the Abstracton refactorng Composton of Refactorngs. Why Composng Refactorngs? Refactorngs as they are sented n well known catalogs lke [] or [] resent only basc formatons that can only be used n some specfc stuatons. Furthermore, tools lke [4] that support these basc refactorngs do not let users to create ther own refactorngs, from scratch or by composng exstng refactorngs nto new ones. The composton of refactorngs would allow users of the tool to create ther own complex refactorngs that fulfll ther specfc needs. Of course, the new refactorng created n ths way could be combned wth others n order to create new ones, and so on. The problem wth composng refactorngs that are gven as the formatons of exstng code or models s that f t s not possble to execute one component formaton we have to nvoke a knd of roll-back mechansm that wll restore the system n the vous state; t may even be necessary to rollback several steps. By not dealng wth concrete formatons but only wth ther specfcatons, t s possble to avod ths knd of problem. Namely, the condtons and condtons of one composed formaton could be calculated before the formaton s executed so t would be possble to know n advance f one composton of formatons s legal and f t fulflls our needs. Furthermore, t s easer to analyze composed refactorngs f they are resented by one - par.. Prncples of Composng Whenever we want to make a formaton that s composed of several formatons we have to deal wth as many and condtons as we have formatons. The queston that arses s how to calculate the overall and condtons that we can use for the whole chan of small formatons.

7 Fgure 5 shows one formaton that conssts of three sub-formatons. As we have already stated each formaton has ts own and condton gven by two OCL exssons. One approach for applyng ths sequence s to evaluate the and exssons for each step (.e., each formaton) n the gven sequence on ther own system states. A better approach would be to calculate one and one condton for the whole sequence. Ths problem s solved by calculatng and condton for a chan of length. Iteratve addtons of the next formaton and condtons wll lead us to composte condtons for the chan of any length. At a frst glance, one mght guess that two formatons can be composed smply by composng the condtons usng the AND operator and composng the condtons usng AND as well. In some cases ths s correct but ths would not always lead to the legal chan of formaton descrptons. Ths s because each of the condtons s evaluated on ts specfc system state n some pont of tme. Our task now s to project condton of ntermedate state to condton of the ntal state. Here, the semantcs of the frst formaton has to be taken nto account. Obvously, f the condton of the ntermedate state s a logcal consequence from the condton of the frst formaton then nothng has to be added to the condton of the ntal state. T T T... T T T T T T composte - composte - composte - composte - Fg. 5. Composte formaton Fgure 6 shows relaton between two formatons. Each condton s evaluated on ts own system state that can be dfferent from other system states. Also, each condton s evaluated on the separate system state but on the contrary to condtons, each condton can be dependent on some part of the vous state. Ths dependency on the vous system state s realzed operator n OCL. On fgure 6, ths knd of dependency s resented wth the dashed lnes. Transformatoncomposte Transformaton Transformaton composte composte State State State Fg. 6. Dependences between two formatons Before we proceed wth the composton of formaton descrptons we have to perform a knd of -processng of descrptons by markng all varables dependant on ther system states on the followng way:

8 : V V : V V + : V@ V () In order to provde more cse descrpton of formaton composton we ntroduce the followng notaton: Χ set of all varables that exst n some system state X, X X set of all varables n ntal, ntermedate and fnal system state, ( X ) { true, false} a condton of the -th formaton that s evaluated on the state X ( X, X ) a { true, false} + condton of the -th formaton that s evaluated on the states X and X + ( X, X +) descrpton of a formaton that forms one system state to system state + PRE( X) a { true, false} composte condton that s evaluated on ntal system state POST ( X, X ) a { true, false} composte condton that s evaluated on the states X and X TRANS ( X, X ) descrpton of composte formaton that forms ntal system state to system state Now we can resent each formaton descrpton lke: ( X X ) ( X ) ( X X ), +, + () Usng ths notaton, two formatons from fgure 6 can be resented as followng: ( X, X ) ( X ) ( X X ), ( X, X ) ( X ) ( X X ), The process of fndng composed formaton descrpton can be formulated lke: calculatng and condton for a formaton that forms one system from state X to state X. Gven wth our notaton, composte formaton can be resented lke: TRANS Or n other words: ( X, X ) PRE( X ) POST ( X X ), () (4)

9 ( X ) POST( X, X) X ( X) ( X, X ) ( X ) ( X, X) We can calculate composte condton PRE ( X ) usng the followng formula: PRE (5) PRE ( X ) X ( X ) ( X X ) ( ) (6), X On the smlar way we can calculate the composte condton by usng the followng formula: PRE ( X ) POST ( X, X ) ( X ) X ( X, X ) ( X X ) (7), The frst condton for our chan of refactorngs to be legal s that every condton must evaluate to true on ts own system state. eval [ ( X )] true If ths condton s not satsfed then we have one llegal component formaton and we can conclude that our whole chan s llegal. The second condton that must be satsfed s that f the condton of the frst formaton descrpton evaluates to true then the condton of the second formaton descrpton must also evaluate to true: [ ( X, X )] true eval [ ( X )] true f eval then [ ( X, X ) mples ( X )] true eval Before we contnue wth composng OCL statements we are oblged to perform a sort of analyss. Ths s analyss of consstency between condton of the frst and condton of the second formaton descrpton. Wth ths step we detect all cases n whch after completon of the frst formaton we cannot contnue wth the second formaton due to ts unsatsfed condton. Durng ths analyss of legalty of a chan of formatons three cases can be detected: The chan s legal The chan s llegal but t can be formed nto a legal one The chan s llegal but t can not be formed nto a legal one The three followng subsectons contan three smple examples that descrbe these three possble cases. (8) (9)

10 Example. In ths subsecton we gve an example of one legal chan of two formatons. These two formatons are shown n Table. Table. Example of two formatons before -processng x > x x@ + x > x 5 y y y@ y y@ After the -processng usng () we have the followng and condtons lke shown n Table. Table. Example of one legal chan of two formatons x > x x + x > x 5 y y y y y Now, by observng values of condton of and condton of for varables of system state we can conclude that sequence of formatons {, } s legal because after solvng the equaton from the condton of, we have stuaton that x > 4 n and x > n whch depcts a set of correct system states. In other words, any value that satsfes also satsfes, whch means that the condton () s satsfed. For example gven n Table, usng (6) we have calculated the composte condton descrbed wth the followng exsson: ({ x, y} ) x y x > x x + x > y y y PRE (0) After the frst step of smplfcaton we get: ({ x y }) x > x > y PRE () And n the next step of smplfcaton:, ({ x y }) x > y PRE (), One remark s that durng the process of calculatng the composte condton, we are always lookng for the weakest soluton among all condtons that solve the condton (). Usng formula (7) we can calculate the composte condton. For our example from Table we have that:

11 PRE x y ({ x, y }) POST ({ x, y, x, y }) x > y () x So after smplfcaton we get: x + y y x ({ x y, x, y }) x 5 y, 5 y POST (4) y Example. In ths subsecton we gve an example of one llegal chan of two formatons that can be formed nto a legal one. Two formatons that buld ths chan are shown n Table. The only dfference from example s that now the condton of the second formaton s x 0. Table. Example of an llegal chan that can be formed nto a legal one x > x x + x > 0 x 5 y y y y y By observng values of condton of and condton of for varables of system state we can conclude that ths sequence of formatons s not legal because after solvng the equaton from the condton of, we have stuaton that x > 4 n and x > 0 n. Ths means that there can exst system states that satsfy the condton of the frst formaton but don t satsfy the condton of the second one,.e. there can exst some system states that do not satsfy (). If we want to compute composte condton for example from Table we follow the same algorthm lke we dd for example from Table. After the frst step of smplfcaton we have the followng stuaton: > ({ x y }) x > x > 8 y PRE (5), Further smplfcaton of ths exsson yelds the followng: ({ x y }) x > 8 y PRE (6), Ths means that f we want to have legal composte formaton descrpton we have to make composte condton stronger than condton of the frst formaton descrpton. The composte condton wll be the same as (4) because the change on the condton of the second formaton does not make any nfluence on t.

12 Example. In ths subsecton we gve an example of one llegal chan of two formatons that can not be formed nto a legal one. Two formatons that buld ths chan are shown n Table 4. The only dfference from example s that now the condton of the second formaton s x 4. Table 4. Example of an llegal chan that can not be formed nto a legal one x > x x + x < 4 x 5 y y y y y By observng values of condton of and condton of for varables of system state we can conclude that ths sequence of formatons s not legal because after solvng the equaton from the condton of, we have stuaton that x > 4 n and x < 4 n. Ths means that set of system states that satsfes both and condton s empty. If we try to compute the composte condton usng (7) we wll get the followng: < ({ x y }) x < 4 x > 4 y PRE (7), Ths means that t s not possble to fnd the composte condton for ths chan,.e. the chan s llegal.. Example of a Composed Refactorng Rule By analyzng our two refactorng examples from secton, we can conclude that composed formaton descrpton wll look lke the followng: context Package::composed (product:strng, absproduct:strng, creator:strng, creatorinf:strng) : classes->exsts(name product) and not classes->exsts(name absproduct) and not nterfaces-> exsts(name absproduct) classes->exsts(name creator) and not classes-> exsts(name creatorinf) and not nterfaces-> exsts(name creatorinf) and not absproductcreatorinf : let: absprod:classclasses->select(nameabsproduct)->any(true) n let: gen:generalzatongeneralzatons->select(g g.specfc.name product and g.general.name absproduct)->any(true) n

13 let: creatinf:interfacenterfaces->select(namecreatorinf)->any(true) n let: mp:implementatonmplemenatons-> select(:implementaton.lementatngclassfer.name creator and.contract.name creatorinf)->any(true) n let: creat:classclasses->select(namecreator)->any(true) n absprod.sabstracttrue and absprod.oclisnew() and gen.oclisnew() and creatinf.oclisnew() and mp.oclisnew and creat->collect(operaton)->select(vsbltyvsbltyknd::publc)-> forall(o:operaton creatinf->collect(operaton)-> exsts(o:operaton o.hassamesgnature(o))) and creatinf->collect(operaton)->forall(c:operaton c.oclisnew()).4 Lmtatons of the Approach One can notce that n our approach we use only a lmted set of OCL exssons n condtons n order to be able to evaluate unque new system state from the ntal one. Ths means that we do not use exssons wth, for the example < or > operators. In other words, we are usng only those OCL exssons that can be evaluated to true only on one system state. Usng the full set of OCL exssons can be seen as superfluous because the future system state n whch we want to brng our system s csely defned so operatons that can evaluate to true on several system states have to be avoded. Also, OCL s clumsy when we do not use the frame assumpton but have to wrte full versons of or condtons. Stll there s a hope that ths process of extractng full verson of OCL constrants out of verson that s based on the frame assumpton could be automated. Current lmtaton of our approach s that we can descrbe only formatons whose source and target models are nstances of the same metamodel lke the refactorng rules. 4 Related Work In hs PhD thess [], Opdyke resents refactorngs as combnatons of condtons whose purpose s the servaton of behavor of a program that s to be refactored and actual refactorng steps that are descrbed usng natural language. These condtons have to serve seven basc propertes of each program that are usually volated durng refactorng process. Also, ths work contans certan prncples of composton of refactorngs. The emphass s on the composton of prmtve condtons n order to keep behavor served. In [], Roberts ntroduces condtons nto the refactorng process; they are used n the composton of condtons for the chan of refactorngs. Before composng

14 condtons, Roberts frst forms them accordng to the vous refactorngs n the chan, by usng the condtons. Besdes the problem of composton, he dscusses the problems of commutatvty and dependences between refactorngs. He extends the approach of Opdyke by formalzng refactorngs usng frst-order dcate logc. Smlarly to ths approach, we also use condtons n order to calculate cumulatve condton of a refactorng chan. In hs thess [5], Ó Cnnedé uses the approach of Roberts n order to compose refactorngs related to desgn patterns. Besdes the composton of condtons, he ntroduces the concept of composton of condtons. He uses ths approach for manually calculatng desgn patterns seen as a chan of prmtve refactorngs. Sunyé et al. [4] use a very smlar approach to our one for resentng refactorngs. They descrbe refactorngs usng OCL exssons appled to the metamodel of UML. A dfference of our approach wth thers s that we localze all formatons on the level of one package assumng that, for the sake of smplcty, all refactorngs are done locally n the package. Ther refactorngs are defned on the model elements that are nfluenced by the specfc refactorng. In [], Sunyé et al. extend OCL wth so called actons whch are used to descrbe the formatons as the thrd component of refactorng, besdes and condtons. Composton of refactorngs s not dscussed n ths work. Due to the lack of Acton Semantcs n UML.4 specfcaton, Van Gorp et al. [6] propose ther own UML extenson for the support of refactorngs. OCL exssons are appled on the UML.4 extended metamodel. They defne OCL and condtons as the separate functons ntroduced wth the OCL def-let mechansm. Ths approach lacks of the possblty to use operator nsde of condtons. Knesel and Koch [] gve a cse defnton of refactorngs composton and descrbe an automatc approach of composng refactorngs that are gven wth ther condton and formaton descrpton. Ther noton of formaton descrpton s dfferent from ours, because they use ths term as a functon that forms condtons to reflect the real formatons. Our formaton descrptons nclude necessary and condtons whch descrbe each formaton. Ther approach for composton of refactorngs s dfferent to ours because they start composng from the last formaton whle we start from the frst one. 5 Concluson Ths work tackles the problems of composng endomorphc model formatons lke refactorngs. The am was to provde an approach for valdatng the sequence of these formatons and to fnd the way of composng these formatons n order to get more complcated formatons that can be appled or used n further compostons. On the contrary to work of some authors where a new metamodel s created n order to facltate usage of OCL exssons, we use the full UML. Despte all ts drawbacks, OCL n ths approach provdes an elegant way of descrbng model formatons and compostons of formatons. Unfortunately, by usng OCL condtons lke n our approach we can deal only wth the models that resent nstances of the same metamodel. Our wsh s to further develop our method n order

15 to be able to deal not only wth endomorphc formatons but wth any knd of formaton. The future steps wll nvolve the creaton of a lbrary of mn formaton descrptons n order to get some foundatons for descrbng more complcated refactorngs or desgn patterns. Our ntenton s to create the tool that would be able to automatcally calculate dependences and msmatchng between mn-formatons descrptons and to be able to generate a composte formaton descrpton out of these mn-formaton descrptons. References [] Opdyke, W. F., Refactorng Object-Orented Frameworks, Ph.D. thess, Unversty of Illnos at Urbana-Champagn, 99. [] Roberts, D., Practcal Analyss for Refactorng, Ph.D. thess, Unversty of Illnos at Urbana-Champagn, 999. [] Fowler, M., Refactorng: Improvng the Desgn of Exstng Programs, Addson-Wesley, 999. [4] Sunyé, G., Pollet, D., Le Traon Y., and Jézéquel J-M. Refactorng UML models, In Gogolla M. and Kobryn C., edtors, Proc. UML 00 - The Unfed Modelng Language. Modelng Languages, Concepts, and Tools. 4th Internatonal Conference, Toronto, Canada, volume 85 of LNCS, pages Sprnger, 00. [5] Ó Cnnéde, M., Automated Applcaton of Desgn Patterns: A Refactorng Approach, Ph.D. thess, Department of Computer Scence, Trnty College, Unversty of Dubln, 000. [6] Van Gorp, P., Stenten, H., Mens T., Demeyer, S.: Towards automatng source-consstent UML Refactorngs, UML 00. [7] Object Management Group. UML.0 Superstructure Specfcaton, September 00 [8] Object Management Group. UML.0 OCL Specfcaton, Fnal Adopted Specfcaton, October 00 [9] Gamma, E., Helm R., Johnson R. and Vlssdes, J. Desgn Patterns: Elements of Reusable Object-Orented Languages and Systems, Addson-Wesley, 994. [0] Object Management Group. MDA Gude Verson.0., OMG,. June 00 [] Knesel G., Koch H., Statc Composton of Refactorngs, In R. Lämmel, edtor, Scence n Computer Programmng; Specal ssue on program formaton. Elsever Scence, 004. To appear. [] Pollet D., Vojtsek D. and Jézéquel J-M. OCL as a core UML formaton language. WITUML 00 Poston paper, Malaga, Span, June 00. [] Sunyé, G., Le Guennec, A. and Jézéquel J-M. Usng UML Acton Semantcs for model executon and formaton. Informaton Systems Journal 7(6): , July 00 [4] Eclpse Project, [5] Object Management Group. Unfed Modelng Language (UML), verson.5, March 00.

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1)

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1) Secton 1.2 Subsets and the Boolean operatons on sets If every element of the set A s an element of the set B, we say that A s a subset of B, or that A s contaned n B, or that B contans A, and we wrte A

More information

A Binarization Algorithm specialized on Document Images and Photos

A Binarization Algorithm specialized on Document Images and Photos A Bnarzaton Algorthm specalzed on Document mages and Photos Ergna Kavalleratou Dept. of nformaton and Communcaton Systems Engneerng Unversty of the Aegean kavalleratou@aegean.gr Abstract n ths paper, a

More information

CMPS 10 Introduction to Computer Science Lecture Notes

CMPS 10 Introduction to Computer Science Lecture Notes CPS 0 Introducton to Computer Scence Lecture Notes Chapter : Algorthm Desgn How should we present algorthms? Natural languages lke Englsh, Spansh, or French whch are rch n nterpretaton and meanng are not

More information

On Some Entertaining Applications of the Concept of Set in Computer Science Course

On Some Entertaining Applications of the Concept of Set in Computer Science Course On Some Entertanng Applcatons of the Concept of Set n Computer Scence Course Krasmr Yordzhev *, Hrstna Kostadnova ** * Assocate Professor Krasmr Yordzhev, Ph.D., Faculty of Mathematcs and Natural Scences,

More information

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz Compler Desgn Sprng 2014 Regster Allocaton Sample Exercses and Solutons Prof. Pedro C. Dnz USC / Informaton Scences Insttute 4676 Admralty Way, Sute 1001 Marna del Rey, Calforna 90292 pedro@s.edu Regster

More information

ON SOME ENTERTAINING APPLICATIONS OF THE CONCEPT OF SET IN COMPUTER SCIENCE COURSE

ON SOME ENTERTAINING APPLICATIONS OF THE CONCEPT OF SET IN COMPUTER SCIENCE COURSE Yordzhev K., Kostadnova H. Інформаційні технології в освіті ON SOME ENTERTAINING APPLICATIONS OF THE CONCEPT OF SET IN COMPUTER SCIENCE COURSE Yordzhev K., Kostadnova H. Some aspects of programmng educaton

More information

Module Management Tool in Software Development Organizations

Module Management Tool in Software Development Organizations Journal of Computer Scence (5): 8-, 7 ISSN 59-66 7 Scence Publcatons Management Tool n Software Development Organzatons Ahmad A. Al-Rababah and Mohammad A. Al-Rababah Faculty of IT, Al-Ahlyyah Amman Unversty,

More information

Type-2 Fuzzy Non-uniform Rational B-spline Model with Type-2 Fuzzy Data

Type-2 Fuzzy Non-uniform Rational B-spline Model with Type-2 Fuzzy Data Malaysan Journal of Mathematcal Scences 11(S) Aprl : 35 46 (2017) Specal Issue: The 2nd Internatonal Conference and Workshop on Mathematcal Analyss (ICWOMA 2016) MALAYSIAN JOURNAL OF MATHEMATICAL SCIENCES

More information

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following.

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following. Complex Numbers The last topc n ths secton s not really related to most of what we ve done n ths chapter, although t s somewhat related to the radcals secton as we wll see. We also won t need the materal

More information

An Optimal Algorithm for Prufer Codes *

An Optimal Algorithm for Prufer Codes * J. Software Engneerng & Applcatons, 2009, 2: 111-115 do:10.4236/jsea.2009.22016 Publshed Onlne July 2009 (www.scrp.org/journal/jsea) An Optmal Algorthm for Prufer Codes * Xaodong Wang 1, 2, Le Wang 3,

More information

Tsinghua University at TAC 2009: Summarizing Multi-documents by Information Distance

Tsinghua University at TAC 2009: Summarizing Multi-documents by Information Distance Tsnghua Unversty at TAC 2009: Summarzng Mult-documents by Informaton Dstance Chong Long, Mnle Huang, Xaoyan Zhu State Key Laboratory of Intellgent Technology and Systems, Tsnghua Natonal Laboratory for

More information

Parallelism for Nested Loops with Non-uniform and Flow Dependences

Parallelism for Nested Loops with Non-uniform and Flow Dependences Parallelsm for Nested Loops wth Non-unform and Flow Dependences Sam-Jn Jeong Dept. of Informaton & Communcaton Engneerng, Cheonan Unversty, 5, Anseo-dong, Cheonan, Chungnam, 330-80, Korea. seong@cheonan.ac.kr

More information

Petri Net Based Software Dependability Engineering

Petri Net Based Software Dependability Engineering Proc. RELECTRONIC 95, Budapest, pp. 181-186; October 1995 Petr Net Based Software Dependablty Engneerng Monka Hener Brandenburg Unversty of Technology Cottbus Computer Scence Insttute Postbox 101344 D-03013

More information

Mathematics 256 a course in differential equations for engineering students

Mathematics 256 a course in differential equations for engineering students Mathematcs 56 a course n dfferental equatons for engneerng students Chapter 5. More effcent methods of numercal soluton Euler s method s qute neffcent. Because the error s essentally proportonal to the

More information

A Clustering Algorithm for Chinese Adjectives and Nouns 1

A Clustering Algorithm for Chinese Adjectives and Nouns 1 Clusterng lgorthm for Chnese dectves and ouns Yang Wen, Chunfa Yuan, Changnng Huang 2 State Key aboratory of Intellgent Technology and System Deptartment of Computer Scence & Technology, Tsnghua Unversty,

More information

AN ALGEBRAIC APPROACH TO CONSISTENCY CHECKING BETWEEN CLASS DIAGRAMS

AN ALGEBRAIC APPROACH TO CONSISTENCY CHECKING BETWEEN CLASS DIAGRAMS AN ALGEBRAIC AROACH TO CONSISTENC CHECKING BETWEEN CLASS DIAGRAMS HIDEKAZU ENJO, MOTONARI TANABU, JUNICHI IIJIMA NTT DATA Corporaton, okohama Natonal Unversty, Tokyo Insttute of Technology enouh@nttdata.co.p,

More information

Cluster Analysis of Electrical Behavior

Cluster Analysis of Electrical Behavior Journal of Computer and Communcatons, 205, 3, 88-93 Publshed Onlne May 205 n ScRes. http://www.scrp.org/ournal/cc http://dx.do.org/0.4236/cc.205.350 Cluster Analyss of Electrcal Behavor Ln Lu Ln Lu, School

More information

an assocated logc allows the proof of safety and lveness propertes. The Unty model nvolves on the one hand a programmng language and, on the other han

an assocated logc allows the proof of safety and lveness propertes. The Unty model nvolves on the one hand a programmng language and, on the other han UNITY as a Tool for Desgn and Valdaton of a Data Replcaton System Phlppe Quennec Gerard Padou CENA IRIT-ENSEEIHT y Nnth Internatonal Conference on Systems Engneerng Unversty of Nevada, Las Vegas { 14-16

More information

Solving two-person zero-sum game by Matlab

Solving two-person zero-sum game by Matlab Appled Mechancs and Materals Onlne: 2011-02-02 ISSN: 1662-7482, Vols. 50-51, pp 262-265 do:10.4028/www.scentfc.net/amm.50-51.262 2011 Trans Tech Publcatons, Swtzerland Solvng two-person zero-sum game by

More information

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS ARPN Journal of Engneerng and Appled Scences 006-017 Asan Research Publshng Network (ARPN). All rghts reserved. NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS Igor Grgoryev, Svetlana

More information

A New Approach For the Ranking of Fuzzy Sets With Different Heights

A New Approach For the Ranking of Fuzzy Sets With Different Heights New pproach For the ankng of Fuzzy Sets Wth Dfferent Heghts Pushpnder Sngh School of Mathematcs Computer pplcatons Thapar Unversty, Patala-7 00 Inda pushpndersnl@gmalcom STCT ankng of fuzzy sets plays

More information

Lecture 5: Multilayer Perceptrons

Lecture 5: Multilayer Perceptrons Lecture 5: Multlayer Perceptrons Roger Grosse 1 Introducton So far, we ve only talked about lnear models: lnear regresson and lnear bnary classfers. We noted that there are functons that can t be represented

More information

A NOTE ON FUZZY CLOSURE OF A FUZZY SET

A NOTE ON FUZZY CLOSURE OF A FUZZY SET (JPMNT) Journal of Process Management New Technologes, Internatonal A NOTE ON FUZZY CLOSURE OF A FUZZY SET Bhmraj Basumatary Department of Mathematcal Scences, Bodoland Unversty, Kokrajhar, Assam, Inda,

More information

Meta-heuristics for Multidimensional Knapsack Problems

Meta-heuristics for Multidimensional Knapsack Problems 2012 4th Internatonal Conference on Computer Research and Development IPCSIT vol.39 (2012) (2012) IACSIT Press, Sngapore Meta-heurstcs for Multdmensonal Knapsack Problems Zhbao Man + Computer Scence Department,

More information

Sum of Linear and Fractional Multiobjective Programming Problem under Fuzzy Rules Constraints

Sum of Linear and Fractional Multiobjective Programming Problem under Fuzzy Rules Constraints Australan Journal of Basc and Appled Scences, 2(4): 1204-1208, 2008 ISSN 1991-8178 Sum of Lnear and Fractonal Multobjectve Programmng Problem under Fuzzy Rules Constrants 1 2 Sanjay Jan and Kalash Lachhwan

More information

User Authentication Based On Behavioral Mouse Dynamics Biometrics

User Authentication Based On Behavioral Mouse Dynamics Biometrics User Authentcaton Based On Behavoral Mouse Dynamcs Bometrcs Chee-Hyung Yoon Danel Donghyun Km Department of Computer Scence Department of Computer Scence Stanford Unversty Stanford Unversty Stanford, CA

More information

Specifying Database Updates Using A Subschema

Specifying Database Updates Using A Subschema Specfyng Database Updates Usng A Subschema Sona Rstć, Pavle Mogn 2, Ivan Luovć 3 Busness College, V. Perća 4, 2000 Nov Sad, Yugoslava sdrstc@uns.ns.ac.yu 2 Vctora Unversty of Wellngton, School of Mathematcal

More information

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009.

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009. Farrukh Jabeen Algorthms 51 Assgnment #2 Due Date: June 15, 29. Assgnment # 2 Chapter 3 Dscrete Fourer Transforms Implement the FFT for the DFT. Descrbed n sectons 3.1 and 3.2. Delverables: 1. Concse descrpton

More information

3D vector computer graphics

3D vector computer graphics 3D vector computer graphcs Paolo Varagnolo: freelance engneer Padova Aprl 2016 Prvate Practce ----------------------------------- 1. Introducton Vector 3D model representaton n computer graphcs requres

More information

Notes on Organizing Java Code: Packages, Visibility, and Scope

Notes on Organizing Java Code: Packages, Visibility, and Scope Notes on Organzng Java Code: Packages, Vsblty, and Scope CS 112 Wayne Snyder Java programmng n large measure s a process of defnng enttes (.e., packages, classes, methods, or felds) by name and then usng

More information

Load Balancing for Hex-Cell Interconnection Network

Load Balancing for Hex-Cell Interconnection Network Int. J. Communcatons, Network and System Scences,,, - Publshed Onlne Aprl n ScRes. http://www.scrp.org/journal/jcns http://dx.do.org/./jcns.. Load Balancng for Hex-Cell Interconnecton Network Saher Manaseer,

More information

Oracle Database: SQL and PL/SQL Fundamentals Certification Course

Oracle Database: SQL and PL/SQL Fundamentals Certification Course Oracle Database: SQL and PL/SQL Fundamentals Certfcaton Course 1 Duraton: 5 Days (30 hours) What you wll learn: Ths Oracle Database: SQL and PL/SQL Fundamentals tranng delvers the fundamentals of SQL and

More information

A Resources Virtualization Approach Supporting Uniform Access to Heterogeneous Grid Resources 1

A Resources Virtualization Approach Supporting Uniform Access to Heterogeneous Grid Resources 1 A Resources Vrtualzaton Approach Supportng Unform Access to Heterogeneous Grd Resources 1 Cunhao Fang 1, Yaoxue Zhang 2, Song Cao 3 1 Tsnghua Natonal Labatory of Inforamaton Scence and Technology 2 Department

More information

Computer models of motion: Iterative calculations

Computer models of motion: Iterative calculations Computer models o moton: Iteratve calculatons OBJECTIVES In ths actvty you wll learn how to: Create 3D box objects Update the poston o an object teratvely (repeatedly) to anmate ts moton Update the momentum

More information

Brave New World Pseudocode Reference

Brave New World Pseudocode Reference Brave New World Pseudocode Reference Pseudocode s a way to descrbe how to accomplsh tasks usng basc steps lke those a computer mght perform. In ths week s lab, you'll see how a form of pseudocode can be

More information

Helsinki University Of Technology, Systems Analysis Laboratory Mat Independent research projects in applied mathematics (3 cr)

Helsinki University Of Technology, Systems Analysis Laboratory Mat Independent research projects in applied mathematics (3 cr) Helsnk Unversty Of Technology, Systems Analyss Laboratory Mat-2.08 Independent research projects n appled mathematcs (3 cr) "! #$&% Antt Laukkanen 506 R ajlaukka@cc.hut.f 2 Introducton...3 2 Multattrbute

More information

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision SLAM Summer School 2006 Practcal 2: SLAM usng Monocular Vson Javer Cvera, Unversty of Zaragoza Andrew J. Davson, Imperal College London J.M.M Montel, Unversty of Zaragoza. josemar@unzar.es, jcvera@unzar.es,

More information

Assembler. Building a Modern Computer From First Principles.

Assembler. Building a Modern Computer From First Principles. Assembler Buldng a Modern Computer From Frst Prncples www.nand2tetrs.org Elements of Computng Systems, Nsan & Schocken, MIT Press, www.nand2tetrs.org, Chapter 6: Assembler slde Where we are at: Human Thought

More information

Conditional Speculative Decimal Addition*

Conditional Speculative Decimal Addition* Condtonal Speculatve Decmal Addton Alvaro Vazquez and Elsardo Antelo Dep. of Electronc and Computer Engneerng Unv. of Santago de Compostela, Span Ths work was supported n part by Xunta de Galca under grant

More information

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching A Fast Vsual Trackng Algorthm Based on Crcle Pxels Matchng Zhqang Hou hou_zhq@sohu.com Chongzhao Han czhan@mal.xjtu.edu.cn Ln Zheng Abstract: A fast vsual trackng algorthm based on crcle pxels matchng

More information

TECHNIQUE OF FORMATION HOMOGENEOUS SAMPLE SAME OBJECTS. Muradaliyev A.Z.

TECHNIQUE OF FORMATION HOMOGENEOUS SAMPLE SAME OBJECTS. Muradaliyev A.Z. TECHNIQUE OF FORMATION HOMOGENEOUS SAMPLE SAME OBJECTS Muradalyev AZ Azerbajan Scentfc-Research and Desgn-Prospectng Insttute of Energetc AZ1012, Ave HZardab-94 E-mal:aydn_murad@yahoocom Importance of

More information

Reducing Frame Rate for Object Tracking

Reducing Frame Rate for Object Tracking Reducng Frame Rate for Object Trackng Pavel Korshunov 1 and We Tsang Oo 2 1 Natonal Unversty of Sngapore, Sngapore 11977, pavelkor@comp.nus.edu.sg 2 Natonal Unversty of Sngapore, Sngapore 11977, oowt@comp.nus.edu.sg

More information

Solitary and Traveling Wave Solutions to a Model. of Long Range Diffusion Involving Flux with. Stability Analysis

Solitary and Traveling Wave Solutions to a Model. of Long Range Diffusion Involving Flux with. Stability Analysis Internatonal Mathematcal Forum, Vol. 6,, no. 7, 8 Soltary and Travelng Wave Solutons to a Model of Long Range ffuson Involvng Flux wth Stablty Analyss Manar A. Al-Qudah Math epartment, Rabgh Faculty of

More information

Quality Improvement Algorithm for Tetrahedral Mesh Based on Optimal Delaunay Triangulation

Quality Improvement Algorithm for Tetrahedral Mesh Based on Optimal Delaunay Triangulation Intellgent Informaton Management, 013, 5, 191-195 Publshed Onlne November 013 (http://www.scrp.org/journal/m) http://dx.do.org/10.36/m.013.5601 Qualty Improvement Algorthm for Tetrahedral Mesh Based on

More information

Ontology Generator from Relational Database Based on Jena

Ontology Generator from Relational Database Based on Jena Computer and Informaton Scence Vol. 3, No. 2; May 2010 Ontology Generator from Relatonal Database Based on Jena Shufeng Zhou (Correspondng author) College of Mathematcs Scence, Laocheng Unversty No.34

More information

Virtual Machine Migration based on Trust Measurement of Computer Node

Virtual Machine Migration based on Trust Measurement of Computer Node Appled Mechancs and Materals Onlne: 2014-04-04 ISSN: 1662-7482, Vols. 536-537, pp 678-682 do:10.4028/www.scentfc.net/amm.536-537.678 2014 Trans Tech Publcatons, Swtzerland Vrtual Machne Mgraton based on

More information

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points;

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points; Subspace clusterng Clusterng Fundamental to all clusterng technques s the choce of dstance measure between data ponts; D q ( ) ( ) 2 x x = x x, j k = 1 k jk Squared Eucldean dstance Assumpton: All features

More information

GSLM Operations Research II Fall 13/14

GSLM Operations Research II Fall 13/14 GSLM 58 Operatons Research II Fall /4 6. Separable Programmng Consder a general NLP mn f(x) s.t. g j (x) b j j =. m. Defnton 6.. The NLP s a separable program f ts objectve functon and all constrants are

More information

Fault Detection in Rule-Based Software Systems

Fault Detection in Rule-Based Software Systems Fault Detecton n Rule-Based Software Systems Dong Wang, Rubng Hao and Davd Lee Bell Labs Research Chna Bejng, Chna, 100080 {wangd, rbhao, leedavd}@lucent.com Abstract Motvated by packet flterng of frewall

More information

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique //00 :0 AM Outlne and Readng The Greedy Method The Greedy Method Technque (secton.) Fractonal Knapsack Problem (secton..) Task Schedulng (secton..) Mnmum Spannng Trees (secton.) Change Money Problem Greedy

More information

AADL : about scheduling analysis

AADL : about scheduling analysis AADL : about schedulng analyss Schedulng analyss, what s t? Embedded real-tme crtcal systems have temporal constrants to meet (e.g. deadlne). Many systems are bult wth operatng systems provdng multtaskng

More information

On-line Scheduling Algorithm with Precedence Constraint in Embeded Real-time System

On-line Scheduling Algorithm with Precedence Constraint in Embeded Real-time System 00 rd Internatonal Conference on Coputer and Electrcal Engneerng (ICCEE 00 IPCSIT vol (0 (0 IACSIT Press, Sngapore DOI: 077/IPCSIT0VNo80 On-lne Schedulng Algorth wth Precedence Constrant n Ebeded Real-te

More information

Assembler. Shimon Schocken. Spring Elements of Computing Systems 1 Assembler (Ch. 6) Compiler. abstract interface.

Assembler. Shimon Schocken. Spring Elements of Computing Systems 1 Assembler (Ch. 6) Compiler. abstract interface. IDC Herzlya Shmon Schocken Assembler Shmon Schocken Sprng 2005 Elements of Computng Systems 1 Assembler (Ch. 6) Where we are at: Human Thought Abstract desgn Chapters 9, 12 abstract nterface H.L. Language

More information

APPLICATION OF MULTIVARIATE LOSS FUNCTION FOR ASSESSMENT OF THE QUALITY OF TECHNOLOGICAL PROCESS MANAGEMENT

APPLICATION OF MULTIVARIATE LOSS FUNCTION FOR ASSESSMENT OF THE QUALITY OF TECHNOLOGICAL PROCESS MANAGEMENT 3. - 5. 5., Brno, Czech Republc, EU APPLICATION OF MULTIVARIATE LOSS FUNCTION FOR ASSESSMENT OF THE QUALITY OF TECHNOLOGICAL PROCESS MANAGEMENT Abstract Josef TOŠENOVSKÝ ) Lenka MONSPORTOVÁ ) Flp TOŠENOVSKÝ

More information

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms Course Introducton Course Topcs Exams, abs, Proects A quc loo at a few algorthms 1 Advanced Data Structures and Algorthms Descrpton: We are gong to dscuss algorthm complexty analyss, algorthm desgn technques

More information

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search

Sequential search. Building Java Programs Chapter 13. Sequential search. Sequential search Sequental search Buldng Java Programs Chapter 13 Searchng and Sortng sequental search: Locates a target value n an array/lst by examnng each element from start to fnsh. How many elements wll t need to

More information

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields 17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 A mathematcal programmng approach to the analyss, desgn and

More information

An Image Fusion Approach Based on Segmentation Region

An Image Fusion Approach Based on Segmentation Region Rong Wang, L-Qun Gao, Shu Yang, Yu-Hua Cha, and Yan-Chun Lu An Image Fuson Approach Based On Segmentaton Regon An Image Fuson Approach Based on Segmentaton Regon Rong Wang, L-Qun Gao, Shu Yang 3, Yu-Hua

More information

UB at GeoCLEF Department of Geography Abstract

UB at GeoCLEF Department of Geography   Abstract UB at GeoCLEF 2006 Mguel E. Ruz (1), Stuart Shapro (2), June Abbas (1), Slva B. Southwck (1) and Davd Mark (3) State Unversty of New York at Buffalo (1) Department of Lbrary and Informaton Studes (2) Department

More information

MULTISPECTRAL IMAGES CLASSIFICATION BASED ON KLT AND ATR AUTOMATIC TARGET RECOGNITION

MULTISPECTRAL IMAGES CLASSIFICATION BASED ON KLT AND ATR AUTOMATIC TARGET RECOGNITION MULTISPECTRAL IMAGES CLASSIFICATION BASED ON KLT AND ATR AUTOMATIC TARGET RECOGNITION Paulo Quntlano 1 & Antono Santa-Rosa 1 Federal Polce Department, Brasla, Brazl. E-mals: quntlano.pqs@dpf.gov.br and

More information

Verification by testing

Verification by testing Real-Tme Systems Specfcaton Implementaton System models Executon-tme analyss Verfcaton Verfcaton by testng Dad? How do they know how much weght a brdge can handle? They drve bgger and bgger trucks over

More information

Loop Transformations, Dependences, and Parallelization

Loop Transformations, Dependences, and Parallelization Loop Transformatons, Dependences, and Parallelzaton Announcements Mdterm s Frday from 3-4:15 n ths room Today Semester long project Data dependence recap Parallelsm and storage tradeoff Scalar expanson

More information

Learning the Kernel Parameters in Kernel Minimum Distance Classifier

Learning the Kernel Parameters in Kernel Minimum Distance Classifier Learnng the Kernel Parameters n Kernel Mnmum Dstance Classfer Daoqang Zhang 1,, Songcan Chen and Zh-Hua Zhou 1* 1 Natonal Laboratory for Novel Software Technology Nanjng Unversty, Nanjng 193, Chna Department

More information

MODELING THE RELIABILITY OF INFORMATION MANAGEMENT SYSTEMS BASED ON MISSION SPECIFIC TOOLS SET SOFTWARE

MODELING THE RELIABILITY OF INFORMATION MANAGEMENT SYSTEMS BASED ON MISSION SPECIFIC TOOLS SET SOFTWARE Knowledge Dynamcs MODELING THE ELIABILITY OF INFOMATION MANAGEMENT SYSTEMS BASED ON MISSION SPECIFIC TOOLS SET SOFTWAE Cezar VASILESCU Assocate Professor, egonal Department of Defense esources Management

More information

News. Recap: While Loop Example. Reading. Recap: Do Loop Example. Recap: For Loop Example

News. Recap: While Loop Example. Reading. Recap: Do Loop Example. Recap: For Loop Example Unversty of Brtsh Columba CPSC, Intro to Computaton Jan-Apr Tamara Munzner News Assgnment correctons to ASCIIArtste.java posted defntely read WebCT bboards Arrays Lecture, Tue Feb based on sldes by Kurt

More information

UNIT 2 : INEQUALITIES AND CONVEX SETS

UNIT 2 : INEQUALITIES AND CONVEX SETS UNT 2 : NEQUALTES AND CONVEX SETS ' Structure 2. ntroducton Objectves, nequaltes and ther Graphs Convex Sets and ther Geometry Noton of Convex Sets Extreme Ponts of Convex Set Hyper Planes and Half Spaces

More information

Alignment Results of SOBOM for OAEI 2010

Alignment Results of SOBOM for OAEI 2010 Algnment Results of SOBOM for OAEI 2010 Pegang Xu, Yadong Wang, Lang Cheng, Tany Zang School of Computer Scence and Technology Harbn Insttute of Technology, Harbn, Chna pegang.xu@gmal.com, ydwang@ht.edu.cn,

More information

Polyhedral Compilation Foundations

Polyhedral Compilation Foundations Polyhedral Complaton Foundatons Lous-Noël Pouchet pouchet@cse.oho-state.edu Dept. of Computer Scence and Engneerng, the Oho State Unversty Feb 8, 200 888., Class # Introducton: Polyhedral Complaton Foundatons

More information

Classification / Regression Support Vector Machines

Classification / Regression Support Vector Machines Classfcaton / Regresson Support Vector Machnes Jeff Howbert Introducton to Machne Learnng Wnter 04 Topcs SVM classfers for lnearly separable classes SVM classfers for non-lnearly separable classes SVM

More information

Hermite Splines in Lie Groups as Products of Geodesics

Hermite Splines in Lie Groups as Products of Geodesics Hermte Splnes n Le Groups as Products of Geodescs Ethan Eade Updated May 28, 2017 1 Introducton 1.1 Goal Ths document defnes a curve n the Le group G parametrzed by tme and by structural parameters n the

More information

Harvard University CS 101 Fall 2005, Shimon Schocken. Assembler. Elements of Computing Systems 1 Assembler (Ch. 6)

Harvard University CS 101 Fall 2005, Shimon Schocken. Assembler. Elements of Computing Systems 1 Assembler (Ch. 6) Harvard Unversty CS 101 Fall 2005, Shmon Schocken Assembler Elements of Computng Systems 1 Assembler (Ch. 6) Why care about assemblers? Because Assemblers employ some nfty trcks Assemblers are the frst

More information

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour 6.854 Advanced Algorthms Petar Maymounkov Problem Set 11 (November 23, 2005) Wth: Benjamn Rossman, Oren Wemann, and Pouya Kheradpour Problem 1. We reduce vertex cover to MAX-SAT wth weghts, such that the

More information

Related-Mode Attacks on CTR Encryption Mode

Related-Mode Attacks on CTR Encryption Mode Internatonal Journal of Network Securty, Vol.4, No.3, PP.282 287, May 2007 282 Related-Mode Attacks on CTR Encrypton Mode Dayn Wang, Dongda Ln, and Wenlng Wu (Correspondng author: Dayn Wang) Key Laboratory

More information

On Correctness of Nonserializable Executions

On Correctness of Nonserializable Executions Journal of Computer and System Scences 56, 688 (1998) Artcle No. SS971536 On Correctness of Nonseralzable Executons Rajeev Rastog,* Sharad Mehrotra, - Yur Bretbart, [,1 Henry F. Korth,* and Av Slberschatz*

More information

Intro. Iterators. 1. Access

Intro. Iterators. 1. Access Intro Ths mornng I d lke to talk a lttle bt about s and s. We wll start out wth smlartes and dfferences, then we wll see how to draw them n envronment dagrams, and we wll fnsh wth some examples. Happy

More information

Esc101 Lecture 1 st April, 2008 Generating Permutation

Esc101 Lecture 1 st April, 2008 Generating Permutation Esc101 Lecture 1 Aprl, 2008 Generatng Permutaton In ths class we wll look at a problem to wrte a program that takes as nput 1,2,...,N and prnts out all possble permutatons of the numbers 1,2,...,N. For

More information

Report on On-line Graph Coloring

Report on On-line Graph Coloring 2003 Fall Semester Comp 670K Onlne Algorthm Report on LO Yuet Me (00086365) cndylo@ust.hk Abstract Onlne algorthm deals wth data that has no future nformaton. Lots of examples demonstrate that onlne algorthm

More information

High-Boost Mesh Filtering for 3-D Shape Enhancement

High-Boost Mesh Filtering for 3-D Shape Enhancement Hgh-Boost Mesh Flterng for 3-D Shape Enhancement Hrokazu Yagou Λ Alexander Belyaev y Damng We z Λ y z ; ; Shape Modelng Laboratory, Unversty of Azu, Azu-Wakamatsu 965-8580 Japan y Computer Graphcs Group,

More information

Concurrent models of computation for embedded software

Concurrent models of computation for embedded software Concurrent models of computaton for embedded software and hardware! Researcher overvew what t looks lke semantcs what t means and how t relates desgnng an actor language actor propertes and how to represent

More information

Scheduling Remote Access to Scientific Instruments in Cyberinfrastructure for Education and Research

Scheduling Remote Access to Scientific Instruments in Cyberinfrastructure for Education and Research Schedulng Remote Access to Scentfc Instruments n Cybernfrastructure for Educaton and Research Je Yn 1, Junwe Cao 2,3,*, Yuexuan Wang 4, Lanchen Lu 1,3 and Cheng Wu 1,3 1 Natonal CIMS Engneerng and Research

More information

Proper Choice of Data Used for the Estimation of Datum Transformation Parameters

Proper Choice of Data Used for the Estimation of Datum Transformation Parameters Proper Choce of Data Used for the Estmaton of Datum Transformaton Parameters Hakan S. KUTOGLU, Turkey Key words: Coordnate systems; transformaton; estmaton, relablty. SUMMARY Advances n technologes and

More information

PHYSICS-ENHANCED L-SYSTEMS

PHYSICS-ENHANCED L-SYSTEMS PHYSICS-ENHANCED L-SYSTEMS Hansrud Noser 1, Stephan Rudolph 2, Peter Stuck 1 1 Department of Informatcs Unversty of Zurch, Wnterthurerstr. 190 CH-8057 Zurch Swtzerland noser(stuck)@f.unzh.ch, http://www.f.unzh.ch/~noser(~stuck)

More information

FINDING IMPORTANT NODES IN SOCIAL NETWORKS BASED ON MODIFIED PAGERANK

FINDING IMPORTANT NODES IN SOCIAL NETWORKS BASED ON MODIFIED PAGERANK FINDING IMPORTANT NODES IN SOCIAL NETWORKS BASED ON MODIFIED PAGERANK L-qng Qu, Yong-quan Lang 2, Jng-Chen 3, 2 College of Informaton Scence and Technology, Shandong Unversty of Scence and Technology,

More information

Decision Strategies for Rating Objects in Knowledge-Shared Research Networks

Decision Strategies for Rating Objects in Knowledge-Shared Research Networks Decson Strateges for Ratng Objects n Knowledge-Shared Research etwors ALEXADRA GRACHAROVA *, HAS-JOACHM ER **, HASSA OUR ELD ** OM SUUROE ***, HARR ARAKSE *** * nsttute of Control and System Research,

More information

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers IOSR Journal of Electroncs and Communcaton Engneerng (IOSR-JECE) e-issn: 78-834,p- ISSN: 78-8735.Volume 9, Issue, Ver. IV (Mar - Apr. 04), PP 0-07 Content Based Image Retreval Usng -D Dscrete Wavelet wth

More information

TN348: Openlab Module - Colocalization

TN348: Openlab Module - Colocalization TN348: Openlab Module - Colocalzaton Topc The Colocalzaton module provdes the faclty to vsualze and quantfy colocalzaton between pars of mages. The Colocalzaton wndow contans a prevew of the two mages

More information

Classifier Selection Based on Data Complexity Measures *

Classifier Selection Based on Data Complexity Measures * Classfer Selecton Based on Data Complexty Measures * Edth Hernández-Reyes, J.A. Carrasco-Ochoa, and J.Fco. Martínez-Trndad Natonal Insttute for Astrophyscs, Optcs and Electroncs, Lus Enrque Erro No.1 Sta.

More information

Model Integrated Computing: A Framework for Creating Domain Specific Design Environments

Model Integrated Computing: A Framework for Creating Domain Specific Design Environments Model Integrated Computng: A Framework for Creatng Doman Specfc Desgn Envronments James R. DAVIS Vanderblt Unversty, Insttute for Software Integrated Systems Nashvlle, TN 37203, USA ABSTRACT Model Integrated

More information

CE 221 Data Structures and Algorithms

CE 221 Data Structures and Algorithms CE 1 ata Structures and Algorthms Chapter 4: Trees BST Text: Read Wess, 4.3 Izmr Unversty of Economcs 1 The Search Tree AT Bnary Search Trees An mportant applcaton of bnary trees s n searchng. Let us assume

More information

The Shortest Path of Touring Lines given in the Plane

The Shortest Path of Touring Lines given in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 262 The Open Cybernetcs & Systemcs Journal, 2015, 9, 262-267 The Shortest Path of Tourng Lnes gven n the Plane Open Access Ljuan Wang 1,2, Dandan He

More information

PYTHON IMPLEMENTATION OF VISUAL SECRET SHARING SCHEMES

PYTHON IMPLEMENTATION OF VISUAL SECRET SHARING SCHEMES PYTHON IMPLEMENTATION OF VISUAL SECRET SHARING SCHEMES Ruxandra Olmd Faculty of Mathematcs and Computer Scence, Unversty of Bucharest Emal: ruxandra.olmd@fm.unbuc.ro Abstract Vsual secret sharng schemes

More information

A Five-Point Subdivision Scheme with Two Parameters and a Four-Point Shape-Preserving Scheme

A Five-Point Subdivision Scheme with Two Parameters and a Four-Point Shape-Preserving Scheme Mathematcal and Computatonal Applcatons Artcle A Fve-Pont Subdvson Scheme wth Two Parameters and a Four-Pont Shape-Preservng Scheme Jeqng Tan,2, Bo Wang, * and Jun Sh School of Mathematcs, Hefe Unversty

More information

Wishing you all a Total Quality New Year!

Wishing you all a Total Quality New Year! Total Qualty Management and Sx Sgma Post Graduate Program 214-15 Sesson 4 Vnay Kumar Kalakband Assstant Professor Operatons & Systems Area 1 Wshng you all a Total Qualty New Year! Hope you acheve Sx sgma

More information

Fast Computation of Shortest Path for Visiting Segments in the Plane

Fast Computation of Shortest Path for Visiting Segments in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 4 The Open Cybernetcs & Systemcs Journal, 04, 8, 4-9 Open Access Fast Computaton of Shortest Path for Vstng Segments n the Plane Ljuan Wang,, Bo Jang

More information

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization Problem efntons and Evaluaton Crtera for Computatonal Expensve Optmzaton B. Lu 1, Q. Chen and Q. Zhang 3, J. J. Lang 4, P. N. Suganthan, B. Y. Qu 6 1 epartment of Computng, Glyndwr Unversty, UK Faclty

More information

Machine Learning 9. week

Machine Learning 9. week Machne Learnng 9. week Mappng Concept Radal Bass Functons (RBF) RBF Networks 1 Mappng It s probably the best scenaro for the classfcaton of two dataset s to separate them lnearly. As you see n the below

More information

Accounting for the Use of Different Length Scale Factors in x, y and z Directions

Accounting for the Use of Different Length Scale Factors in x, y and z Directions 1 Accountng for the Use of Dfferent Length Scale Factors n x, y and z Drectons Taha Soch (taha.soch@kcl.ac.uk) Imagng Scences & Bomedcal Engneerng, Kng s College London, The Rayne Insttute, St Thomas Hosptal,

More information

Consistency constraints and 3D building reconstruction

Consistency constraints and 3D building reconstruction Consstency constrants and 3D buldng reconstructon Sébasten Horna, Danel Meneveaux, Gullaume Damand, Yves Bertrand To cte ths verson: Sébasten Horna, Danel Meneveaux, Gullaume Damand, Yves Bertrand. Consstency

More information

Positive Semi-definite Programming Localization in Wireless Sensor Networks

Positive Semi-definite Programming Localization in Wireless Sensor Networks Postve Sem-defnte Programmng Localzaton n Wreless Sensor etworks Shengdong Xe 1,, Jn Wang, Aqun Hu 1, Yunl Gu, Jang Xu, 1 School of Informaton Scence and Engneerng, Southeast Unversty, 10096, anjng Computer

More information

CS1100 Introduction to Programming

CS1100 Introduction to Programming Factoral (n) Recursve Program fact(n) = n*fact(n-) CS00 Introducton to Programmng Recurson and Sortng Madhu Mutyam Department of Computer Scence and Engneerng Indan Insttute of Technology Madras nt fact

More information