Kinetic Collision Detection: Algorithms and Experiments

Size: px
Start display at page:

Download "Kinetic Collision Detection: Algorithms and Experiments"

Transcription

1 Kineti Collision Detetion: Algorithms n Experiments Leonis J. Guis Feng Xie Li Zhng Computer Siene Deprtment, Stnfor University Astrt Effiient ollision etetion is importnt in mny rooti tsks, from high-level motion plnning in stti environment to low-level retive ehvior in ynmi situtions. Espeilly hllenging re prolems in whih multiple roots re moving mong multiple moving ostles. There is extensive work on the ollision etetion prolem in rootis s well s in other fiels. Mny of the suessful pprohes exploit the ontinuity or oherene of the motion to reue the ollision heking overhe. In this pper, we present numer of ollision etetion lgorithms formulte uner the Kineti Dt Strutures (KDS) frmework, frmework for esigning n nlyzing lgorithms for ojets in motion. The KDS frmework les to event-se lgorithms tht smple the stte of ifferent prts of the system only s often s neessry for the tsk t hn. Erlier work hs emonstrte the theoretil effiieny of KDS lgorithms. In this pper we present new lgorithms n emonstrte their prtil effiieny s well, y n implementtion n iret omprison with lssil ro n nrrow phse ollision etetion tehniques. 1 Introution Collision etetion is n lgorithmi prolem rising in ll res of omputer siene eling with the simultion of physil ojets in motion. Exmples inlue motion plnning in rootis, virtul relity nimtions, omputer-ie esign n mnufturing, n omputer gmes. Though physil simultion involves severl other omputtionl tsks, suh s motion ynmis integrtion, grphis renering, n ollision response, ollision etetion remins still one of the most time onsuming in suh system. Often the ollision etetion prolem is roken up into two prts, the so-lle ro phse, in whih we ientify the pirs of ojets we nee to onsier for possile ollision, n the nrrow phse in whih we trk the ourrene of ollisions etween speifi pir of ojets [13, 16]. For the ro phse, lmost ll uthors use some kin of simple ouning volumes for the ojets themselves, or for portions of their E-mil: {guis,feng,lizhng}@s.stnfor.eu. The uthors wish to knowlege support from NSF grnts CCR , IRI , n US Army MURI grnt DAHH trjetories in spe or spe-time, so s to quikly eliminte from onsiertion pirs of ojets tht nnot possily ollie. Mny ifferent kins of ouning volumes hve een suggeste n trie, inluing xis-ligne or oriente ouning oxes, spheres, et. [19, 6, 11, 16]. The nrrow phse is more speilize, oring to the types of ojets eing onsiere. The simplest ojets to onsier re onvex polytopes, n this se hs een extensively stuie in the literture [15, 16, 18, 1]. More omplex ojets re then roken up into onvex piees, whih re teste pirwise. Algorithmilly, the onvex polytope intersetion prolem is speil se of liner progrmming; in two n three imensions even more effiient tehniques hve een evelope in omputtionl geometry, tht n e pplie fter suitle preproessing of the two polytopes [7]. The methos, however, tht hve proven to work est in prtie exploit the temporl oherene of the motion to voi oing n initio intersetion test t eh time step. Not surprisingly, the ollision etetion prolem is losely relte to the istne omputtion prolem. Sine the istne etween two ontinuously moving polytopes lso hnges ontinuously, mny well-known ollision etetion lgorithms, suh s those of Lin n Cnny [14, 15], Mirtih [16, 17], n Gilert et l. [1] (see lso [5]), re se upon trking the losest pir of fetures of the polytopes uring their motion. The effiieny of these lgorithms is se on the ft tht, in smll time step, the losest pir of fetures will not hnge, or will hnge to some nery fetures on the polytopes. Collision etetion nee not require ext istne mintenne, however. Furthermore ollisions, whether they e of ouning volumes or of the ojets themselves, ten to e very irregulrly spe over time n thus goo time step is hr to hoose. This is extly the setting in whih event-se methos ome in hny. We present elow new ollision etetion lgorithm for multiple moving onvex oies, tking vntge of these intuitions. The ro phse of our lgorithm uses spheres s the ouning volumes n mintins the ul power igrm [2] of the spheres s they move; this is gurntee to ontin n ege etween the losest pir of spheres, whih re the two tht n ollie next. For the nrrow phse, we mintin seprtion ertifites etween two moving onvex polytopes. These ertifites re upte s neessry uring the motion. These

2 re generliztion of the kineti ertifites use y [9] in two-imensions. In orer to tke the vntge of the temporl oherene of ontinuous motion, we stuy the lgorithms uner the Kineti Dt Strutures (or KDSs for short) frmework, introue in [4]. In the kineti setting we ssume tht the instntneous motion lws for our polytopes re known, though they n e hnge t will y ppropritely notifying the KDS. Our smpling of time is not fixe, ut is etermine y the filure of ertin onitions, lle ertifites. Using the known motion lws, these ertifite filure times re estimte n ple in n event queue. In the plinest form of KDS, the ertifites eing mintine prove (in the strit mthemtil sense) tht no ollision hs ourre. In our nrrow phse implementtion, for exmple, these re seprtion ertifites, proving tht the two polytopes re seprte y plne. The filure of seprtion ertifite nee not men tht ollision hs ourre; it n simply men tht the file ertifite hs to e reple y one or more others, still proving the non-intersetion of the polytopes. In generl, t kineti event orresponing to ertifite filure, the ertifite set eing mintine h to e repire, n in the proess the ttriute omputtion possily upte s well. A goo KDS will hoose ertifite set tht n e repire lolly n effiiently when one of its memers fils. This is possile euse KDS exploits ontinuity or oherene of the motion to otin ontinuity of the proof. A goo KDS is lle ompt if it requires little spe, responsive if it n e upte quikly fter ertifite filure, lol if it justs esily to hnges in the motion plns of the ojets, n effiient if the totl numer of events is smll. Our kineti ollision-etetion t strutures hve ll these esirle properties; they mintin only smll onstnt numer of ertifites per ojet, n the ost for proessing ertifite filure or motion pln upte is smll. Most importntly, KDS-se pproh llows ifferent prts of the system to e smple only t the rte neessry for the motions in eh prt. For exmple, fst moving ullet nee not fore fine time step in prts of the environment wy from the ullet s pth. In Setion 2, we first introue our seprtion mintenne lgorithm for two onvex polytopes. In Setion 3, we esrie our power igrm mintenne lgorithm for set of moving lls. Those two lgorithms together give us kineti ollision etetion lgorithm for set of moving onvex oies. The following Setion 4 isusses the mintenne of the kineti event queue n our methos for lulting event times. Setion 5 presents the results of our experiments on those kineti ollision etetion lgorithms n ompres kineti event-se sheuling with fixe time-step methos. () () Figure 1. The () vertex-fet n () ege-ege ses of the isoltion onition. 2 Convex olytopes In this setion we onsier the prolem of ertifying the seprtion (equivlently, non-intersetion) of two onvex polytopes n moving rigily in 3D. Two non-interseting onvex polytopes lwys hve seprting plne; suh plnes hve een use previously in omputer nimtion for ollision etetion [3]. It is lso known tht seprting plne n lwys e positione so tht it is either prllel to fet of one of the polytopes, or prllel to pir of eges, one from eh polytope. If we mke two opies of this seprting plne n trnslte them towrs n respetively, till they eh mke ontt, we will hve one of the two situtions epite in Figure 1. In oth situtions we en up with two prllel plnes, one supporting n one supporting. The two plnes prtition spe into three piees, hlfspe ontining, the empty sl etween the two plnes, n hlfspe ontining this is wht we ll the seprtion onition. In sitution (), the vertex-fet se, we hve ontt t vertex of n ontt fet of (this simpliility ssumption n e esily remove), while in sitution (), the ege-ege se, we hve ontt with ege of n ege of. The seprtion onition is esily expressile in terms of the oorintes of the verties of n in ontt with the two plnes n their immeite neighors. We first ssert tht the plne supporting is ove tht supporting this is just signe volume or orienttion test on the tetrheron, in oth situtions () n (). In terms of oorintes this is the eterminnt onition: x y z 1 x y z 1 x y z 1 x y z 1 >.

3 e () () e Figure 2. The () vertex-fet n () ege-ege ses of push event. () () Figure 3. The () vertex-fet n () ege-ege ses of roll event. We ll this onition the isoltion ertifite. We lso nee to ssert tht the two plnes support n respetively, tht is ove the top plne n elow the ottom plne. Beuse n re onvex polytopes, it is suffiient to ssert this onition lolly for the verties of n tht re neighors of,,, n. We ll these itionl ertifites, whih n e expresse s orienttion tests s well, the support ertifites. There re four support ertifites in the ege-ege se, while in the vertex-fet se the numer of support ertifites equls the egree of the vertex. When polytopes n move ontinuously s rigi ojets, s long s the isoltion ertifite n the relevnt support ertifites remin vli, n nnot ollie. This is the motion oherene tht our kineti t struture will exploit. Note tht we o not moel seprting plne expliitly the existene of suh plne is implie y the seprtion onition. Our most importnt tsk is to see how we n repir the seprtion onition when one of its ertifites fils. A filure of the isoltion ertifite is lle push event orresponing to the eterminnt ove eoming zero. We ress the vertex-fet n ege-ege situtions seprtely. Figure 2 () shows the sitution when vertex of hs eome oplnr with fet of. When this event ours we nee to hek if is insie the tringle ; ifit is, n hve ollie n the ollision response oe hs to e invoke. If is outsie the tringle then the line supporting t lest one sie of, sy, seprtes from the tringle. Now imgine line through prllel to n suppose we strt rotting the plne roun tht line so tht it oes not enter. The rottion will e stoppe y enountering either vertex e of or vertex f of. In the former se, e must e neighor of n we n now use e n s two eges giving us new ege-ege isoltion ertifite. The ltter se is symmetri. Figure 2 () shows the sitution when the ege of hs eome oplnr with ege of. in this se s well, we n either report ollision or fin new isoltion ertifite y heking the fetures jent to n. We ll filure of support ertifite roll event. The sitution when vertex support ertifite fils is espeilly simple n is shown in Figure 3 (): neighor e of vertex of is now on the plne through n prllel to fet. We nee to reple the ol ginst vertex-fet isoltion ertifite y one of e ginst, elete ll the support ertifites for n the ones for e. An ege support ertifite for ege of fils when one of the fets jent to the ege, sy e, eomes prllel to the ege of see Figure 3 (). In this se the ol ege-ege isoltion ertifite etween n will e reple y either e ginst or e ginst. The hoie is itte y whether the iretion of is further from tht of e or e. This ompletes our isussion of how the seprtion onition is to e mintine s the polytopes move. We note tht, unlike lgorithms, suh s Lin-Cnny [15], in whih the losest pir of fetures of the polytopes is mintine, no preproessing (suh s the omputtion of Voronoi igrm) whtsoever is require y our lgorithm. Whenever one of our ertifites fils, either ollision hs tully ourre, or strightforwr lol test repirs the seprtion onition so tht the simultion n go on. 3 ower Digrm for Blls Blls re mong the most extensively use primitives in geometri moeling; for exmple, in severl ollision etetion or ry tring pkges, ojets re surroune y ouning spheres so tht preliminry intersetion tests n e quikly performe. In this setion, we esrie metho to mintin the power igrm of set of moving spheres

4 n utilize this struture in performing the ro phse of our ollision etetion. ower igrms [2] re generliztion of Voronoi igrms in whih the sites efining the igrm re not points ut lls. They erive their nme from the ft tht the istne use in their efinition is not the stnr Eulien istne, ut inste the lssil notion of the power of point with respet to ll. In the following, we enote B(o,r) the ll entere t the point o n with rius r. For point p n ll B(o,r), the power istne δ(p,b) is efine to e op 2 r 2. For set of lls B, the power igrm ell V(B) of B B then onsists of ll the points tht re loser to B thn to ny other lls in B, mesure using the power istne. It is esy to verify tht the isetor etween two lls is plne. Thus, eh power igrm ell is (possily unoune) onvex polytopes. This property mkes it esier to represent n mnipulte power igrms thn the stnr Voronoi igrms for lls uner the Eulien istne. The power igrm is useful s proximity struture. In [12], it is shown tht mong set of isjoint lls, the losest pir re lwys neighors in the power igrm. Thus, if we n mintin the power igrm for isjoint lls, we re then le to mintin their losest pir s well. By trking tht pir, we n onveniently etet ollisions. When lls my penetrte eh other, we n then mintin the onnete omponents of the moving lls n use them to filter the pirs neee to e psse to the nrrow phse. For the onveniene of mintenne, we onsier the ul simpliil omplex, lle the power omplex, of the power progrm. For lls in generl position, the power omplex is tringultion of the onvex hull of the ll enters. For equl size lls in two imensions, the power omplex is just the sme s the well-known Deluny tringultion of their enters. The ruil property is tht the power igrm ells of two lls re jent if n only if there exists n ege etween them in the power omplex. In the following, we will first review the metho for mintining the Deluny tringultion (in two imensions) n then exten it to power igrms in ny imension [1]. The InCirle test is the most importnt primitive use in the omputtion of Deluny tringultions. For four points,,, in the plne, InCirle(,,,)is true if is insie the oriente irumirle of. Suppose tht n re two tringles in tringultion T. Then, the ege is si to e lolly Deluny if the test InCirle(,,,)is flse. It is known tht the Deluny tringultion mits lol ertifition, i.e. T is the Deluny tringultion if eh ege in T is lolly Deluny. Suh lol ertifition mkes it very esy to mintin the Deluny tringultion s we n simply ertify the lol Deluny-hoo of eh ege n fix the tringultion lolly whenever suh ertifite fils. The InCirle ertifite fils when the points,,, eome o-irulr. A flip op () () Figure 4. Flip events () in two imensions n () in three imensions. ertion is then invoke to fix the tringultion, where the flip is to elete the ege n insert the ege, or equivlently, to elete n n n (Figure 4()). The ove proeure extens to higher imensions where the InCirle test is reple y the InSphere test. But the flipping opertion eomes more sutle. In three imensions, when five points eome o-spheril, there re extly two wys to tringulte those five points. The lol flip opertion is then to reple tringultion of five o-spheril points with its ul tringultion (Figure 4()). This property tully hols in ny imension, i.e. in imensions, there re extly two wys to tringulte + 2 points in onvex position. The power omplex n e mintine in similr wy to the Deluny tringultion. First, we nee to reple the InCirle tests y the Inower tests. In three imension, we sy tht ll B(,r ) is insie the power sphere of lls B(,r ), B(, r ), B(, r ) n B(e,r e ), if the following eterminnt onition hols. x y z x 2 + y2 + z2 r2 1 x y z x 2 + y2 + z2 r2 1 x y z x 2 + y2 + z2 r2 1 x y z x 2 + y2 + z2 r2 1 x e y e z e x 2 e + y2 e + z2 e r2 e 1 <. For set of isjoint lls, the sme lol property hols for power omplexes. Thus, the power omplex n e ertifie y sserting tht eh fet in the omplex stisfies the lol Inower test with respet to its two jent verties. An importnt ifferene etween power omplexes n Deluny tringultions is tht ll might not present in the power omplex. For this to hppen, it must e the se tht the ll is ompletely ontine in the union of four other lls. In prtie, suh situtions only hppen rrely. Thus, we n tret them seprtely. In our metho, we trk the lls tht over eh sent ll n prevent it from presenting in the power omplex. Suh trking n e etter

5 unerstoo y lifting mp L, whih we o not isuss here. By mintining the power omplex, we n mintin the losest pir of lls for set of isjoint lls, or the onnete omponents of the lls when they n penetrte eh other. This gives us wy to perform ro phse ollision etetion s we only nee to invoke our nrrow phse test for those ojets with overlpping ouning spheres. A reson tht we hoose the power igrm s our ro phse struture is tht it typilly hs linerly mny eges n unergoes suqurtilly mny hnges for lgeri motions (lthough, in the worst se, the numer of eges n e qurti, n the numer of hnges might e ui or higher). Atully, the theoretil oun on the numer of hnges of the power omplex is still fmous open question. Inste of performing theoretil nlysis, we stuy those omplexity mesures y experiments n ompre them to lssil ouning-ox methos in Setion Sheuling Kineti Events The min loop of kineti t struture onsists of eteting n proessing kineti ertifite filures. These pening kineti events n e orgnize in numer of wys, of whih the simplest is to just mintin them in glol priority queue. Eh tive kineti ertifite sheules n event in the queue, whih its erliest preite filure time lrger thn the urrent time. When ertifite fils, the proof, n with it the ssoite ertifite set s well s the event queue, nees to e upte. The lultion of n event time is frequently non-trivil omputtionl tsk. In the exmple ertifites of the previous setion, the ertifite itself is n lgeri inequlity on the oorintes of few feture points (verties) of the ojets. Yet even in the simplest se of llisti rigi motions for the ojets with no outsie fores (suh s grvity), vertex trjetories re still polynomil mixtures of lgeri n trigonometri funtions of time. The evlution of the roots of lgeri forms on these trnsenentl funtions is hllenging numeril prolem. Furthermore, the ost of suh omputtions nnot lwys e justifie in terms of the finl result tht nees to e ompute. For exmple, lmost ll kineti simultions involve the e-sheuling of events these re events tht will not hppen euse the ssoite ertifites were remove from the proof, n the omputtionl resoures tht went into their event time lultion will e wste. We ress this prolem y the use of onservtive pproximtions to the ertifite filure times. We exploit the geometri struture of our ertifites to get esier to ompute pproximte filure times tht re gurntee to e less thn or equl to the tul filure time (this is wht we men y onservtive pproximtion). We ll these pproximtions reonfirmtion times. Eh ertifite then sheules reonfirmtion time in the event queue. When tht reonfirmtion time is rehe, the ertifite is evlute gin, new reonfirmtion time is ompute, n the ertifite is resheule. This ontinues until we re lose enough to the tul filure time y some riterion. In the simplest se we just vne to the next frme time for the simultion when the reonfirmtion intervl is less thn the interfrme intervl. In more elorte ses, sine we re y now very lose to the tul filure time, we swith to n nlyti pproximtion n estimte tht time more preisely. We hve experimente with polynomil pproximtions to the trigonometri funtions rising in our motion plns n otine goo results. In oth ses n event my e proesse t time slightly ifferent from the tul time when it ours; this n use ertin iffiulties tht we hve to ress. Overll, however, this metho hs mny vntges euse few esy onservtive steps get us quite lose to the tul event time. 4.1 Computing Certifite Filure Times To illustrte the use of reonfirmtion events we fous on the onvex polytope seprtion ertifites presente in Setion 2. We nee to tret isoltion n support ertifites ifferently, s the ltter epen only on the rottionl n not the trnsltionl motion of the onvex oies. Let us look gin in Figure 1, where we hve two prllel plnes, one supporting from elow n the other from ove. Suppose this is snpshot tken t the time when the isoltion ertifite ws first rete. Let us imgine in ition n intermeite plne prllel to these two n hlf-wy etween them. For now imgine this intermeite plne s fixe in spe, while n ontinue their motion from the snpshot shown. It is ler tht s long s none of the verties,,, n involve in the isoltion ertifite ross this plne, the isoltion ertifite nnot fil. If we hve upper ouns on the trnsltionl n rottionl veloities of n, we n use them to esily erive upper ouns on the spees of the four verties in the ertifite. If D enotes the seprtion of the two prllel plnes t the snpshot in Figure 1 n v, v, v, n v the mximum spees of,,, n respetively, then onservtive oun on the isoltion ertifite filure time is { min{d/2v,d/2mx{v t =,v,v }}, min{d/2 mx{v,v },D/2mx{v,v }} for ses () n () respetively. Better ouns n e otine y giving the intermeite plne some motion s well, sy y verging the liner spees of the two oies t the time of the snpshot, or y etter lning the position of the intermeite plne with respet to the reltive spees of the two oies. We note tht when the oies n hve no rottionl motion, roll events o not our n the support ertifites nnot fil. Thus eh support ertifite is est onsiere in the reltive frme of the oy where the roll event hppens.

6 Consier the se of vertex-fet roll event, s in Figure 3 (), in the lol frmework of oy. Let θ e the ngle etween the ege e n its projetion on the plne supporting t when the support ertifite ws rete. Though the oies n re rotting out ifferent xes, we fous on wht hppens lolly t vertex n speifilly roun n xis through on the support plne n perpeniulr to e. If ω n ω re upper ouns on the ngulr veloities of oies n respetively, then it is not hr to show tht θ/( ω + ω ) is onservtive oun on the time when e n roll onto the support plne. By tking the minimum of these times over ll neighor verties of, onservtive oun for the roll event n e otine. In the ege-ege se of Figure 3 (), onservtive oun n e similrly erive. 4.2 Initiliztion, Composition, n Reovery In our onvex polytope ollision etetion system, the power igrm of ouning lls for the polytopes is use for the ro phse, n the seprtion ertifites etween pirs of onvex polytopes for the nrrow phse. The ro phse psses pir of polytopes to the nrrow phse when the istne of the ouning lls rops elow some speifie frtion of the sum of their rii. For two isjoint lls the plne of points hving equl power to the lls seprtes the lls, n fortiori their enlosing polytopes. This plne n e use to initilize the seprtion ertifite etween the polytopes we omit the strightforwr etils. A polytope pir is roppe out of the nrrow phse when the istne of their ouning lls exees some other lrger speifie frtion of the sum of their rii (so s to uil some hysteresis into the system). Initiliztion for the nrrow phse my lso e reinvoke in mi-simultion, ut ue to lk of spe we omit this isussion. 5 The Experiments We hve implemente our lgorithms on entium II C using Mirosoft Visul C++. We hve lso ompre our 3D onvex polytope methos to some of the stte-of-thert ollision etetion pkges ville toy. Beuse of the ler istintion etween the ro n nrrow phses, we hve onut our omprisons for the two phses oth jointly n seprtely. Animtions se on our lgorithms n e seen t feng/kds_lsn/ 5.1 Bro hse We n lwys perform pirwise heking to etet ll ojet pirs with overlpping ouning volumes. Suh rute-fore metho works well for smll numer of ojets n requires no t strutures, ut its qurti growth rte limits its slility. To reue the numer of pirs eing heke, mny lgorithms use xis-ligne ouning oxes n test the intersetion of the projetion of the ojets in lower (one or two) imensions [6, 16]. Only those pirs tht hve interseting projetions nee to e heke further. We hve implemente metho to mintin the sorte orer of the projetion of the oxes on eh of the x-, y- n z-xes thus eteting potentil ollisions mong the oxes when the orering in one projetion hnges. As for the test t, we first generte set of isjoint lls with vrile rii rnomly, with uniform istriution. These lls were use s the input t to test the power igrm methos. Then, for eh ll, we rete n xis-ligne ox with the sme position n veloity, n omprle size. These oxes form the input t to the ouning ox methos. During the motion, ojets oune ginst eh other when they ollie. We then rn the lgorithms on t sets rnging from 1 to 1 ojets for suffiiently long simultion times to otin relile verge numer of events n ollisions per seon. The t re summrize in Figure 5. In the three figures, the x-xis mesures the numer of ojets in the t file, n the y- xis mesures () the numer of events per seon, () the numer of ertifites in the struture, n () the numer of ollisions per seon, respeitively. From Figure 5(), we n see tht the numer of events when using the ouning ox metho exhiits qurti growth in the numer of ojets, while in the power igrm metho it is signifintly smller n pproximtely liner. However, the time svings re not s signifint s the reution in events woul inite. In the power igrm metho, we hve to ompute eterminnt, whih is egree five polynomil for liner motions, n then solve the resulting eqution y using numeril methos. Also, it tkes more time to upte the power igrm when n event hppens. In our experiments, eh event uptes out 1 ertifites on the verge n for eh ertifite, it tkes out 1 3 floting point opertions to ompute the filure time. Still the power igrm metho eomes superior when there re more thn few hunre ojets, s is the se in most uses of suh simultions. Furthermore, in pplitions suh s omputtionl moleulr iology, spheres re nturlly the prefere ouning volumes. Figure 5() shows tht lthough the numer of ertifites use in the power igrm struture is lrger thn tht in the ouning ox metho, oth of them re liner s funtion of the numer of ojets. Figure 5() shows the numer of ollisions (per seon) re out the sme in the two experimentl moels, whih justifies our experimentl setup. It is lso ler from the t tht in oth ses, the numer of ollisions per seon hs liner reltionship to the numer of ojets for the rnom istriutions teste. The ove experiments provie some insight on how our metho ompres to fixe time step methos s well. One iffiulty in ompring event-se methos with fixe time-

7 x 14 4 #power igrm #ouning ox #power igrm #ouning ox 4 35 #power igrm #ouning ox numer of events numer of ertifites numer of ollisions numer of ojets numer of ojets numer of ojets () # of events/seon () # of ertifites () # of ollisions/seon Figure 5. Comprisons etween the power igrm n ouning ox methos. step methos is the hoie of the time step size. For fixe time-step metho to e ompletely preise, we woul hve to hoose the time step oring to the minimum interollision time (the time etween two ollisions) in orer to llow ll the ollisions to e pture. While most pplitions o not require tht mount of preision, resonle time step hoie woul still nee to e t lest proportionl to the verge inter-ollision time. We then expet the ost of the fixe time-step metho to e proportionl to the numer of ollisions times the upte ost of the struture t eh step. In the methos given in [6, 16], the upte ost is typilly liner in the numer of ojets, if the motion of the ojets is slow reltive to the time-step size, n worse otherwise. Furthermore, s our experiments show (Figure 5()), the numer of ollisions per seon is liner in the numer of ojets, n therefore the overll running time of the ouning ox metho using fixe time steps will e t lest qurti in the numer of ojets. 5.2 Nrrow hse We hve ompre our seprtion se metho to some of the well-known proximity se lgorithms. The losest pir trking methos presente in [15, 17] hve een quite suessful in exploiting the temporl oherene of motion. Our seprtion se metho is losely relte to these proximity methos, sine oth they n we mintin pir of fetures, one from eh polytope, tht n e use to otin seprting plne. In ll methos, the most importnt qulity mesure is the numer of times the pir of fetures use to otin the seprting plne hnges uring the simultion. Although the methos in [15, 17] o not trk every hnge in the losest pir of fetures, the numer of hnges in the losest pir is resonle mesure of the ost of these lgorithms, euse t eh time step they perform lol wlk long the polytopes to the next losest pir, whose length n e expete to e omprle to the numer of hnges to tht pir (were it to e trke). We hve onute experiments to ompre the numer of hnges of the losest pir n the numer of hnges in numer of hnges numer of hnges verties of ojets #losest pir #seprtion pir () ojets with vrying sizes ojets spee #losest pir #seprtion pir () ojets with vrying spee Figure 6. Comprisons etween the proximity-se n seprtion-se methos. the seprtion ertifites mintine y our metho. We rn t in two settings. In one set of t, the ojets hve the sme initil veloity ut ifferent omintoril sizes, rnging from 2 to 1 verties. In the other set of t, the ojets lwys hve 4 verties, ut ifferent veloities were use. We ounte the numer of events (i.e. numer of feture pir hnges for the losest pir metho n numer of seprtion ertifite filures for the seprtion plne metho) per ollision for eh metho. The experimentl results re summrize in Figure 6. As n e seen from the t, the numer of events in our metho is onsistently smller thn the numer of events

8 numer of verge time per frme verties (in milliseons) Tle 1. Seprtion running time for smple t sets. in the losest pir metho. Wht is more interesting is tht the rte of hnges to the seprting pir is very stle n mostly inepenent of the size n spee of the ojets, while the rte of hnges to the losest pir is signifintly more vrile n unstle. A possile explntion of this phenomenon is tht the losest pir sserts stronger geometri onition on the pir of fetures involve thn our seprtion ertifites o. This reltive stility mkes our kineti metho ttrtive for rel-time environments. On entium II C, with our unoptimize implementtion we otine the following running time sttistis for trking the seprtion plne etween two onvex oies. For eh t set, the initil veloities, spet rtio n ouning sphere re the sme ut the omplexity (numer of verties) iffers. The results re summrize in Tle??. The simultion is for 4 ojets with verge size 3, verge initil spee.9 n verge omplexity of 3 (resp. 6, 11) verties, ouning roun in ue of size 6. The totl verge time per frme is.316 seons when the power igrm is use for the ro phse n seprtion plnes re trke t the nrrow phse for ollision etetion. The totl verge per time per frme is.386 seons when simple pirwise ouning sphere test (n n) is use in the ro phse while sepertion plnes re trke in the nrrow phse. 6 Conlusions We hve presente new results on the esign n implementtion of ollision etetion lgorithms, using kineti t strutures. These strutures le to novel methos for exploiting temporl oherene in ollision etetion n relte proximity prolems. For the first time, kineti t strutures mke it possile to rigorously ompre lternte strtegies of mintining ttriutes of n evolving system in the mnner tht hs een so suessfully use in the nlysis of lgorithms. We expet to see mny more KDS pplitions in rootis in the future. Referenes [1] G.Alers, L. J. Guis, J. S. B. Mithell, n T. Roos. Voronoi igrms of moving points. Internt. J. Comput. Geom. Appl., 8:365 38, [2] F. Aurenhmmer. ower igrms: properties, lgorithms n pplitions. SIAM J. Comput., 16:78 96, [3] D. Brff. Anlytil methos for ynmi simultion of nonpenetrting rigi oies. Computer Grphis (roeeings of SIGGRAH 89), 23(3): , July [4] J. Bsh, L. J. Guis, n J. Hersherger. Dt strutures for moile t. In ro. 8th ACM-SIAM Sympos. Disrete Algorithms, pges , [5] S. Cmeron. Enhning GJK: omputing minimum n penetrtion istnes etween onvex polyher. In ICRA, [6] J. D. Cohen, M. C. Lin, D. Mnoh, n M. K. onmgi. I-ollie: An intertive n ext ollision etetion system for lrge-sle environments. In ro. ACM Intertive 3D Grphis Conf., pges , [7] D.. Dokin n D. G. Kirkptrik. Fst etetion of polyherl intersetion. Theoret. Comput. Si., 27(3): , De [8] H. Eelsrunner. Smooth surfes for multi-sle shpe representtion. In ro. 15th Conf. Foun. Softw. Teh. Theoret. Comput. Si., volume 126 of Leture Notes Comput. Si., pges Springer-Verlg, [9] J. Erikson, L. J. Guis, J. Stofi, n L. Zhng. Seprtionsensitive kineti ollision etetion for onvex ojets. In ro. 9th ACM-SIAM Sympos. Disrete Algorithms, [1] E. G. Gilert, D. W. Johnson, n S. S. Keerthi. A fst proeure for omputing the istne etween omplex ojets. Internt. J. Root. Autom., 4(2):193 23, [11] S. Gottshlk, M. C. Lin, n D. Mnoh. OBB-tree: A hierrhil struture for rpi interferene etetion. Comput. Grph., , ro. SIGGRAH 96. [12] L. Guis n L. Zhng. Eulien proximity n power igrm. In ro. 1th Cnin Conferene on Computtoinl Geometry, [13]. M. Hur. Collision etetion for intertive grphis pplitions. IEEE Trns. Visuliztion n Computer Grphis, 1(3):218 23, Sept [14] M. C. Lin. Effiient Collision Detetion for Animtion n Rootis. h.d. thesis, Dept. Ele. Engin. Comput. Si., Univ. Cliforni, Berkeley, CA, [15] M. C. Lin n J. F. Cnny. Effiient lgorithms for inrementl istne omputtion. In ro. IEEE Internt. Conf. Root. Autom., volume 2, pges , [16] B. Mirtih. Impulse-se Dynmi Simultion of Rigi Boy Systems. h.d. thesis, Dept. Ele. Engin. Comput. Si., Univ. Cliforni, Berkeley, CA, [17] B. Mirtih. V-Clip: Fst n roust polyherl ollision etetion. Tehnil Report TR97-5, MERL, 21 Browy, Cmrige, MA 2139, USA, July [18] B. Mirtih n J. Cnny. Impulse-se ynmi simultion. In K. Golerg, D. Hlperin, J. C. Ltome, n R. Wilson, eitors, The Algorithmi Fountions of Rootis. A. K. eters, Wellesley, MA, [19] S. uinln. The Rel-Time Moifition of Collision-Free ths. h.d. thesis, Dept. Comput. Si., Stnfor Univ., lo Alto, CA, 1994.

10.2 Graph Terminology and Special Types of Graphs

10.2 Graph Terminology and Special Types of Graphs 10.2 Grph Terminology n Speil Types of Grphs Definition 1. Two verties u n v in n unirete grph G re lle jent (or neighors) in G iff u n v re enpoints of n ege e of G. Suh n ege e is lle inient with the

More information

Distance vector protocol

Distance vector protocol istne vetor protool Irene Finohi finohi@i.unirom.it Routing Routing protool Gol: etermine goo pth (sequene of routers) thru network from soure to Grph strtion for routing lgorithms: grph noes re routers

More information

Distance Computation between Non-convex Polyhedra at Short Range Based on Discrete Voronoi Regions

Distance Computation between Non-convex Polyhedra at Short Range Based on Discrete Voronoi Regions Distne Computtion etween Non-onvex Polyhedr t Short Rnge Bsed on Disrete Voronoi Regions Ktsuki Kwhi nd Hiroms Suzuki Deprtment of Preision Mhinery Engineering, The University of Tokyo 7-3-1 Hongo, Bunkyo-ku,

More information

MITSUBISHI ELECTRIC RESEARCH LABORATORIES Cambridge, Massachusetts. Introduction to Matroids and Applications. Srikumar Ramalingam

MITSUBISHI ELECTRIC RESEARCH LABORATORIES Cambridge, Massachusetts. Introduction to Matroids and Applications. Srikumar Ramalingam Cmrige, Msshusetts Introution to Mtrois n Applitions Srikumr Rmlingm MERL mm//yy Liner Alger (,0,0) (0,,0) Liner inepenene in vetors: v, v2,..., For ll non-trivil we hve s v s v n s, s2,..., s n 2v2...

More information

Chapter 9. Greedy Technique. Copyright 2007 Pearson Addison-Wesley. All rights reserved.

Chapter 9. Greedy Technique. Copyright 2007 Pearson Addison-Wesley. All rights reserved. Chpter 9 Greey Tehnique Copyright 2007 Person Aison-Wesley. All rights reserve. Greey Tehnique Construts solution to n optimiztion prolem piee y piee through sequene of hoies tht re: fesile lolly optiml

More information

Greedy Algorithm. Algorithm Fall Semester

Greedy Algorithm. Algorithm Fall Semester Greey Algorithm Algorithm 0 Fll Semester Optimiztion prolems An optimiztion prolem is one in whih you wnt to fin, not just solution, ut the est solution A greey lgorithm sometimes works well for optimiztion

More information

V = set of vertices (vertex / node) E = set of edges (v, w) (v, w in V)

V = set of vertices (vertex / node) E = set of edges (v, w) (v, w in V) Definitions G = (V, E) V = set of verties (vertex / noe) E = set of eges (v, w) (v, w in V) (v, w) orere => irete grph (igrph) (v, w) non-orere => unirete grph igrph: w is jent to v if there is n ege from

More information

UTMC APPLICATION NOTE UT1553B BCRT TO INTERFACE PSEUDO-DUAL-PORT RAM ARCHITECTURE INTRODUCTION ARBITRATION DETAILS DESIGN SELECTIONS

UTMC APPLICATION NOTE UT1553B BCRT TO INTERFACE PSEUDO-DUAL-PORT RAM ARCHITECTURE INTRODUCTION ARBITRATION DETAILS DESIGN SELECTIONS UTMC APPLICATION NOTE UT1553B BCRT TO 80186 INTERFACE INTRODUCTION The UTMC UT1553B BCRT is monolithi CMOS integrte iruit tht provies omprehensive Bus Controller n Remote Terminl funtions for MIL-STD-

More information

PROBLEM OF APOLLONIUS

PROBLEM OF APOLLONIUS PROBLEM OF APOLLONIUS In the Jnury 010 issue of Amerin Sientist D. Mkenzie isusses the Apollonin Gsket whih involves fining the rius of the lrgest irle whih just fits into the spe etween three tngent irles

More information

CS 551 Computer Graphics. Hidden Surface Elimination. Z-Buffering. Basic idea: Hidden Surface Removal

CS 551 Computer Graphics. Hidden Surface Elimination. Z-Buffering. Basic idea: Hidden Surface Removal CS 55 Computer Grphis Hidden Surfe Removl Hidden Surfe Elimintion Ojet preision lgorithms: determine whih ojets re in front of others Uses the Pinter s lgorithm drw visile surfes from k (frthest) to front

More information

FEEDBACK: The standard error of a regression is not an unbiased estimator for the standard deviation of the error in a multiple regression model.

FEEDBACK: The standard error of a regression is not an unbiased estimator for the standard deviation of the error in a multiple regression model. Introutory Eonometris: A Moern Approh 6th Eition Woolrige Test Bnk Solutions Complete ownlo: https://testbnkre.om/ownlo/introutory-eonometris-moern-pproh-6th-eition-jeffreym-woolrige-test-bnk/ Solutions

More information

Solids. Solids. Curriculum Ready.

Solids. Solids. Curriculum Ready. Curriulum Rey www.mthletis.om This ooklet is ll out ientifying, rwing n mesuring solis n prisms. SOM CUES The Som Cue ws invente y Dnish sientist who went y the nme of Piet Hein. It is simple 3 # 3 #

More information

CS 241 Week 4 Tutorial Solutions

CS 241 Week 4 Tutorial Solutions CS 4 Week 4 Tutoril Solutions Writing n Assemler, Prt & Regulr Lnguges Prt Winter 8 Assemling instrutions utomtilly. slt $d, $s, $t. Solution: $d, $s, nd $t ll fit in -it signed integers sine they re 5-it

More information

Duality in linear interval equations

Duality in linear interval equations Aville online t http://ijim.sriu..ir Int. J. Industril Mthemtis Vol. 1, No. 1 (2009) 41-45 Dulity in liner intervl equtions M. Movhedin, S. Slhshour, S. Hji Ghsemi, S. Khezerloo, M. Khezerloo, S. M. Khorsny

More information

Internet Routing. Reminder: Routing. CPSC Network Programming

Internet Routing. Reminder: Routing. CPSC Network Programming PS 360 - Network Progrmming Internet Routing Mihele Weigle eprtment of omputer Siene lemson University mweigle@s.lemson.eu pril, 00 http://www.s.lemson.eu/~mweigle/ourses/ps360 Reminer: Routing Internet

More information

Comparison-based Choices

Comparison-based Choices Comprison-se Choies John Ugner Mngement Siene & Engineering Stnfor University Joint work with: Jon Kleinerg (Cornell) Senhil Mullinthn (Hrvr) EC 17 Boston June 28, 2017 Preiting isrete hoies Clssi prolem:

More information

2 Computing all Intersections of a Set of Segments Line Segment Intersection

2 Computing all Intersections of a Set of Segments Line Segment Intersection 15-451/651: Design & Anlysis of Algorithms Novemer 14, 2016 Lecture #21 Sweep-Line nd Segment Intersection lst chnged: Novemer 8, 2017 1 Preliminries The sweep-line prdigm is very powerful lgorithmic design

More information

Graph theory Route problems

Graph theory Route problems Bhelors thesis Grph theory Route prolems Author: Aolphe Nikwigize Dte: 986 - -5 Sujet: Mthemtis Level: First level (Bhelor) Course oe: MAE Astrt In this thesis we will review some route prolems whih re

More information

3D convex hulls. Convex Hull in 3D. convex polyhedron. convex polyhedron. The problem: Given a set P of points in 3D, compute their convex hull

3D convex hulls. Convex Hull in 3D. convex polyhedron. convex polyhedron. The problem: Given a set P of points in 3D, compute their convex hull Convex Hull in The rolem: Given set P of oints in, omute their onvex hull onvex hulls Comuttionl Geometry [si 3250] Lur Tom Bowoin College onvex olyheron 1 2 3 olygon olyheron onvex olyheron 4 5 6 Polyheron

More information

GENG2140 Modelling and Computer Analysis for Engineers

GENG2140 Modelling and Computer Analysis for Engineers GENG4 Moelling n Computer Anlysis or Engineers Letures 9 & : Gussin qurture Crete y Grn Romn Joles, PhD Shool o Mehnil Engineering, UWA GENG4 Content Deinition o Gussin qurture Computtion o weights n points

More information

COMMON FRACTIONS. or a / b = a b. , a is called the numerator, and b is called the denominator.

COMMON FRACTIONS. or a / b = a b. , a is called the numerator, and b is called the denominator. COMMON FRACTIONS BASIC DEFINITIONS * A frtion is n inite ivision. or / * In the frtion is lle the numertor n is lle the enomintor. * The whole is seprte into "" equl prts n we re onsiering "" of those

More information

5 ANGLES AND POLYGONS

5 ANGLES AND POLYGONS 5 GLES POLYGOS urling rige looks like onventionl rige when it is extene. However, it urls up to form n otgon to llow ots through. This Rolling rige is in Pington sin in Lonon, n urls up every Friy t miy.

More information

The Droplet Virtual Brush for Chinese Calligraphic Character Modeling

The Droplet Virtual Brush for Chinese Calligraphic Character Modeling The Droplet Virtul Brush for Chinese Clligrphi Chrter Moeling Xiofeng Mi Jie Xu Min Tng Jinxing Dong CAD & CG Stte Key L of Chin, Zhejing University, Hngzhou, Chin Artifiil Intelligene Institute, Zhejing

More information

Table-driven look-ahead lexical analysis

Table-driven look-ahead lexical analysis Tle-riven look-he lexil nlysis WUU YANG Computer n Informtion Siene Deprtment Ntionl Chio-Tung University, HsinChu, Tiwn, R.O.C. Astrt. Moern progrmming lnguges use regulr expressions to efine vli tokens.

More information

Class Overview. Database Design. Database Design Process. Database Design. Introduction to Data Management CSE 414

Class Overview. Database Design. Database Design Process. Database Design. Introduction to Data Management CSE 414 Introution to Dt Mngement CSE 44 Unit 6: Coneptul Design E/R Digrms Integrity Constrints BCNF Introution to Dt Mngement CSE 44 E/R Digrms ( letures) CSE 44 Autumn 08 Clss Overview Dtse Design Unit : Intro

More information

Bayesian Networks: Directed Markov Properties (Cont d) and Markov Equivalent DAGs

Bayesian Networks: Directed Markov Properties (Cont d) and Markov Equivalent DAGs Byesin Networks: Direte Mrkov Properties (Cont ) n Mrkov Equivlent DAGs Huizhen Yu jney.yu@s.helsinki.fi Dept. Computer Siene, Univ. of Helsinki Proilisti Moels, Spring, 2010 Huizhen Yu (U.H.) Byesin Networks:

More information

COMPUTER EDUCATION TECHNIQUES, INC. (WEBLOGIC_SVR_ADM ) SA:

COMPUTER EDUCATION TECHNIQUES, INC. (WEBLOGIC_SVR_ADM ) SA: In orer to lern whih questions hve een nswere orretly: 1. Print these pges. 2. Answer the questions. 3. Sen this ssessment with the nswers vi:. FAX to (212) 967-3498. Or. Mil the nswers to the following

More information

Lesson 4.4. Euler Circuits and Paths. Explore This

Lesson 4.4. Euler Circuits and Paths. Explore This Lesson 4.4 Euler Ciruits nd Pths Now tht you re fmilir with some of the onepts of grphs nd the wy grphs onvey onnetions nd reltionships, it s time to egin exploring how they n e used to model mny different

More information

Cooperative Routing in Multi-Source Multi-Destination Multi-hop Wireless Networks

Cooperative Routing in Multi-Source Multi-Destination Multi-hop Wireless Networks oopertive Routing in Multi-Soure Multi-estintion Multi-hop Wireless Networks Jin Zhng Qin Zhng eprtment of omputer Siene n ngineering Hong Kong University of Siene n Tehnology, HongKong {zjzj, qinzh}@se.ust.hk

More information

Robust internal multiple prediction algorithm Zhiming James Wu, Sonika, Bill Dragoset*, WesternGeco

Robust internal multiple prediction algorithm Zhiming James Wu, Sonika, Bill Dragoset*, WesternGeco Roust internl multiple preition lgorithm Zhiming Jmes Wu, Sonik, Bill Drgoset*, WesternGeo Summry Multiple ttenution is n importnt t proessing step for oth mrine n ln t. Tehniques for surfe- rpily in the

More information

Introduction. Example

Introduction. Example OMS0 Introution isjoint sets n minimum spnning trees In this leture we will strt by isussing t struture use for mintining isjoint subsets of some bigger set. This hs number of pplitions, inluing to mintining

More information

WORKSHOP 9 HEX MESH USING SWEEP VECTOR

WORKSHOP 9 HEX MESH USING SWEEP VECTOR WORKSHOP 9 HEX MESH USING SWEEP VECTOR WS9-1 WS9-2 Prolem Desription This exerise involves importing urve geometry from n IGES file. The urves re use to rete other urves. From the urves trimme surfes re

More information

Width and Bounding Box of Imprecise Points

Width and Bounding Box of Imprecise Points Width nd Bounding Box of Impreise Points Vhideh Keikh Mrten Löffler Ali Mohdes Zhed Rhmti Astrt In this pper we study the following prolem: we re given set L = {l 1,..., l n } of prllel line segments,

More information

P(r)dr = probability of generating a random number in the interval dr near r. For this probability idea to make sense we must have

P(r)dr = probability of generating a random number in the interval dr near r. For this probability idea to make sense we must have Rndom Numers nd Monte Crlo Methods Rndom Numer Methods The integrtion methods discussed so fr ll re sed upon mking polynomil pproximtions to the integrnd. Another clss of numericl methods relies upon using

More information

Tight triangulations: a link between combinatorics and topology

Tight triangulations: a link between combinatorics and topology Tight tringultions: link between ombintoris nd topology Jonthn Spreer Melbourne, August 15, 2016 Topologil mnifolds (Geometri) Topology is study of mnifolds (surfes) up to ontinuous deformtion Complited

More information

Internet Routing. IP Packet Format. IP Fragmentation & Reassembly. Principles of Internet Routing. Computer Networks 9/29/2014.

Internet Routing. IP Packet Format. IP Fragmentation & Reassembly. Principles of Internet Routing. Computer Networks 9/29/2014. omputer Networks 9/29/2014 IP Pket Formt Internet Routing Ki Shen IP protool version numer heder length (words) for qulity of servie mx numer remining hops (deremented t eh router) upper lyer protool to

More information

Computational geometry

Computational geometry Leture 23 Computtionl geometry Supplementl reding in CLRS: Chpter 33 exept 33.3 There re mny importnt prolems in whih the reltionships we wish to nlyze hve geometri struture. For exmple, omputtionl geometry

More information

Final Exam Review F 06 M 236 Be sure to look over all of your tests, as well as over the activities you did in the activity book

Final Exam Review F 06 M 236 Be sure to look over all of your tests, as well as over the activities you did in the activity book inl xm Review 06 M 236 e sure to loo over ll of your tests, s well s over the tivities you did in the tivity oo 1 1. ind the mesures of the numered ngles nd justify your wor. Line j is prllel to line.

More information

If you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs.

If you are at the university, either physically or via the VPN, you can download the chapters of this book as PDFs. Lecture 5 Wlks, Trils, Pths nd Connectedness Reding: Some of the mteril in this lecture comes from Section 1.2 of Dieter Jungnickel (2008), Grphs, Networks nd Algorithms, 3rd edition, which is ville online

More information

Calculus Differentiation

Calculus Differentiation //007 Clulus Differentition Jeffrey Seguritn person in rowot miles from the nerest point on strit shoreline wishes to reh house 6 miles frther down the shore. The person n row t rte of mi/hr nd wlk t rte

More information

Polygonal Approximation of Voronoi Diagrams of a Set of Triangles in Three Dimensions Marek Teichmann Seth Teller MIT Computer Graphics Group Abstract

Polygonal Approximation of Voronoi Diagrams of a Set of Triangles in Three Dimensions Marek Teichmann Seth Teller MIT Computer Graphics Group Abstract Polygonl Approximtion of Voronoi Digrms of Set of Tringles in Three Dimensions Mrek Teihmnn Seth Teller MIT Computer Grphis Group Astrt We desrie roust dptive mrhing tetrhedr type lgorithm for onstruting

More information

Comparing Hierarchical Data in External Memory

Comparing Hierarchical Data in External Memory Compring Hierrhil Dt in Externl Memory Surshn S. Chwthe Deprtment of Computer Siene University of Mryln College Prk, MD 090 hw@s.um.eu Astrt We present n externl-memory lgorithm for omputing minimum-ost

More information

A decision support system prototype for fuzzy multiple objective optimization

A decision support system prototype for fuzzy multiple objective optimization EUSFLAT - LFA A eision support system prototype for fuzzy multiple ojetive optimiztion Fengjie Wu Jie Lu n Gungqun Zhng Fulty of Informtion Tehnology University of Tehnology Syney Austrli E-mil: {fengjiewjieluzhngg}@it.uts.eu.u

More information

WORKSHOP 8B TENSION COUPON

WORKSHOP 8B TENSION COUPON WORKSHOP 8B TENSION COUPON WS8B-2 Workshop Ojetives Prtie reting n eiting geometry Prtie mesh seeing n iso meshing tehniques. WS8B-3 Suggeste Exerise Steps 1. Crete new tse. 2. Crete geometry moel of the

More information

Graph Contraction and Connectivity

Graph Contraction and Connectivity Chpter 14 Grph Contrtion n Connetivity So fr we hve mostly overe tehniques for solving problems on grphs tht were evelope in the ontext of sequentil lgorithms. Some of them re esy to prllelize while others

More information

Geometric Algorithms. Geometric Algorithms. Warning: Intuition May Mislead. Geometric Primitives

Geometric Algorithms. Geometric Algorithms. Warning: Intuition May Mislead. Geometric Primitives Geometri Algorithms Geometri Algorithms Convex hull Geometri primitives Closest pir of points Voronoi Applitions. Dt mining. VLSI design. Computer vision. Mthemtil models. Astronomil simultion. Geogrphi

More information

CICS Application Design

CICS Application Design CICS Applition Design In orer to lern whih questions hve een nswere orretly: 1. Print these pges. 2. Answer the questions. 3. Sen this ssessment with the nswers vi:. FAX to (212) 967-3498. Or. Mil the

More information

WORKSHOP 8A TENSION COUPON

WORKSHOP 8A TENSION COUPON WORKSHOP 8A TENSION COUPON WS8A-2 Workshop Ojetives Buil the tension oupon geometry Control the mesh y using tehniques isusse in lss Compre FEA stress results to theoretil results From Stress Conentrtion

More information

Containers: Queue and List

Containers: Queue and List Continers: Queue n List Queue A ontiner in whih insertion is one t one en (the til) n eletion is one t the other en (the he). Also lle FIFO (First-In, First-Out) Jori Cortell n Jori Petit Deprtment of

More information

Asurveyofpractical algorithms for suffix tree construction in external memory

Asurveyofpractical algorithms for suffix tree construction in external memory Asurveyofprtil lgorithms for suffix tree onstrution in externl memory M. Brsky,, U. Stege n A. Thomo University of Vitori, PO Box, STN CSC Vitori, BC, VW P, Cn SUMMAY The onstrution of suffix trees in

More information

Lecture 8: Graph-theoretic problems (again)

Lecture 8: Graph-theoretic problems (again) COMP36111: Advned Algorithms I Leture 8: Grph-theoreti prolems (gin) In Prtt-Hrtmnn Room KB2.38: emil: iprtt@s.mn..uk 2017 18 Reding for this leture: Sipser: Chpter 7. A grph is pir G = (V, E), where V

More information

Lecture 12 : Topological Spaces

Lecture 12 : Topological Spaces Leture 12 : Topologil Spes 1 Topologil Spes Topology generlizes notion of distne nd loseness et. Definition 1.1. A topology on set X is olletion T of susets of X hving the following properties. 1. nd X

More information

6.3 Volumes. Just as area is always positive, so is volume and our attitudes towards finding it.

6.3 Volumes. Just as area is always positive, so is volume and our attitudes towards finding it. 6.3 Volumes Just s re is lwys positive, so is volume nd our ttitudes towrds finding it. Let s review how to find the volume of regulr geometric prism, tht is, 3-dimensionl oject with two regulr fces seprted

More information

Declarative Routing: Extensible Routing with Declarative Queries

Declarative Routing: Extensible Routing with Declarative Queries elrtive Routing: Extensile Routing with elrtive Queries Boon Thu Loo 1 Joseph M. Hellerstein 1,2, Ion toi 1, Rghu Rmkrishnn3, 1 University of Cliforni t Berkeley, 2 Intel Reserh Berkeley, 3 University

More information

Generating Editors for Direct Manipulation of Diagrams

Generating Editors for Direct Manipulation of Diagrams Generting Eitors for Diret Mnipultion of Digrms Gerhr Viehstet n Mrk Mins Lehrstuhl für Progrmmiersprhen Universität Erlngen-Nürnerg Mrtensstr. 3, 91058 Erlngen, Germny E-mil: fviehste,minsg@informtik.uni-erlngen.e

More information

WORKSHOP 6 FRAME SURFACE MODEL ANALYSIS

WORKSHOP 6 FRAME SURFACE MODEL ANALYSIS WORKSHOP 6 FRAME SURFACE MODEL ANALYSIS WS6-1 WS6-2 Workshop Ojetives Crete finite element moel (meshes; onnet jent elements; pply e los, operting los, n grvity los; onstrin noes) for intermeitely iffiult

More information

Convex Hull Algorithms. Convex hull: basic facts

Convex Hull Algorithms. Convex hull: basic facts CG Leture D Conve Hull Algorithms Bsi fts Algorithms: Nïve, Gift wrpping, Grhm sn, Quik hull, Divide-nd-onquer Lower ound 3D Bsi fts Algorithms: Gift wrpping, Divide nd onquer, inrementl Conve hulls in

More information

Minimal Memory Abstractions

Minimal Memory Abstractions Miniml Memory Astrtions (As implemented for BioWre Corp ) Nthn Sturtevnt University of Alert GAMES Group Ferury, 7 Tlk Overview Prt I: Building Astrtions Minimizing memory requirements Performnes mesures

More information

Introduction to Algebra

Introduction to Algebra INTRODUCTORY ALGEBRA Mini-Leture 1.1 Introdution to Alger Evlute lgeri expressions y sustitution. Trnslte phrses to lgeri expressions. 1. Evlute the expressions when =, =, nd = 6. ) d) 5 10. Trnslte eh

More information

Scalable Spatio-temporal Continuous Query Processing for Location-aware Services

Scalable Spatio-temporal Continuous Query Processing for Location-aware Services Slle Sptio-temporl Continuous uery Proessing for Lotion-wre Servies iopeng iong Mohme F. Mokel Wli G. Aref Susnne E. Hmrush Sunil Prhkr Deprtment of Computer Sienes, Purue University, West Lfyette, IN

More information

Section 2.3 Functions. Definition: Let A and B be sets. A function (mapping, map) f from A to B, denoted f :A B, is a subset of A B such that

Section 2.3 Functions. Definition: Let A and B be sets. A function (mapping, map) f from A to B, denoted f :A B, is a subset of A B such that Setion 2.3 Funtions Definition: Let n e sets. funtion (mpping, mp) f from to, enote f :, is suset of suh tht x[x y[y < x, y > f ]] n [< x, y 1 > f < x, y 2 > f ] y 1 = y 2 Note: f ssoites with eh x in

More information

Using Red-Eye to improve face detection in low quality video images

Using Red-Eye to improve face detection in low quality video images Using Re-Eye to improve fe etetion in low qulity vieo imges Rihr Youmrn Shool of Informtion Tehnology University of Ottw, Cn youmrn@site.uottw. Any Aler Shool of Informtion Tehnology University of Ottw,

More information

4.3 Balanced Trees. let us assume that we can manipulate them conveniently and see how they can be put together to form trees.

4.3 Balanced Trees. let us assume that we can manipulate them conveniently and see how they can be put together to form trees. 428 T FOU 4.3 Blned Trees T BT GOIT IN T VIOU setion work well for wide vriety of pplitions, ut they hve poor worst-se performne. s we hve noted, files lredy in order, files in reverse order, files with

More information

Line The set of points extending in two directions without end uniquely determined by two points. The set of points on a line between two points

Line The set of points extending in two directions without end uniquely determined by two points. The set of points on a line between two points Lines Line Line segment Perpendiulr Lines Prllel Lines Opposite Angles The set of points extending in two diretions without end uniquely determined by two points. The set of points on line between two

More information

Distributed Systems Principles and Paradigms. Chapter 11: Distributed File Systems

Distributed Systems Principles and Paradigms. Chapter 11: Distributed File Systems Distriuted Systems Priniples nd Prdigms Mrten vn Steen VU Amsterdm, Dept. Computer Siene steen@s.vu.nl Chpter 11: Distriuted File Systems Version: Deemer 10, 2012 2 / 14 Distriuted File Systems Distriuted

More information

Advanced Programming Handout 5. Enter Okasaki. Persistent vs. Ephemeral. Functional Queues. Simple Example. Persistent vs.

Advanced Programming Handout 5. Enter Okasaki. Persistent vs. Ephemeral. Functional Queues. Simple Example. Persistent vs. Avne Progrmming Hnout 5 Purel Funtionl Dt Strutures: A Cse Stu in Funtionl Progrmming Persistent vs. Ephemerl An ephemerl t struture is one for whih onl one version is ville t time: fter n upte opertion,

More information

WORKSHOP 19 GLOBAL/LOCAL MODELING USING FEM FIELDS

WORKSHOP 19 GLOBAL/LOCAL MODELING USING FEM FIELDS WORKSHOP 19 GLOBAL/LOCAL MODELING USING FEM FIELDS WS19-1 WS19-2 Prolem Desription This exerise is use to emonstrte how to mp isplement results from the nlysis of glol(overll) moel onto the perimeter of

More information

Structure in solution spaces: Three lessons from Jean-Claude

Structure in solution spaces: Three lessons from Jean-Claude Struture in solution spes: Three lessons from Jen-Clue Dvi Eppstein Computer Siene Deprtment, Univ. of Cliforni, Irvine Conferene on Meningfulness n Lerning Spes: A Triute to the Work of Jen-Clue Flmgne

More information

Can Pythagoras Swim?

Can Pythagoras Swim? Overview Ativity ID: 8939 Mth Conepts Mterils Students will investigte reltionships etween sides of right tringles to understnd the Pythgoren theorem nd then use it to solve prolems. Students will simplify

More information

A GENERIC PROCEDURE FOR INTERACTIVE 3D MODEL REGISTRATION ON IMAGES

A GENERIC PROCEDURE FOR INTERACTIVE 3D MODEL REGISTRATION ON IMAGES A GENERIC PROCEDURE FOR INTERACTIVE 3D MODEL REGISTRATION ON IMAGES Philippe EVEN LORIA / IUT e St-Dié, 11, Rue e l Université, F-88100 Sint Dié es Vosges, Frne, Philippe.Even@lori.fr KEY WORDS: Three-imensionl,

More information

Pattern Matching. Pattern Matching. Pattern Matching. Review of Regular Expressions

Pattern Matching. Pattern Matching. Pattern Matching. Review of Regular Expressions Pttern Mthing Pttern Mthing Some of these leture slides hve een dpted from: lgorithms in C, Roert Sedgewik. Gol. Generlize string serhing to inompletely speified ptterns. pplitions. Test if string or its

More information

An Efficient Algorithm for the Physical Mapping of Clustered Task Graphs onto Multiprocessor Architectures

An Efficient Algorithm for the Physical Mapping of Clustered Task Graphs onto Multiprocessor Architectures An Effiient Algorithm for the Physil Mpping of Clustere Tsk Grphs onto Multiproessor Arhitetures Netrios Koziris Pnyiotis Tsnks Mihel Romesis George Ppkonstntinou Ntionl Tehnil University of Athens Dept.

More information

A matching algorithm for measuring the structural similarity between an XML document and a DTD and its applications $

A matching algorithm for measuring the structural similarity between an XML document and a DTD and its applications $ Informtion Systems 29 (2004) 23 46 A mthing lgorithm for mesuring the struturl similrity etween n XML oument n DTD n its pplitions $ Elis Bertino, Giovnn Guerrini, Mro Mesiti, * Diprtimento i Informti

More information

Paradigm 5. Data Structure. Suffix trees. What is a suffix tree? Suffix tree. Simple applications. Simple applications. Algorithms

Paradigm 5. Data Structure. Suffix trees. What is a suffix tree? Suffix tree. Simple applications. Simple applications. Algorithms Prdigm. Dt Struture Known exmples: link tble, hep, Our leture: suffix tree Will involve mortize method tht will be stressed shortly in this ourse Suffix trees Wht is suffix tree? Simple pplitions History

More information

Outline. CS38 Introduction to Algorithms. Graphs. Graphs. Graphs. Graph traversals

Outline. CS38 Introduction to Algorithms. Graphs. Graphs. Graphs. Graph traversals Outline CS38 Introution to Algorithms Leture 2 April 3, 2014 grph trversls (BFS, DFS) onnetivity topologil sort strongly onnete omponents heps n hepsort greey lgorithms April 3, 2014 CS38 Leture 2 2 Grphs

More information

Hash-based Subgraph Query Processing Method for Graph-structured XML Documents

Hash-based Subgraph Query Processing Method for Graph-structured XML Documents Hsh-bse Subgrph Query Proessing Metho for Grph-struture XML Douments Hongzhi Wng Hrbin Institute of Teh. wngzh@hit.eu.n Jinzhong Li Hrbin Institute of Teh. lijzh@hit.eu.n Jizhou Luo Hrbin Institute of

More information

COMP108 Algorithmic Foundations

COMP108 Algorithmic Foundations Grph Theory Prudene Wong http://www.s.liv..uk/~pwong/tehing/omp108/201617 How to Mesure 4L? 3L 5L 3L ontiner & 5L ontiner (without mrk) infinite supply of wter You n pour wter from one ontiner to nother

More information

CMPUT101 Introduction to Computing - Summer 2002

CMPUT101 Introduction to Computing - Summer 2002 CMPUT Introdution to Computing - Summer 22 %XLOGLQJ&RPSXWHU&LUFXLWV Chpter 4.4 3XUSRVH We hve looked t so fr how to uild logi gtes from trnsistors. Next we will look t how to uild iruits from logi gtes,

More information

On the Strengthening of Topological Signals in Persistent Homology through Vector Bundle Based Maps

On the Strengthening of Topological Signals in Persistent Homology through Vector Bundle Based Maps CCCG 212, Chrlottetown, P.E.I., August 8 1, 212 On the Strengthening of Topologil Signls in Persistent Homology through Vetor Bunle Bse Mps Eri Hnson Frnis Mott Chris Peterson Lori Ziegelmeier 1 Astrt

More information

Outline. Motivation Background ARCH. Experiment Additional usages for Input-Depth. Regular Expression Matching DPI over Compressed HTTP

Outline. Motivation Background ARCH. Experiment Additional usages for Input-Depth. Regular Expression Matching DPI over Compressed HTTP ARCH This work ws supported y: The Europen Reserh Counil, The Isreli Centers of Reserh Exellene, The Neptune Consortium, nd Ntionl Siene Foundtion wrd CNS-119748 Outline Motivtion Bkground Regulr Expression

More information

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork

MA1008. Calculus and Linear Algebra for Engineers. Course Notes for Section B. Stephen Wills. Department of Mathematics. University College Cork MA1008 Clculus nd Liner Algebr for Engineers Course Notes for Section B Stephen Wills Deprtment of Mthemtics University College Cork s.wills@ucc.ie http://euclid.ucc.ie/pges/stff/wills/teching/m1008/ma1008.html

More information

COMPUTATION AND VISUALIZATION OF REACHABLE DISTRIBUTION NETWORK SUBSTATION VOLTAGE

COMPUTATION AND VISUALIZATION OF REACHABLE DISTRIBUTION NETWORK SUBSTATION VOLTAGE 24 th Interntionl Conferene on Eletriity Distriution Glsgow, 12-15 June 2017 Pper 0615 COMPUTATION AND VISUALIZATION OF REACHABLE DISTRIBUTION NETWORK SUBSTATION VOLTAGE Mihel SANKUR Dniel ARNOLD Lun SCHECTOR

More information

WORKSHOP 3 FRAME MODEL CREATION USING CURVES, AND ANALYSIS

WORKSHOP 3 FRAME MODEL CREATION USING CURVES, AND ANALYSIS WORKSHOP 3 FRAME MODEL CREATION USING CURVES, AND ANALYSIS WS3-1 WS3-2 Workshop Ojetives Moel simple frme struture using geometri urves n 1D Br elements. The frme moel is to e onstrine using pin restrints,

More information

Lecture 11: Interactive Rendering Chapters 7 in Advanced GI

Lecture 11: Interactive Rendering Chapters 7 in Advanced GI Leture 11: Intertive endering Chpters 7 in Advned GI Questions? HW 1 Fll 2004 Kvit Bl Computer Siene Cornell University Intertive Softwre endering Intertive User-driven, not pre-sripted nimtion At lest

More information

6.045J/18.400J: Automata, Computability and Complexity. Quiz 2: Solutions. Please write your name in the upper corner of each page.

6.045J/18.400J: Automata, Computability and Complexity. Quiz 2: Solutions. Please write your name in the upper corner of each page. 6045J/18400J: Automt, Computbility nd Complexity Mrh 30, 2005 Quiz 2: Solutions Prof Nny Lynh Vinod Vikuntnthn Plese write your nme in the upper orner of eh pge Problem Sore 1 2 3 4 5 6 Totl Q2-1 Problem

More information

Right Angled Trigonometry. Objective: To know and be able to use trigonometric ratios in rightangled

Right Angled Trigonometry. Objective: To know and be able to use trigonometric ratios in rightangled C2 Right Angled Trigonometry Ojetive: To know nd e le to use trigonometri rtios in rightngled tringles opposite C Definition Trigonometry ws developed s method of mesuring ngles without ngulr units suh

More information

Error Numbers of the Standard Function Block

Error Numbers of the Standard Function Block A.2.2 Numers of the Stndrd Funtion Blok evlution The result of the logi opertion RLO is set if n error ours while the stndrd funtion lok is eing proessed. This llows you to rnh to your own error evlution

More information

Parallelization Optimization of System-Level Specification

Parallelization Optimization of System-Level Specification Prlleliztion Optimiztion of System-Level Speifition Luki i niel. Gjski enter for Emedded omputer Systems University of liforni Irvine, 92697, US {li, gjski} @es.ui.edu strt This pper introdues the prlleliztion

More information

Distributed Systems Principles and Paradigms

Distributed Systems Principles and Paradigms Distriuted Systems Priniples nd Prdigms Christoph Dorn Distriuted Systems Group, Vienn University of Tehnology.dorn@infosys.tuwien..t http://www.infosys.tuwien..t/stff/dorn Slides dpted from Mrten vn Steen,

More information

Lecture 13: Graphs I: Breadth First Search

Lecture 13: Graphs I: Breadth First Search Leture 13 Grphs I: BFS 6.006 Fll 2011 Leture 13: Grphs I: Bredth First Serh Leture Overview Applitions of Grph Serh Grph Representtions Bredth-First Serh Rell: Grph G = (V, E) V = set of verties (ritrry

More information

Solving Problems by Searching. CS 486/686: Introduction to Artificial Intelligence Winter 2016

Solving Problems by Searching. CS 486/686: Introduction to Artificial Intelligence Winter 2016 Solving Prolems y Serching CS 486/686: Introduction to Artificil Intelligence Winter 2016 1 Introduction Serch ws one of the first topics studied in AI - Newell nd Simon (1961) Generl Prolem Solver Centrl

More information

s 1 t 4 s 2 4 t 2 a b r 2 r 8 r10 g 4

s 1 t 4 s 2 4 t 2 a b r 2 r 8 r10 g 4 k-pirs Non-Crossing Shortest Pths in Simple Polgon Evnthi Ppdopoulou Northwestern Universit, Evnston, Illinois 60208, USA Astrt. This pper presents n O(n + k) time lgorithm to ompute the set of k non-rossing

More information

COMP 423 lecture 11 Jan. 28, 2008

COMP 423 lecture 11 Jan. 28, 2008 COMP 423 lecture 11 Jn. 28, 2008 Up to now, we hve looked t how some symols in n lphet occur more frequently thn others nd how we cn sve its y using code such tht the codewords for more frequently occuring

More information

Rolling Back Remote Provisioning Changes. Dell Command Integration for System Center

Rolling Back Remote Provisioning Changes. Dell Command Integration for System Center Rolling Bk Remote Provisioning Chnges Dell Commn Integrtion for System Center Notes, utions, n wrnings NOTE: A NOTE inites importnt informtion tht helps you mke etter use of your prout. CAUTION: A CAUTION

More information

Type Checking. Roadmap (Where are we?) Last lecture Context-sensitive analysis. This lecture Type checking. Symbol tables

Type Checking. Roadmap (Where are we?) Last lecture Context-sensitive analysis. This lecture Type checking. Symbol tables Type Cheking Rodmp (Where re we?) Lst leture Contet-sensitie nlysis Motition Attriute grmmrs Ad ho Synt-direted trnsltion This leture Type heking Type systems Using synt direted trnsltion Symol tles Leil

More information

CS553 Lecture Introduction to Data-flow Analysis 1

CS553 Lecture Introduction to Data-flow Analysis 1 ! Ide Introdution to Dt-flow nlysis!lst Time! Implementing Mrk nd Sweep GC!Tody! Control flow grphs! Liveness nlysis! Register llotion CS553 Leture Introdution to Dt-flow Anlysis 1 Dt-flow Anlysis! Dt-flow

More information

FASTEST METHOD TO FIND ALTERNATIVE RE-ROUTE

FASTEST METHOD TO FIND ALTERNATIVE RE-ROUTE INTERNATIONAL JOURNAL OF RESEARCH IN COMPUTER APPLICATIONS AND ROBOTICS ISSN 2320-7345 FASTEST METHOD TO FIND ALTERNATIVE RE-ROUTE 1 M.JothiLkshmi, M.S., M.Phil. 2 C.Theeendr, M.S., M.Phil. 3 M.K.Pvithr,

More information

Using SIMD Registers and Instructions to Enable Instruction-Level Parallelism in Sorting Algorithms

Using SIMD Registers and Instructions to Enable Instruction-Level Parallelism in Sorting Algorithms Using SIMD Registers n Instrutions to Enle Instrution-Level Prllelism in Sorting Algorithms Timothy Furtk furtk@s.ulert. José Nelson Amrl mrl@s.ulert. Roert Niewiomski niewio@s.ulert. Deprtment of Computing

More information

Photovoltaic Panel Modelling Using a Stochastic Approach in MATLAB &Simulink

Photovoltaic Panel Modelling Using a Stochastic Approach in MATLAB &Simulink hotovolti nel Modelling Using Stohsti Approh in MATLAB &Simulink KAREL ZALATILEK, JAN LEUCHTER eprtment of Eletril Engineering University of efene Kouniov 65, 61 City of Brno CZECH REUBLIC krelzpltilek@unoz,

More information

A Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards

A Tautology Checker loosely related to Stålmarck s Algorithm by Martin Richards A Tutology Checker loosely relted to Stålmrck s Algorithm y Mrtin Richrds mr@cl.cm.c.uk http://www.cl.cm.c.uk/users/mr/ University Computer Lortory New Museum Site Pemroke Street Cmridge, CB2 3QG Mrtin

More information