Framework for Adaptive Swarms Simulation and Optimization using MapReduce. Sergi Canyameres 1, Doina Logofătu 2

Size: px
Start display at page:

Download "Framework for Adaptive Swarms Simulation and Optimization using MapReduce. Sergi Canyameres 1, Doina Logofătu 2"

Transcription

1 Framework for Adaptive Swarms Simulatio ad Optimizatio usig MapReduce Sergi Cayameres, Doia Logofătu 2 2 Computer Sciece Departmet of Frakfurt am Mai Uiversity of Applied Scieces, Nibelugeplatz 6038, Frakfurt am Mai, Germay logofatu@fb2.fh-frakfurt.de Abstract Natural swarms ca have multiple structures ad follow may differet patters or laws. Most recet studies try to obtai the best solutios i very specific ad sophisticated cotexts. I this research, istead, a applicatio to fid a reasoable approximatio to the behaviour of ay possible icomig eviromet is developed. This paper describes a basic framework, GUI ad algorithms established i a way that ca be easily modified ad adapted to desired paradigms, parameters ad rules. I experimetal research, this will be able to provide help for may applicatios where atural swarm patters are followed but o deep, expert simulator has yet bee developed. To deal with the complexity of the biggest applicatios, the simulatios are to be ru i parallel computig usig the MapReduce framework. Backgroud ad Motivatio We were asked to develop a software which would fit the requiremets for takig part i the IformatiCUP []. I this year's editio the participats were asked to fid the best algorithms some robots should follow uder a specific sceario [2]. These are deployed o the ocea's surface ad ca oly commuicate betwee other earby boids, kowig ot more tha their relative positios. The aim is to move aroud the ocea's surface collectig magaese ad gather together after a certai time or commad. May spreadig or path algorithms could be appropriate, but there was a lack of iformatio about what to optimize (time, fuel, uique track covered...) so the goals were too ambiguous. Noe of the existig swarm algorithms that we foud satisfied our expectatios. As see i previous studies [3][4][5], it's commo to focus research i carefully delimited coditios, but o adaptable platform to use with our costrictios was foud. The goal of our project switched to cover this lack of resources ad try to set the basis for a lot of possible future developmets ad applicatios i experimetal research. Differet states ad phases were itroduced to modify the differet algorithms' weights accordig to the desired behaviour of the robots at every momet. Sectio 2 thoroughly explais the cotext of the project ad the first steps take, describig how startig with differet deploymet patters causes a eed of very differet movemet rules, so regular shapes -square, circlead irregular deploymets -radom, Gaussia, combiedwere created to study all the possibilities. I sectio 3, we show how the applicatio itself works, ad how the iteratio over the desired parameters ca provide some acceptable results ad how should they be uderstood for future applicatios. Sectio 4 itroduces the further eed of usig parallel computig for the executio of the applicatio. I sectio 5 the results are showed ad commeted to extract some coclusios leadig to the future work purposed i sectio 6. Requiremets ad Basis Settled The requiremets for the IformatiCUP were costrictive, especially whe establishig which commuicatios could take place betwee the robots. The ucertaity caused by the icomprehesibly ambiguous formulatio of the task gave us total freedom to focus o the creatio of a ew versatile framework ad leave costrictios behid. The required small viewig rage ad limited kowledge lead to the idea of applyig swarm particle algorithms. Ay other paradigm followed would be by ituitio, ad the time was limited to a few weeks which could ot be spet o tryig ufuded ideas. To keep the differece betwee what the robots could kow ad what ot, a Simulator class was created to keep track ad maage most of the iformatio ad share it properly with the other classes. The robot istaces are stored i a HashMap also cotaiig iformatio about positio (classes Robot ad Coordiates). Simultaeously, a first visualisatio of a "sea" of 500 by 500 positios was ALIFE 4: Proceedigs of the Fourteeth Iteratioal Coferece o the Sythesis ad Simulatio of Livig Systems

2 implemeted, so it was time to start with the deploymet cofiguratios. Optimisig the gatherig time is differet to optimisig the uique surface travelled or the fuel used after they start. Moreover, if the iitial set of robots is positioed i differet way, it becomes a key fact whe it matters of which algorithm to follow i order to ru over the surface followig some criteria.. Hece, may deploymet methods are available: DeployRadom(). Deploys a amout of robots i radom positios withi the give sea limits. Iitially this algorithm was implemeted to verify ad debug the eed of creatig a ew robot oly withi the viewig rage from at least oe other robot. Later i the project, this distributio stayed i the simulator for further testig of ew features (ew visualisatio, determie movemet behaviours) ad as oe of the startig poit algorithms for the IformatiCUP. As it is a very iefficiet startig set the challege was more ambitious. DeploySquare() ad DeployCircle(). Both deploy a amout of robots followig uiformly filled squared or circle patters. The first robot is oe of the four cetral poits of the figure, which grows i a spiral or surroudig shape from the cetre poit. DeployGauss() ad DeployBadCeters(). Give the iitial radom cetre (mea) ad variace, deploy the robots followig a Gaussia distributio, or i two uequal Gaussia distributios. This offers a iterestig ad challegig begiig, where two uequal groups are deployed close eough to see each other but far eough to, followig the mai algorithms see later, ted to split up ito two groups of boids. This is very useful whe extreme coditios are goig to be tested. Fig.. I order, Radom, Square, Circle, Gauss ad BadCeters deploymets show i the GUI. Previous Work 3. Iteractio Simulator-Robot The Simulator coordiates the evolutio of the steps take by the robots while iteractig with them i order to provide the exclusive data that they are allowed to kow, i the real way robots would perceive their eviromet. For example, the absolute coordiates are traslated to relative coordiates for every robot prior to beig give. Therefore, the boids are just computig machies which traslate the give iputs ito ew positios, give a set of rules or behaviour algorithms which ca be easily exchaged. Iteratio ca be uderstood as a real-time secod, fractio, etc. ad the maximum speed ca be chaged as a cosequece of this. I every step, the movemet for all the robots is calculated, ad oly oce they have foud their ew positio they will actually move, the Simulator beig resposible to iterate o the robots askig for the displacemet vector. With this, both ew positios ad speed ca be stored i order to be used i the followig iteratios as well as displayed through a friedly GUI. This way of iteractig is possibly ot as easy to modify as the algorithms that the robots are goig to use, as it is somethig quite specific for our project. Due to the expected versatility for the future uses, the complete code is carefully documeted with Javadoc i order to make it more uderstadable ad accessible. 3.2 Used Algorithms May differet algorithms for movig objects or swarm behaviour could be implemeted [6][7]. As said before, the mai itetio is ot to simulate some specific sceario, but to create a platform which allows a easy trasformatio of the characteristics to simulate. For this reaso the algorithms to be followed are ot required to be very complex, oly implemeted i a strict modular way. This allows the additio of other algorithms or simply the modificatio of the existig oes. The curret applicatio rus uder a simplificatio of the bird flock movemet described by Craig W. Reyolds [8]. This behaviour paradigm cosists of three criteria every robot follows at each iteratio, which ca be uderstood as three differet algorithms simultaeously workig. Cohesio: Every robot moves toward the cetre of mass of the eighbourig oes (). We assume the eighbourig group as the set of robots give by the simulator. This meas that these eighbours are oly those close eough (view rage limit) to be detected by the robot. Although () is the cocept simplificatio, experiece made us add a ALIFE 4: Proceedigs of the Fourteeth Iteratioal Coferece o the Sythesis ad Simulatio of Livig Systems

3 regulator which icreases the value of this result if a robot is too far away from the others. alg ( eighbours... ) = ( r r ix, iy) () i= Separatio: Every robot tries to keep a miimum distace with the closest robots (2). I the same way as the first algorithm, the average positio of the robots plays a role i this calculatio, but a little variatio gives a extra value to this result if the robot is too close from aother oe. The mai differece is that oly the really close robots are take ito cosideratio i this calculatio. Otherwise, it would be complemetary, opposite to () ad it would ot make sese to keep two algorithms. alg 2( eighbours... ) = ( r r ix, iy ) (2) i= Aligmet: Every robot chages directio to the average positio where the other robots are tryig to steer to (3). This is similar to a iertial force ifluecig all the set of boids, as it does ot work with the positios, but with the velocities. alg 3( velocities... ) = ( v v ix, iy ) (3) i= Fig. 2. Represetatio of algorithms (), (2) ad (3) [8]. 3.3 Weights ad Gatherig mode The fial decisio of every robot is coditioed by differet weights give to every algorithm implemeted (4). This allows activatio, modificatio ad deactivatio of ay existig algorithms without spedig time programmig or chagig the settigs. I fact, the GUI itself provides glide bars which allow the direct settig of the parameters withi a give rage. The curret versio oly applies the chages prior to the deploymet, but i the future ca easily be chaged. v( algorithms... ) = wi algi ( x, y) (4) i= I case of exceedig the maximum speed allowed by the requiremets, both x ad y compoets ca be ormalized so that the vector speed fits the specificatios: x y v [ x, y] = maxspeed, (5) x + y x + y The origial requiremets asked for a fial behaviour i which all the robots should stop focusig o collectig magaese ad movig towards some commo poit where a mother ship could collect them. Agai, the criteria to look for this poit was ot specified, ad may possibilities could be optimized: time, fuel used... The best poit if the desired parameter to miimize is the total fuel cosumed (or simply the total distace travelled), this should be the average positio of all the robots. Hece, the existet weights used for the algorithms are adequately used for this fial situatio, ad all of them are set to zero except the cohesio () weight, which is set to the maximum value. I the basic performace, a maximum of iteratios ca be set i order to activate Gatherig Mode, simulatig a evetual call from the mother ship or simply a time limit which could be itegrated i the boids. Aother coutdow is carried o by checkig if the robots moved more tha a specified threshold. After a certai umber of iteratios (cosecutive or ot) whe the robots are movig less tha this limit set, the Gatherig Mode ca also be activated. Oce the meetig of all the robots has take place, the simulatio stops after a specified timer ad a reset of all the variables ad parameters is doe, i order to execute a ew simulatio. I case of lookig for the best parameters (see ext paragraph) the iitial deploymet positios are loaded agai. 3.4 Fid Best Parameters The most importat fuctio is resposible for simulatig differet executios by usig as may parameters modificatios as possible i order to fid the best cofiguratio. The results ca be uderstood i may ways, as there are may output values which could be optimised (magaese collected, distace travelled, ratio betwee magaese ad distace, iteratios to joi, etc.). I our case the chose oe is simply the maximum amout of mierals collected. The most logical parameters to iterate o are the weights. However, also the umber of deployed robots, the deploymet method or the iteratios util gatherig plays a importat role o the results. I ay case, the simulatio ALIFE 4: Proceedigs of the Fourteeth Iteratioal Coferece o the Sythesis ad Simulatio of Livig Systems

4 eds up with a geerated data file cotaiig a header with geeral iformatio about the simulatios; static parameters or simply sequece of parameters used, e.g. simulatio doe with 5, 0, 50 ad 00 robots. All the results follow the header, with particular ifo about the set of variables for each simulatio, ad fially the results for magaese collected ad distace travelled. Iitially oly the best cofiguratio for the same set of parameters was registered. However, i order to uderstad the effects ad the evolutio of the values better, the output file ow icludes the result for all the simulatios. Its maipulatio ad uderstadig would be too tedious to be doe maually, so a script i Matlab is created to read ad plot the results i a 3D graphic, which is very helpful to see the behaviour of the simulatios. As some simulatios may have more dimesios, uable to be show i 3D, some adaptatios may be doe. For example, () ad (2) could be uderstood as complemetary values (the real differece is explaied i sectio 3.2). Istead of usig a axis for each, a ew parameter ca be show as the ratio betwee these two values give a closed rage: w w, w2 [ 0, 4] w2 = (6) w 3.5 Double Deploymet Compariso Whe fidig the best parameters for a give cofiguratio, the actual best weights might ot follow a ituitive patter which allows easy uderstadig. The aalysis of the simulatios so far was mostly a posteriori, by studyig ad searchig a proper iterpretatio of the results give i the output files or the graphics i Matlab. The visualisatio of the simulatio for a specific set of parameters was implemeted sice the very begiig, but the weights were ot modifiable ad the proper aalysis was ot comfortable. Hece, we wated to offer a fuctioality which could allow the user to observe ad compare the behaviour of the flock i a practical, real-time way. For that, a secod deploymet ca take place simultaeously, show i aother colour. The parameters, umber of robots ad the startig distributio ca be differet betwee them, offerig the possibility to see i real time the developmet of both simulatios i parallel. Fig.3 shows the visualisatio offered by the GUI. O the left, a first deploymet i red follows the double-gaussia patter, while the blue oe is purely radom. O the right side, a fulfilled circle is draw by the red robots, whereas a differet amout of robots, i blue, create a square. Both double simulatios perform a similar evolutio, although the uiform deploymets experimet smoother modificatios due to the regular distace betwee the boids. O the other had, the radomly positioed robots eed more iteratios to fid a balace, which still look more irregular tha i the images o the right. It was iterestig to add this little optio i order to explore the 2 capabilities of the platform i the gamig world, if we uderstad the both flocks as a competitio to see who gets a better performace. I the future, other applicatios might be iterested i usig this secod deploymet with ewer fuctioalities, such as direct modificatio of the parameters, commads o splittig or mergig the flocks, ad coutless other possibilities which ca be added. Fig. 3. Visualisatio of two pairs of parallel simulatios ALIFE 4: Proceedigs of the Fourteeth Iteratioal Coferece o the Sythesis ad Simulatio of Livig Systems

5 Distributed Algorithm Usig MapReduce Nowadays it is quite strage to fid big simulatios beig ru i simple computers, ad this project may ot be a exceptio. Most of the simulatios doe so far by us have used low amout of robots ad iteratios, as well as some simplificatios to just cofirm the operative power of the system. I order to execute these simulatios i a curret geeratio pc, the algorithms ca be sophisticated but the parameters must be simplified whe fidig the best cofiguratios. Otherwise too much memory usage is eeded ad the program's behaviour ca be irregular due to exceed of the memory space. For all this, a implemetatio of algorithm parallelizatio is required to be the ext step i the project. The Hadoop [9] ope-source implemetatio of the MapReduce [0] model is likely to be successfully used, like i other evolutioary applicatios []. This is the OpeSource MapReduce framework implemetatio from Apache, a batch data processig system for ruig applicatios, which process vast amouts of data i parallel, i a reliable ad fault-tolerat maer o large clusters of compute odes, usually ruig o commodity hardware. It comes with status ad moitorig tools ad offers a clea abstractio model for programmig, supportig automatic parallelizatio ad distributio. Hadoop comes with a distributed file system (HDFS) that creates multiple replicas of data blocks ad distributes them o compute odes throughout the cluster to eable reliable, extremely rapid computatios. def MR_REDUCE (List of <Cofiguratios> settigs) = { for( i ; i settigs.size(); step ) for( i ; i settigs[i].iteratios; step ) eighbourslist[i] getneighbours(robots, coordiates); extmove robot.move(eighbourslist[i]); coordiates.update(extmove); ed for ed for } retur bestweights; Fig. 5. Pseudocode for MR_SW_OPT The compute ad storage odes are typically the same. This allows the framework to schedule tasks effectively o the odes where data is already preset, resultig i very high aggregate rate across the cluster. The framework cosists of a sigle master JobTracker ad oe slave TaskTracker per compute ode. The master is resposible for schedulig the tasks for the map- ad reduce-operatios o the slaves, moitorig them ad reru the failed tasks. The slaves execute the tasks, as directed by the master. The applicatios specify the iput/output locatios, supply map ad reduce fuctios ad possibly ivariat (cotextual) data. These comprise the job cofiguratio. The Hadoop job cliet the submits the job (Java byte code packed i a jar-archive) ad cofiguratio to the JobTracker, which the distributes them to the slaves, schedules the map-/reduce- tasks, ad moitors them, providig status ad diagostic iformatio to the job cliet. A MapReduce job splits the iput data ito idepedet chuks (splits), which are the processed by the map tasks i a completely parallel maer. The framework sorts the maps outputs ad forwards them as iput to the reduce tasks. Fig. 4. MapReduce Dataflow Iitialize(Deploymet) def MR_MAP(List of Array possibleparameters) = { for( i ; i combiatios; step ) settigs[i] geeratecofiguratio(); ed for } Experimetal Results Assumig the limitatios of executig the applicatio i a sigle domestic computer, differet simulatios were doe. The iitial goals were just to check the correct behaviour of the applicatio. For this, logical results were pursuit by usig uderstadable ad basic parameters. Some combiatios hold useless values. A perfect circle cosistig o a regular amout of robots may ot eve experiece ay variatio of the positios, as the balace is achieved sice the deploymet itself. Similar behaviours may occur with a perfect squared patter, where the ier robots are balaced ad oly the surroudig oes experiece some little repositioig. I ay case, the evets see were correct. The actual implemetatio of the described project ca be foud at [2]. Oce this was verified more extesive calculatios took place by ALIFE 4: Proceedigs of the Fourteeth Iteratioal Coferece o the Sythesis ad Simulatio of Livig Systems

6 icreasig the rage of possible values. More real-like weights were itroduced. Also loger simulatios could be held by deployig more robots, as well as tryig all the possible deploymet methods. However, more detailed ad log simulatios should still be doe. The precisio is icreased ad the parameters are tested with smaller steps betwee simulatios, causig a big icrease of the data geerated eeded to be stored. Ufortuately, a stadard 6Gb computer experieces difficulties to keep such volumes of iformatio, leadig ito ustable behaviour of the program as see i figure 6. It is to be uderstood that the output is suddely decreased util 0, which is a seseless value because the robots gather some magaese eve if they are static. I ay case, the performace see so far cofirms the viability of usig the framework to experimet ad research with further cotexts, usig ew algorithms. I coclusio, there are good expectatios for the future. Fig. 6. Magaese depedig o w ad w 2 after Radom (above) ad Square (bottom) deploymets. As the figures show, the evolutio of the Magaese recollectio follows a logical ad acceptable evolutio through the values for the mai weights for algorithms () ad (2) after 25 ad 00 iteratios respectively. These two graphics correspods to two very differet deploymets such as radom ad squared-patter. Despite the iitial variatios both of them look very similar. This ca suggest that the robots act idividually, without oticig a big ifluece from the surroudigs. I the same way, circular ad radom deploymets offer very similar outputs. Refereces [] IformatiCUP. [2] Detailed requiremets for the first prototype. ktio/iformatiktage/studwett/aufgabe_ma gaerte_.pdf [3] Ferades, C.M., Merelo, J.J., Rosa, A.C.: Cotrollig the Parameters of the Particle Swarm Optimizatio with a Self- Orgaized Criticality Model. PPSN XII (II) pp Spriger, Taormia (202) [4] Bim, J., Karafotias, G., Smit, S.K., Eibe, A.E., Haasdijk, E,.: It s Fate: A Self-Orgaisig Evolutioary Algorithm. PPSN XII (II) pp Spriger, Taormia (202) [5] McNabb A., Seppi, K.: The Apiary Topology: Emerget Behavior i Commuities of Particle Swarms. PPSN XII (II) pp Spriger, Taormia (202) [6] Rodriguez, F.J., García-Martíez, C.: A Artificial Bee Coloy Algorithm for the Urelated Parallel Machies Schedulig Problem. PPSN XII (II) pp Spriger, Taormia (202) [7] Motes de Oca, M.A.: Particle Swarm Optimizatio - Itroductio. IL/slides.pdf [8] Reyolds, C.: Boids (simulated flockig). [9] Apache Hadoop ope-source implemetatio. [0] Dea, J., Ghemawat, S: MapReduce: simplified data processig o large clusters, I: Commuicatios of the ACM, Vol. 5, Nr., pp. 07-3, ACM New York, USA (2008) [] Logofătu, D., Dumitrescu, D.: Parallel Evolutioary Approach of Compactio Problem Usig MapReduce, I: Proceedigs of th Iteratioal Coferece o Parallel Problem Solvig from Nature (PPSN(2) 200), LNCS 6239, pp (200) [2] Implemetatio Adaptive Swarm Optimizatio (Robots): /Simulator.jar.htm Fig. 7. Bigger simulatios eed more memory. ALIFE 4: Proceedigs of the Fourteeth Iteratioal Coferece o the Sythesis ad Simulatio of Livig Systems

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

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

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

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

DETECTION OF LANDSLIDE BLOCK BOUNDARIES BY MEANS OF AN AFFINE COORDINATE TRANSFORMATION

DETECTION OF LANDSLIDE BLOCK BOUNDARIES BY MEANS OF AN AFFINE COORDINATE TRANSFORMATION Proceedigs, 11 th FIG Symposium o Deformatio Measuremets, Satorii, Greece, 2003. DETECTION OF LANDSLIDE BLOCK BOUNDARIES BY MEANS OF AN AFFINE COORDINATE TRANSFORMATION Michaela Haberler, Heribert Kahme

More information

Lecture Notes 6 Introduction to algorithm analysis CSS 501 Data Structures and Object-Oriented Programming

Lecture Notes 6 Introduction to algorithm analysis CSS 501 Data Structures and Object-Oriented Programming Lecture Notes 6 Itroductio to algorithm aalysis CSS 501 Data Structures ad Object-Orieted Programmig Readig for this lecture: Carrao, Chapter 10 To be covered i this lecture: Itroductio to algorithm aalysis

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

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

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

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

. 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

Analysis Metrics. Intro to Algorithm Analysis. Slides. 12. Alg Analysis. 12. Alg Analysis

Analysis Metrics. Intro to Algorithm Analysis. Slides. 12. Alg Analysis. 12. Alg Analysis Itro to Algorithm Aalysis Aalysis Metrics Slides. Table of Cotets. Aalysis Metrics 3. Exact Aalysis Rules 4. Simple Summatio 5. Summatio Formulas 6. Order of Magitude 7. Big-O otatio 8. Big-O Theorems

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

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

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

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

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

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

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

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

Lower Bounds for Sorting

Lower Bounds for Sorting Liear Sortig Topics Covered: Lower Bouds for Sortig Coutig Sort Radix Sort Bucket Sort Lower Bouds for Sortig Compariso vs. o-compariso sortig Decisio tree model Worst case lower boud Compariso Sortig

More information

Load balanced Parallel Prime Number Generator with Sieve of Eratosthenes on Cluster Computers *

Load balanced Parallel Prime Number Generator with Sieve of Eratosthenes on Cluster Computers * Load balaced Parallel Prime umber Geerator with Sieve of Eratosthees o luster omputers * Soowook Hwag*, Kyusik hug**, ad Dogseug Kim* *Departmet of Electrical Egieerig Korea Uiversity Seoul, -, Rep. of

More information

Improving Template Based Spike Detection

Improving Template Based Spike Detection Improvig Template Based Spike Detectio Kirk Smith, Member - IEEE Portlad State Uiversity petra@ee.pdx.edu Abstract Template matchig algorithms like SSE, Covolutio ad Maximum Likelihood are well kow for

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

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

SOFTWARE usually does not work alone. It must have

SOFTWARE usually does not work alone. It must have Proceedigs of the 203 Federated Coferece o Computer Sciece ad Iformatio Systems pp. 343 348 A method for selectig eviromets for software compatibility testig Łukasz Pobereżik AGH Uiversity of Sciece ad

More information

Pseudocode ( 1.1) Analysis of Algorithms. Primitive Operations. Pseudocode Details. Running Time ( 1.1) Estimating performance

Pseudocode ( 1.1) Analysis of Algorithms. Primitive Operations. Pseudocode Details. Running Time ( 1.1) Estimating performance Aalysis of Algorithms Iput Algorithm Output A algorithm is a step-by-step procedure for solvig a problem i a fiite amout of time. Pseudocode ( 1.1) High-level descriptio of a algorithm More structured

More information

Structuring Redundancy for Fault Tolerance. CSE 598D: Fault Tolerant Software

Structuring Redundancy for Fault Tolerance. CSE 598D: Fault Tolerant Software Structurig Redudacy for Fault Tolerace CSE 598D: Fault Tolerat Software What do we wat to achieve? Versios Damage Assessmet Versio 1 Error Detectio Iputs Versio 2 Voter Outputs State Restoratio Cotiued

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

Lecture 28: Data Link Layer

Lecture 28: Data Link Layer Automatic Repeat Request (ARQ) 2. Go ack N ARQ Although the Stop ad Wait ARQ is very simple, you ca easily show that it has very the low efficiecy. The low efficiecy comes from the fact that the trasmittig

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

How do we evaluate algorithms?

How do we evaluate algorithms? F2 Readig referece: chapter 2 + slides Algorithm complexity Big O ad big Ω To calculate ruig time Aalysis of recursive Algorithms Next time: Litterature: slides mostly The first Algorithm desig methods:

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

Parabolic Path to a Best Best-Fit Line:

Parabolic Path to a Best Best-Fit Line: Studet Activity : Fidig the Least Squares Regressio Lie By Explorig the Relatioship betwee Slope ad Residuals Objective: How does oe determie a best best-fit lie for a set of data? Eyeballig it may be

More information

Heuristic Approaches for Solving the Multidimensional Knapsack Problem (MKP)

Heuristic Approaches for Solving the Multidimensional Knapsack Problem (MKP) Heuristic Approaches for Solvig the Multidimesioal Kapsack Problem (MKP) R. PARRA-HERNANDEZ N. DIMOPOULOS Departmet of Electrical ad Computer Eg. Uiversity of Victoria Victoria, B.C. CANADA Abstract: -

More information

Speeding-up dynamic programming in sequence alignment

Speeding-up dynamic programming in sequence alignment Departmet of Computer Sciece Aarhus Uiversity Demark Speedig-up dyamic programmig i sequece aligmet Master s Thesis Dug My Hoa - 443 December, Supervisor: Christia Nørgaard Storm Pederse Implemetatio code

More information

An Efficient Algorithm for Graph Bisection of Triangularizations

An Efficient Algorithm for Graph Bisection of Triangularizations A Efficiet Algorithm for Graph Bisectio of Triagularizatios Gerold Jäger Departmet of Computer Sciece Washigto Uiversity Campus Box 1045 Oe Brookigs Drive St. Louis, Missouri 63130-4899, USA jaegerg@cse.wustl.edu

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

A Parallel DFA Minimization Algorithm

A Parallel DFA Minimization Algorithm A Parallel DFA Miimizatio Algorithm Ambuj Tewari, Utkarsh Srivastava, ad P. Gupta Departmet of Computer Sciece & Egieerig Idia Istitute of Techology Kapur Kapur 208 016,INDIA pg@iitk.ac.i Abstract. I this

More information

Harris Corner Detection Algorithm at Sub-pixel Level and Its Application Yuanfeng Han a, Peijiang Chen b * and Tian Meng c

Harris Corner Detection Algorithm at Sub-pixel Level and Its Application Yuanfeng Han a, Peijiang Chen b * and Tian Meng c Iteratioal Coferece o Computatioal Sciece ad Egieerig (ICCSE 015) Harris Corer Detectio Algorithm at Sub-pixel Level ad Its Applicatio Yuafeg Ha a, Peijiag Che b * ad Tia Meg c School of Automobile, Liyi

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

Improvement of the Orthogonal Code Convolution Capabilities Using FPGA Implementation

Improvement of the Orthogonal Code Convolution Capabilities Using FPGA Implementation Improvemet of the Orthogoal Code Covolutio Capabilities Usig FPGA Implemetatio Naima Kaabouch, Member, IEEE, Apara Dhirde, Member, IEEE, Saleh Faruque, Member, IEEE Departmet of Electrical Egieerig, Uiversity

More information

Software development of components for complex signal analysis on the example of adaptive recursive estimation methods.

Software development of components for complex signal analysis on the example of adaptive recursive estimation methods. Software developmet of compoets for complex sigal aalysis o the example of adaptive recursive estimatio methods. SIMON BOYMANN, RALPH MASCHOTTA, SILKE LEHMANN, DUNJA STEUER Istitute of Biomedical Egieerig

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

Accuracy Improvement in Camera Calibration

Accuracy Improvement in Camera Calibration Accuracy Improvemet i Camera Calibratio FaJie L Qi Zag ad Reihard Klette CITR, Computer Sciece Departmet The Uiversity of Aucklad Tamaki Campus, Aucklad, New Zealad fli006, qza001@ec.aucklad.ac.z r.klette@aucklad.ac.z

More information

Guide to Applying Online

Guide to Applying Online Guide to Applyig Olie Itroductio Respodig to requests for additioal iformatio Reportig: submittig your moitorig or ed of grat Pledges: submittig your Itroductio This guide is to help charities submit their

More information

APPLICATION NOTE PACE1750AE BUILT-IN FUNCTIONS

APPLICATION NOTE PACE1750AE BUILT-IN FUNCTIONS APPLICATION NOTE PACE175AE BUILT-IN UNCTIONS About This Note This applicatio brief is iteded to explai ad demostrate the use of the special fuctios that are built ito the PACE175AE processor. These powerful

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

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

Administrative UNSUPERVISED LEARNING. Unsupervised learning. Supervised learning 11/25/13. Final project. No office hours today

Administrative UNSUPERVISED LEARNING. Unsupervised learning. Supervised learning 11/25/13. Final project. No office hours today Admiistrative Fial project No office hours today UNSUPERVISED LEARNING David Kauchak CS 451 Fall 2013 Supervised learig Usupervised learig label label 1 label 3 model/ predictor label 4 label 5 Supervised

More information

Avid Interplay Bundle

Avid Interplay Bundle Avid Iterplay Budle Versio 2.5 Cofigurator ReadMe Overview This documet provides a overview of Iterplay Budle v2.5 ad describes how to ru the Iterplay Budle cofiguratio tool. Iterplay Budle v2.5 refers

More information

HADOOP: A NEW APPROACH FOR DOCUMENT CLUSTERING

HADOOP: A NEW APPROACH FOR DOCUMENT CLUSTERING Y.K. Patil* Iteratioal Joural of Advaced Research i ISSN: 2278-6244 IT ad Egieerig Impact Factor: 4.54 HADOOP: A NEW APPROACH FOR DOCUMENT CLUSTERING Prof. V.S. Nadedkar** Abstract: Documet clusterig is

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

Term Project Report. This component works to detect gesture from the patient as a sign of emergency message and send it to the emergency manager.

Term Project Report. This component works to detect gesture from the patient as a sign of emergency message and send it to the emergency manager. CS2310 Fial Project Loghao Li Term Project Report Itroductio I this project, I worked o expadig exercise 4. What I focused o is makig the real gesture recogizig sesor ad desig proper gestures ad recogizig

More information

Code Review Defects. Authors: Mika V. Mäntylä and Casper Lassenius Original version: 4 Sep, 2007 Made available online: 24 April, 2013

Code Review Defects. Authors: Mika V. Mäntylä and Casper Lassenius Original version: 4 Sep, 2007 Made available online: 24 April, 2013 Code Review s Authors: Mika V. Mätylä ad Casper Lasseius Origial versio: 4 Sep, 2007 Made available olie: 24 April, 2013 This documet cotais further details of the code review defects preseted i [1]. of

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

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

Message Integrity and Hash Functions. TELE3119: Week4

Message Integrity and Hash Functions. TELE3119: Week4 Message Itegrity ad Hash Fuctios TELE3119: Week4 Outlie Message Itegrity Hash fuctios ad applicatios Hash Structure Popular Hash fuctios 4-2 Message Itegrity Goal: itegrity (ot secrecy) Allows commuicatig

More information

Creating Exact Bezier Representations of CST Shapes. David D. Marshall. California Polytechnic State University, San Luis Obispo, CA , USA

Creating Exact Bezier Representations of CST Shapes. David D. Marshall. California Polytechnic State University, San Luis Obispo, CA , USA Creatig Exact Bezier Represetatios of CST Shapes David D. Marshall Califoria Polytechic State Uiversity, Sa Luis Obispo, CA 93407-035, USA The paper presets a method of expressig CST shapes pioeered by

More information

Derivation of perspective stereo projection matrices with depth, shape and magnification consideration

Derivation of perspective stereo projection matrices with depth, shape and magnification consideration Derivatio of perspective stereo projectio matrices with depth, shape ad magificatio cosideratio Patrick Oberthür Jauary 2014 This essay will show how to costruct a pair of stereoscopic perspective projectio

More information

are two specific neighboring points, F( x, y)

are two specific neighboring points, F( x, y) $33/,&$7,212)7+(6(/)$92,',1* 5$1'20:$/.12,6(5('8&7,21$/*25,7+0,17+(&2/285,0$*(6(*0(17$7,21 %RJGDQ602/.$+HQU\N3$/86'DPLDQ%(5(6.$ 6LOHVLDQ7HFKQLFDO8QLYHUVLW\'HSDUWPHQWRI&RPSXWHU6FLHQFH $NDGHPLFND*OLZLFH32/$1'

More information

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

Civil Engineering Computation

Civil Engineering Computation Civil Egieerig Computatio Fidig Roots of No-Liear Equatios March 14, 1945 World War II The R.A.F. first operatioal use of the Grad Slam bomb, Bielefeld, Germay. Cotets 2 Root basics Excel solver Newto-Raphso

More information

Using the Keyboard. Using the Wireless Keyboard. > Using the Keyboard

Using the Keyboard. Using the Wireless Keyboard. > Using the Keyboard 1 A wireless keyboard is supplied with your computer. The wireless keyboard uses a stadard key arragemet with additioal keys that perform specific fuctios. Usig the Wireless Keyboard Two AA alkalie batteries

More information

Chapter 3 MATHEMATICAL MODELING OF TOLERANCE ALLOCATION AND OVERVIEW OF EVOLUTIONARY ALGORITHMS

Chapter 3 MATHEMATICAL MODELING OF TOLERANCE ALLOCATION AND OVERVIEW OF EVOLUTIONARY ALGORITHMS 28 Chapter 3 MATHEMATICAL MODELING OF TOLERANCE ALLOCATION AND OVERVIEW OF EVOLUTIONARY ALGORITHMS Tolerace sythesis deals with the allocatio of tolerace values to various dimesios of idividual compoets

More information

System and Software Architecture Description (SSAD)

System and Software Architecture Description (SSAD) System ad Software Architecture Descriptio (SSAD) Diabetes Health Platform Team #6 Jasmie Berry (Cliet) Veerav Naidu (Project Maager) Mukai Nog (Architect) Steve South (IV&V) Vijaya Prabhakara (Quality

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

Weston Anniversary Fund

Weston Anniversary Fund Westo Olie Applicatio Guide 2018 1 This guide is desiged to help charities applyig to the Westo to use our olie applicatio form. The Westo is ope to applicatios from 5th Jauary 2018 ad closes o 30th Jue

More information

Dynamic Programming and Curve Fitting Based Road Boundary Detection

Dynamic Programming and Curve Fitting Based Road Boundary Detection Dyamic Programmig ad Curve Fittig Based Road Boudary Detectio SHYAM PRASAD ADHIKARI, HYONGSUK KIM, Divisio of Electroics ad Iformatio Egieerig Chobuk Natioal Uiversity 664-4 Ga Deokji-Dog Jeoju-City Jeobuk

More information

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

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

More information

FPGA IMPLEMENTATION OF BASE-N LOGARITHM. Salvador E. Tropea

FPGA IMPLEMENTATION OF BASE-N LOGARITHM. Salvador E. Tropea FPGA IMPLEMENTATION OF BASE-N LOGARITHM Salvador E. Tropea Electróica e Iformática Istituto Nacioal de Tecología Idustrial Bueos Aires, Argetia email: salvador@iti.gov.ar ABSTRACT I this work, we preset

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

GPUMP: a Multiple-Precision Integer Library for GPUs

GPUMP: a Multiple-Precision Integer Library for GPUs GPUMP: a Multiple-Precisio Iteger Library for GPUs Kaiyog Zhao ad Xiaowe Chu Departmet of Computer Sciece, Hog Kog Baptist Uiversity Hog Kog, P. R. Chia Email: {kyzhao, chxw}@comp.hkbu.edu.hk Abstract

More information

Alpha Individual Solutions MAΘ National Convention 2013

Alpha Individual Solutions MAΘ National Convention 2013 Alpha Idividual Solutios MAΘ Natioal Covetio 0 Aswers:. D. A. C 4. D 5. C 6. B 7. A 8. C 9. D 0. B. B. A. D 4. C 5. A 6. C 7. B 8. A 9. A 0. C. E. B. D 4. C 5. A 6. D 7. B 8. C 9. D 0. B TB. 570 TB. 5

More information

Session Initiated Protocol (SIP) and Message-based Load Balancing (MBLB)

Session Initiated Protocol (SIP) and Message-based Load Balancing (MBLB) F5 White Paper Sessio Iitiated Protocol (SIP) ad Message-based Load Balacig (MBLB) The ability to provide ew ad creative methods of commuicatios has esured a SIP presece i almost every orgaizatio. The

More information

An Efficient Algorithm for Graph Bisection of Triangularizations

An Efficient Algorithm for Graph Bisection of Triangularizations Applied Mathematical Scieces, Vol. 1, 2007, o. 25, 1203-1215 A Efficiet Algorithm for Graph Bisectio of Triagularizatios Gerold Jäger Departmet of Computer Sciece Washigto Uiversity Campus Box 1045, Oe

More information

Relay Placement Based on Divide-and-Conquer

Relay Placement Based on Divide-and-Conquer Relay Placemet Based o Divide-ad-Coquer Ravabakhsh Akhlaghiia, Azadeh Kaviafar, ad Mohamad Javad Rostami, Member, IACSIT Abstract I this paper, we defie a relay placemet problem to cover a large umber

More information

CMPT 125 Assignment 2 Solutions

CMPT 125 Assignment 2 Solutions CMPT 25 Assigmet 2 Solutios Questio (20 marks total) a) Let s cosider a iteger array of size 0. (0 marks, each part is 2 marks) it a[0]; I. How would you assig a poiter, called pa, to store the address

More information

27 Refraction, Dispersion, Internal Reflection

27 Refraction, Dispersion, Internal Reflection Chapter 7 Refractio, Dispersio, Iteral Reflectio 7 Refractio, Dispersio, Iteral Reflectio Whe we talked about thi film iterferece, we said that whe light ecouters a smooth iterface betwee two trasparet

More information

On Computing the Fuzzy Weighted Average Using the KM Algorithms

On Computing the Fuzzy Weighted Average Using the KM Algorithms O Computig the Fuzzy Weighted Average Usig the KM Algorithms Feilog iu ad Jerry M Medel Sigal ad Image Processig Istitute, Departmet of Electrical Egieerig Uiversity of Souther Califoria, 3740 McClitock

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

Examples and Applications of Binary Search

Examples and Applications of Binary Search Toy Gog ITEE Uiersity of Queeslad I the secod lecture last week we studied the biary search algorithm that soles the problem of determiig if a particular alue appears i a sorted list of iteger or ot. We

More information

Exact Minimum Lower Bound Algorithm for Traveling Salesman Problem

Exact Minimum Lower Bound Algorithm for Traveling Salesman Problem Exact Miimum Lower Boud Algorithm for Travelig Salesma Problem Mohamed Eleiche GeoTiba Systems mohamed.eleiche@gmail.com Abstract The miimum-travel-cost algorithm is a dyamic programmig algorithm to compute

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

CSC165H1 Worksheet: Tutorial 8 Algorithm analysis (SOLUTIONS)

CSC165H1 Worksheet: Tutorial 8 Algorithm analysis (SOLUTIONS) CSC165H1, Witer 018 Learig Objectives By the ed of this worksheet, you will: Aalyse the ruig time of fuctios cotaiig ested loops. 1. Nested loop variatios. Each of the followig fuctios takes as iput a

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

Descriptive Statistics Summary Lists

Descriptive Statistics Summary Lists Chapter 209 Descriptive Statistics Summary Lists Itroductio This procedure is used to summarize cotiuous data. Large volumes of such data may be easily summarized i statistical lists of meas, couts, stadard

More information

Data Structures and Algorithms. Analysis of Algorithms

Data Structures and Algorithms. Analysis of Algorithms Data Structures ad Algorithms Aalysis of Algorithms Outlie Ruig time Pseudo-code Big-oh otatio Big-theta otatio Big-omega otatio Asymptotic algorithm aalysis Aalysis of Algorithms Iput Algorithm Output

More information

What are we going to learn? CSC Data Structures Analysis of Algorithms. Overview. Algorithm, and Inputs

What are we going to learn? CSC Data Structures Analysis of Algorithms. Overview. Algorithm, and Inputs What are we goig to lear? CSC316-003 Data Structures Aalysis of Algorithms Computer Sciece North Carolia State Uiversity Need to say that some algorithms are better tha others Criteria for evaluatio Structure

More information

Cubic Polynomial Curves with a Shape Parameter

Cubic Polynomial Curves with a Shape Parameter roceedigs of the th WSEAS Iteratioal Coferece o Robotics Cotrol ad Maufacturig Techology Hagzhou Chia April -8 00 (pp5-70) Cubic olyomial Curves with a Shape arameter MO GUOLIANG ZHAO YANAN Iformatio ad

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

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

Fire Recognition in Video. Walter Phillips III Mubarak Shah Niels da Vitoria Lobo.

Fire Recognition in Video. Walter Phillips III Mubarak Shah Niels da Vitoria Lobo. Fire Recogitio i Video Walter Phillips III Mubarak Shah Niels da Vitoria Lobo {wrp65547,shah,iels}@cs.ucf.edu Computer Visio Laboratory Departmet of Computer Sciece Uiversity of Cetral Florida Orlado,

More information

Using a Dynamic Interval Type-2 Fuzzy Interpolation Method to Improve Modeless Robots Calibrations

Using a Dynamic Interval Type-2 Fuzzy Interpolation Method to Improve Modeless Robots Calibrations Joural of Cotrol Sciece ad Egieerig 3 (25) 9-7 doi:.7265/2328-223/25.3. D DAVID PUBLISHING Usig a Dyamic Iterval Type-2 Fuzzy Iterpolatio Method to Improve Modeless Robots Calibratios Yig Bai ad Dali Wag

More information

Normal Distributions

Normal Distributions Normal Distributios Stacey Hacock Look at these three differet data sets Each histogram is overlaid with a curve : A B C A) Weights (g) of ewly bor lab rat pups B) Mea aual temperatures ( F ) i A Arbor,

More information

Random Graphs and Complex Networks T

Random Graphs and Complex Networks T Radom Graphs ad Complex Networks T-79.7003 Charalampos E. Tsourakakis Aalto Uiversity Lecture 3 7 September 013 Aoucemet Homework 1 is out, due i two weeks from ow. Exercises: Probabilistic iequalities

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

CS 111 Green: Program Design I Lecture 27: Speed (cont.); parting thoughts

CS 111 Green: Program Design I Lecture 27: Speed (cont.); parting thoughts CS 111 Gree: Program Desig I Lecture 27: Speed (cot.); partig thoughts By Nascarkig - Ow work, CC BY-SA 4.0, https://commos.wikimedia.org/w/idex.php?curid=38671041 Robert H. Sloa (CS) & Rachel Poretsky

More information

DATA MINING II - 1DL460

DATA MINING II - 1DL460 DATA MINING II - 1DL460 Sprig 2017 A secod course i data miig http://www.it.uu.se/edu/course/homepage/ifoutv2/vt17/ Kjell Orsbor Uppsala Database Laboratory Departmet of Iformatio Techology, Uppsala Uiversity,

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