Article Modified Adversarial Hierarchical Task Network Planning in Real-Time Strategy Games

Size: px
Start display at page:

Download "Article Modified Adversarial Hierarchical Task Network Planning in Real-Time Strategy Games"

Transcription

1 Article Modified Adversarial Hierarchical Task Network Plaig i Real-Time Strategy Games Li Su, Peg Jiao, Kai Xu, Quaju Yi * ad Yabig Zha College of Iformatio System ad Maagemet, Natioal Uiversity of Defese Techology, Chagsha , Chia; mksl163@udt.edu.c (L.S.); crocus201@163.com (P.J.); xukai09@udt.edu.c (K.X.); ybzha@udt.edu.c (Y.Z.) * Correspodece: yiquaju@udt.edu.c; Tel.: Received: 31 July 2017; Accepted: 20 August 2017; Published: 25 August 2017 Abstract: The applicatio of artificial itelligece (AI) to real-time strategy (RTS) games icludes cosiderable challeges due to the very large state spaces ad brachig factors, limited decisio times, ad dyamic adversarial eviromets ivolved. To address these challeges, hierarchical task etwork (HTN) plaig has bee exteded to develop a method deoted as adversarial HTN (AHTN), ad this method has achieved favorable performace. However, the HTN descriptio employed caot express complex relatioships amog tasks ad accommodate the impacts of the eviromet o tasks. Moreover, AHTN caot address task failures durig pla executio. Therefore, this paper proposes a modified AHTN plaig algorithm with failed task repair fuctioality deoted as AHTN-R. The algorithm exteds the HTN descriptio by itroducig three additioal elemets: essetial task, phase, ad exit coditio. If ay task fails durig pla executio, the AHTN-R algorithm idetifies ad termiates all affected tasks accordig to the exteded HTN descriptio, ad applies a ovel task repair strategy based o a prioritized listig of alterative plas to maitai the validity of the previous pla. I the plaig process, AHTN-R geerates the priorities of alterative plas by sortig all odes of the game search tree accordig to their primary features. Fially, empirical results are preseted based o a µrts game, ad the performace of AHTN-R is compared to that of AHTN ad to the performaces of other state-of-the-art search algorithms developed for RTS games. Keywords: HTN plaig; real-time strategy game; task repair 1. Itroductio The applicatio of artificial itelligece (AI) to real-time strategy (RTS) games icludes cosiderable challeges due to the very large state spaces ad brachig factors, limited decisio times, ad dyamic adversarial eviromets ivolved [1]. RTS games are regarded as a simplificatio of real-life eviromets, ad could therefore serve as a test bed for ivestigatig activities such as real-time adversarial plaig ad decisio makig uder ucertaity [2]. Moreover, task plaig techiques that have bee demostrated to be effective i RTS games could also be applied i real-world domais [2]. Compared with covetioal board games, RTS games have the followig primary differeces [2]: 1. Players ca pursue actios simultaeously with the actios of other players, ad eed ot take turs, as i games such as chess. Moreover, player actios ca be coducted over very short decisio times, allowig for rapid sequeces of actios. 2. Players ca pursue cocurret actios employig multiple cotrollable uits. This is much more complex tha covetioal board games, where oly a sigle actio is performed with each tur. Appl. Sci. 2017, 7, 872; doi: /app

2 Appl. Sci. 2017, 7, of Player actios are durative, i that a actio requires umerous time steps to be executed. This is also much more complex tha covetioal board games, where actios must be completed withi a sigle tur. 4. The state space ad brach factors are typically very large. For example, a typical map i StarCraft geerally icludes about 400 player cotrollable uits. Cosiderig oly the locatio of each uit, the umber of possible states is about , whereas the state space of chess is typically estimated to be aroud Of course, eve larger values are obtaied whe icludig the other factors i the RTS game. 5. The eviromet of a RTS game is dyamic. Ulike i covetioal board games such as chess, where the fudametal atures of the board ad game pieces ever chage, the eviromet of a RTS game may chage drastically i respose to player decisios, which ca ivalidate a geerated pla. Because of the differeces discussed above, stadard game tree search methods, which perform well for board games like alpha beta search [3], caot be directly applied i RTS games [4]. However, research has bee coducted to modify game tree search methods to address these differeces [4]. Chug et al. [5] ivestigated the applicability of game tree Mote Carlo simulatios i RTS games. Balla ad Fer [6] applied the upper cofidece boud for trees (UCT) algorithm i a RTS game to address the complicatios associated with durative actios. The UCT algorithm is a variat of Mote Carlo tree search (MCTS) that modifies the strategy of explorig child odes. The method is believed to adapt automatically to the effective smoothess of the tree. Churchill et al. [7] addressed the complicatios associated with simultaeous ad durative actios by extedig the alpha beta search process. However, the large brachig factors caused by idepedetly actig objects still remaied a substatial challege. Methods such as combiatorial multi-armed badits have attempted to address the challege of large brachig factors [8,9]. Otañó ad Buro [10] addressed very large state space ad brach factors by combiig the hierarchical task etwork (HTN) plaig approach with game tree search to develop what was deoted as adversarial HTN (AHTN). Here, rather tha explorig the etire combiatio of possible actios, HTN plaig could guide the search directio based o domai kowledge. AHTN also exteded the HTN plaig approach to accommodate simultaeous ad durative actios, ad applied HTN plaig directly ito the game search tree to take advatage of stadard optimizatios such as alpha beta pruig. Although AHTN has achieved good performace compared to other search algorithms [10], it still suffers from the followig weakesses. 1. The HTN descriptio used by AHTN caot express complex relatioships amog tasks ad accommodate the impact of the eviromet o tasks. For example, cosider a task ivolvig the forced occupatio of a fortified eemy emplacemet, deoted as the capture-blockhouse task, which cosists of two subtasks. The first subtask ivolves lurig the eemy away from the emplacemet (deoted as the lurig-eemy subtask), ad the secod subtask ivolves attackig the emplacemet (deoted as the attackig subtask). Here, the capture-blockhouse task will fail if the attackig subtask fails. However, failure of the lurig-eemy subtask would ot ecessarily lead to a overall failure of the capture-blockhouse task, but would rather ted to icrease the cost of completig the paret task because the attackig subtask ca still be executed eve though the lurig-eemy subtask fails. This type of relatio caot be expressed by the HTN descriptio employed i AHTN. Relatios related to coditios where subtasks are triggered by the eviromet or where the executio results of a paret task deped o both the eviromet ad the successful completio of its subtasks also caot be expressed by the HTN descriptio employed i AHTN. 2. AHTN plaig caot effectively address task failures that occur durig pla executio. The plaig process i AHTN geerates a ew pla at each frame of the game wheever idle uits which are ot assiged or execute actios exist. The ew pla processig caot cacel assiged actios of the previous plaig. If uits have bee assiged actios i previous plaig, they will keep executig those actios util those actios are failed or completed. I AHTN, each

3 Appl. Sci. 2017, 7, of 25 failed task of the previous pla is simply removed at the time of failure without cosiderig its impacts o remaiig executig tasks. The remaiig tasks will cotiue executig though these executios may be meaigless. To illustrate this poit, we ote that, if the failure of a task leads to the failure of its pla directly, the remaiig executig tasks of the pla should ot be cotiued executio because they caot affect the failure of the pla. The remaiig executig tasks should therefore be termiated so that the released resources ca be employed to repair failed tasks or formulate a ew pla. Thus, whe oe task fails ad caot be repaired, all related tasks i the pla should be termiated, ad the AI player should attempt to repair the task to maitai the validity of the origial pla. I this paper, we propose a modified AHTN algorithm with failed task repair fuctioality, deoted as AHTN-R, to address the two problems discussed above. First, AHTN-R employs a HTN descriptio exteded by addig the elemets essetial task, phase, ad exit coditio to ehace its capability for expressig complex relatioships amog tasks ad for accommodatig the impacts of the eviromet. Secod, AHTN-R employs a moitorig strategy based o the exteded HTN descriptio to idetify all tasks affected by a failed task. Fially, we develop a ovel strategy for repairig failed tasks based o a prioritized list of alterative plas. The priorities of alterative plas are geerated by sortig all odes of the game search tree accordig to their primary features, ad we employ the valid alterative pla with the highest priority to repair the failed task. This method ca reduce time cosumptio by takig advatage of historical iformatio. I each decisio cycle, the method attempts to repair failed tasks, followed by a ew plaig process. The remaider of this paper is orgaized as follows. Related work is preseted i Sectio 2. The exteded HTN descriptio is preseted i Sectio 3. The AHTN-R plaig algorithm is preseted i Sectio 4. Experimetal results idicative of the performace of the proposed AHTN-R algorithm are compared with the performaces of other algorithms i Sectio 5. Fially, we coclude the paper ad preset a idicatio of future work i Sectio Related Work Sice the foudatio of HTN plaig was first proposed by Sacerdoti [11] i 1975, may HTN plaers have bee proposed, such as the simple hierarchical ordered plaer (SHOP) [12] ad its successor SHOP2 [13]. Combiig HTN plaig with search methods guided by huma kowledge has bee demostrated to speed up plaig dramatically, ad this has led some researchers to attempt to apply this approach i typical video games [14]. Meif et al. [15] applied the Simple Hierarchical Plaig Egie (SHPE) to Steam Box, which is a type of first perso shooter game, usig a alterative ecodig of plaig data. Soemers ad Wiads [16] ivestigated the reuse of HTN plas i video games. Numerous examples exist of the successful use of HTN plaers i commercial video games [17]. However, to the best of our kowledge, oly a few attempts have bee made to apply HTN plaers to RTS games. Muñoz-Avila ad Aha [18] employed a HTN plaer to provide huma players with explaatios for the reasos leadig to curret states or evets accordig to user queries, ad for iterrogatig the behavior of autoomous players uder computer cotrol. Laaglad [19] preseted the desig, implemetatio, ad evaluatio of a HTN plaer i a ope source RTS game deoted as Sprig. The plaig of the RTS game was divided ito three levels with the HTN plaer beig employed i the highest strategic level. Laaglad [20] further summarized the advatages ad disadvatages of HTN plaig i RTS games. Naveed et al. [21] employed HTN plaers to reduce the size of the pathfidig search space i RTS games, ad tested their algorithm i games developed usig ORTS i Most recetly i 2015, Otañó ad Buro [10] developed the AHTN algorithm ad applied it to RTS games. Of the above studies, we ote that o research other tha that of Otañó ad Buro [10] has cosidered the adversarial feature of RTS games. Moreover, o research has adequately addressed task failures that occur durig pla executio i RTS games. However, studies focused i other fields have addressed task repair based o HTN. Garzó et al. [22] proposed a task repair strategy based o HTN plaig to adapt to failures durig the executio of treatmet plas geerated by therapy

4 Appl. Sci. 2017, 7, of 25 plaig systems. The strategy employed three methods for effectig task repair: applicatio of the kowledge base, search of alterative decompositios, ad operator otificatio. Gateau et al. [23] employed HTN to repair failed tasks to as localized a extet as possible i a high-level distributed architecture for multi-robot cooperatio. The core cocept of the strategy was to re-pla oly a subtree of the pla based o a hierarchical structure. Aya et al. [24] desiged a extesio of SHOP to repair failed tasks by itroducig a task-depedecy graph. Here, oly that portio of the origial pla related to the failed task was subjected to re-plaig. The task-depedecy graph was employed to record causal liks i the task etwork, ad was the applied to elimiate the effects of re-plaig o the other portios of the origial pla, ad to reduce the cost of re-plaig. The approach applied re-plaig oly to the affected parts of the task etwork usig HTN. However, may of these approaches failed to take advatage of the iformatio geerated i the previous plaig process to reduce the cost of task repair. 3. Exteded HTN Descriptio This sectio presets a exteded HTN descriptio to express complex relatioships amog tasks ad accommodate the impacts of the eviromet o tasks. We first aalyze the requiremets for extedig the HTN descriptio, ad the preset a formal defiitio of the exteded HTN descriptio Requiremets Aalysis The HTN plaig approach geerates plas by decomposig tasks recursively ito smaller subtasks [25]. HTN plaig icludes two types of tasks: primitive tasks ad compoud tasks. Primitive tasks correspod to actios that ca be executed by a aget directly i the game eviromet, such as a specific movemet. Compoud tasks represet goals that must be achieved by a high-order pla ad decomposed ito a task etwork Essetial Task Attribute I AHTN plaig, the result of a compoud task depeds o the results ad logical relatioships of its subtasks. Its task decompositio tree is a ad-or-tree with logical relatioships betwee subtasks that are either AND or OR. The AND relatioship idicates that the failure of ay subtask will lead to a failure of its paret task. The OR relatioship idicates that the success of ay subtask will lead to the success of its paret task. However, some domai kowledge regardig the completio of a task caot be represeted by a ad-or-tree. Returig to the capture-blockhouse task example discussed i the itroductio, we ote that the success of the lurig-eemy subtask may decrease the cost of completig the paret task, but its failure would ot lead to the failure of its paret task. However, the success ad failure of the capture-blockhouse task is completely depedet o the success ad failure of the attackig subtask. These more complex logical relatioships caot be represeted by the formatio of a ad-or-tree. To represet task decompositio reflectig more complex logical relatioships, we itroduce a attribute deoted as essetial task, whose value is either true or false, ad this attribute is applied to all tasks of the HTN. Here, the failure of ay essetial task will automatically lead to the failure of its paret task without cosideratio for the results of ay other subtasks. For two subtasks ad, their logical relatioships are represeted as follows: 1. if the essetial task attributes of both are true, the relatioship betwee ad is AND; 2. if the essetial task attributes of both are false, the relatioship betwee ad is OR; 3. if the essetial task attribute of oly oe is true, the relatioship is either AND or OR.

5 Appl. Sci. 2017, 7, of Phase ad Exit Coditio Attributes The result of a compoud task ot oly depeds o the relatioships ad results of its subtasks, but sometimes also depeds o the eviromet, which ca chage dyamically. These impacts from the eviromet ca be of the followig two types. 1. The eviromet ca cotrol the start of tasks oce previous tasks have bee completed. For example, the task associated with the sudde cocealed attack o a eemy, deoted as the ambushig-eemy task, cosists of two subtasks: the first is associated with movemet to the stagig area of the ambuscade, deoted as move-to-ambushig-area, ad the actual activity of attackig, deoted as attack-eemy. It is obvious that the attack-eemy subtask could ot be executed immediately upo completig the move-to-ambushig-area subtask because the attackeemy task caot be executed util the eemy resides i the ambuscade area. 2. The eviromet could ecessitate the failure of a task. For the ambushig-eemy task example, the move-to-ambushig-area subtask must be completed before the eemy has passed the ambuscade stagig area; otherwise, the ambushig-eemy task would fail. While the AHTN algorithm ca accommodate the first type of impact usig the precoditios of tasks, the secod type of evirometal impact caot be addressed. I this paper, we propose the exit coditio attribute to address these two types of evirometal impacts. The exit coditio attribute ca be divided ito sufficiet exit coditio ad ecessary exit coditio attributes. If a task has some ecessary exit coditios, its subsequet task caot be executed util all ecessary exit coditios are satisfied. If a task has some sufficiet exit coditios, its paret task will fail whe ay sufficiet exit coditio is satisfied but the task is ot completed. The exit coditio attribute is writte usig a Lisplike sytax like the precoditio defied i [13]. The phase attribute is proposed to describe the relatioships betwee subtasks that reflect the fact that the executio of a compoud task ca be divided ito several sequetial steps, ad each step may iclude parallel subtasks. Because tasks i the same phase are ofte affected by the same exit coditios, we add the set of exit coditios to the phase rather tha addig them to each task. For a example, we retur to the ambushig-eemy task, where we have modified the task to cosist of three subtasks: move-to-ambushig-area, surveil-eemy, ad attack-eemy. The modificatio icludes the subtask surveil-eemy reflectig the requiremet to first determie that the eemy resides i the ambuscade area prior to attackig. The first two subtasks are executed i parallel usig differet uits ad the attack-eemy ca be executed oly whe the first two subtasks are completed. We divide the executio of ambushig-eemy ito two phases. The subtasks move-to-ambushig-area ad surveil-eemy are icluded i the first phase, which is deoted as the preparatory-phase. The attackeemy subtask is icluded i the secod phase, deoted as the attack-phase. The preparatory-phase has both sufficiet ad ecessary exit coditios, where the ambushig-eemy task will fail if the subtasks of the preparatory-phase have ot bee completed by the poit at which the eemy has passed the ambushig-area (i.e., the sufficiet exit coditio is satisfied), ad the attack-eemy task will ot be iitiated if the subtasks of the preparatory-phase have bee completed while the eemy has ot passed the ambushig-area (i.e., the ecessary exit coditio is ot satisfied). The data structures employed i the example are show i Figure 1, where the uits deoted as?uitid1 ad?uitid2 will ambush the eemy deoted as?eemy at the ambushig-area deoted as?place. I the preparatory-phase,?uitid1 is allocated to move to?place ad?uitid2 surveils?eemy. If the preparatory-phase is completed,?uitid1 will attack?eemy. Additioal defiitios are provided i the followig subsectios.

6 Appl. Sci. 2017, 7, of 25 Figure 1. A example of the ambushig-eemy task. Icludig the phase attribute durig the decompositio of a compoud task is the mai differece betwee the AHTN used i this paper ad that i [10]. The defiitio of the phase attribute is as follows. Defiitio 1. (phase): The phase attribute is defied as a tuple:, h,,,, where the followig defiitios apply. is the ame of the phase. h cosists of the ame of the method to which the phase belogs ad a list of parameters for the phase. is the set of sufficiet exit coditios. Each elemet is a logic expressio of literals which cosist of the ame ad a list of parameters. is the set of ecessary exit coditios. Each elemet is a logic expressio of literals which cosist of the ame ad a list of parameters. Here, subsequet phases ca be executed oly whe all ecessary exit coditios are satisfied. is the set of subtasks that should be completed to accomplish a compoud task. The subtasks ca be either compoud tasks or primitive tasks. Each elemet i cosists of the subtask s ame ad a list of parameters. Because a phase is executed sequetially, ay failure of a phase will lead to the failure of the method associated with that phase. The result of a phase depeds o two factors: tasks ad sufficiet exit coditios. Accordigly, the followig four coditios lead to the failure of a phase: 1. Ay essetial task of the phase has failed. 2. Ay sufficiet exit coditio is satisfied, with oe or more essetial tasks still executig. 3. Ay sufficiet exit coditio is satisfied, ad o subtasks have bee completed. 4. All subtasks have failed. For 1, the failure of ay essetial task meas that the paret task has failed, ad its phase is also cosidered as failed. For 2, ucompleted essetial tasks caot cotiue executig whe a sufficiet exit coditio is satisfied, ad the paret task also fails. I additio, accordig to 3, the phase will fail whe o subtasks are completed ad a sufficiet exit coditio is satisfied. Fially, a task obviously fails if all its subtasks have failed Defiitio of the Exteded HTN Descriptio

7 Appl. Sci. 2017, 7, of 25 A HTN problem ca be defied as a tuple:,,,,, where the followig defiitios apply: is the set of curret world states, ad cosists of all iformatio that is relevat to the plaig process. is the set of task decompositio methods. Each method ca be applied to decompose a task ito a set of subtasks. is the set of operators. Each operator is a executio of a primitive task. is the curret task etwork. It is a tree whose odes are tasks, methods, or phases. is the state trasform fuctio. Give, (, ) defies the trasitio of the state whe a primitive task is executed by a aget. If (, ), the operator is ot applicable i. The defiitio of a method i the proposed exteded descriptio is similar to the defiitio employed i previous HTN descriptios. However, our method uses the list of phases rather tha sets of subtasks, ad adds the attribute deoted as essetial. Defiitio 2. (method): A method is defied as a tuple:,,, h,, where the followig defiitios apply. is the ame of the method. is the ame of the task to which the method is applied. is the logical precoditios for the method, which should be satisfied whe the method is applied. h is the list of phases. The sequece of the elemets i h is the executio sequece. is a Boolea value, ad is true to idicate that a task to which the method is applied is a essetial task. The defiitio of a operator is also similar with that i previous HTN descriptios except for addig the essetial attribute. Defiitio 3. (operator): The operator is defied as a tuple: h,,,,, where the followig defiitios apply. h is the primitive task that ca be applied by this operator. is the precoditio that must be satisfied before task executio. are the delete effects. are the add effects. is a Boolea value, ad is true to idicate that the task to which the operator is applied is a essetial task. 4. AHTN-R Plaig Algorithm The overall framework of the AHTN-R algorithm is provided firstly, ad the fuctios of its differet compoets are explaied. The, the moitorig strategy employig the exteded HTN descriptio is proposed to address the issue of failed tasks. Fially, we discuss the proposed failed task repair strategy.

8 Appl. Sci. 2017, 7, of ATHNR Framework The overall framework of the AHTN-R algorithm is illustrated i Figure 2. The process flow cosists of three mai compoets: pla geeratio, pla executio, ad task repair. The pla geeratio compoet provides the best pla to the pla executio compoet, ad provides a prioritized list of alterative plas to the task repair compoet. The pla executio compoet processes the failed tasks resposible for pla failure ad seds the task eedig repair to the task repair compoet. The task repair compoet attempts to repair failed tasks at the begiig of each decisio cycle. Figure 2. Overall framework of the adversarial hierarchical task etwork (AHTN)-R algorithm. At each decisio cycle, whe there are idle uits, the pla geeratio compoet will search the best pla usig the AHTN algorithm with the exteded HTN descriptio. This paper modified the part of the AHTN algorithm obtaiig the ext actio. I AHTN, the subtasks ca be obtaied if a method is applied. However, with the itroductio of phase i AHTN-R, the phases will be obtaied rather tha the subtasks if a method is applied. The AHTN-R algorithm accesses the geerated phases to obtai the ext primitive task. Algorithm 1 shows the method employed to obtai the ext executable actio based o the HTN pla N ad executio poiter t, which keeps track of which parts of N have already bee executed. The result of Algorithm 1 is a primitive task or a empty set, idicatig a absece of a available primitive task. Lies 1 4 show that, if o tasks have yet bee executed, the algorithm returs the first primitive task i N. Lies 7 19 show that, if all tasks i the same phase with t have bee executed, the algorithm searches the first primitive task from the ext phase. If o primitive tasks are foud i the ext task, a empty set is retured. Lies show that the algorithm searches for a primitive task from the remaiig tasks i the same phase that have ot bee executed.

9 Appl. Sci. 2017, 7, of 25 Algorithm 1 Returs (, ) 1. If = the 2. Get the root of N, deoted as the 3. Retur (, ) 4. Ed If 5. Acquire the phase p to which t belogs 6. Get all tasks deoted as of 7. If all tasks i have bee executed the 8. Get the ext phase of 9. If = the 10. Retur 11. Ed If 12. Get all tasks deoted as of 13. For all do 14. If (, ) the 15. Retur (, ) 16. Ed If 17. Ed For 18. Retur 19. Ed If 20. For all that have ot bee executed do 21. If is a primitive task the 22. Retur 23. Ed If 24. Get the first phase of the method applied to 25. Get all tasks deoted as of 26. For all do 27. If (, ) the 28. Retur (, ) 29. Ed If 30. Ed For 31. Ed For 32. Retur Oce the best pla is geerated, the AHTN-R will obtai the prioritized listig of alterative plas geerated by AHTN through sortig the odes of the game search tree. The method of sortig plas is discussed i Sectio 4.3. Durig pla executio, the task may fail because of the dyamics of the RTS game eviromet. Oce a task fails, AHTN-R will process the failed task accordig to the moitorig strategy discussed i Sectio 4.2, which seeks to idetify ad termiate the smallest possible set of tasks affected by the failed task. I this way, the effects of a failed task ca be limited to the smallest scope possible. At the begiig of each decisio cycle, AHTN-R first attempts to repair the failed task by selectig a suitable pla from the list of alterative plas accordig to their priorities. AHTN-R will the execute the tasks of the alterative pla correspodig to the tasks affected by the failed task. If AHTN-R is uable to fid a suitable alterative pla, it will geerate a altogether ew pla for the failed task by AHTN. This process is discussed at the ed of Sectio Failed Task Moitorig Strategy Usig the Exteded HTN Descriptio Oce a task fails, a AI player must idetify ad termiate all tasks affected by the failed task. To accomplish this, the sources of the pla failure are aalyzed first. Pla failure ca be attributed to two sources: the failure of actios ad the state of the sufficiet exit coditios attribute. A actio will fail whe its uit is destroyed or whe available resources caot be obtaied to fulfill the actio. A pla may also fail if the sufficiet exit coditio is satisfied, as discussed i Sectio Task failure

10 Appl. Sci. 2017, 7, of 25 triggers the moitorig strategy. Algorithm 2 shows the mai process of the strategy employed to moitor failed tasks. The iput of Algorithm 2 is the failed task t, ad the result of Algorithm 2 is a list deoted as RepairTaskList, which cotais the tasks requirig repair. Lies 1 4 show the differet strategies for addressig essetial ad uessetial tasks. Lies 5 15 show how failed compoud tasks are addressed. Lies 7 13 show that, if a failed compoud task has available methods, it will be saved ad repaired i the ext decisio cycle. Oly whe a task has o available methods will it be cosidered as the failed task. I this way, the umber of affected tasks will be as small as possible, which will reduce the extet of repair required. Lie 15 shows the strategy for addressig primitive ad compoud tasks without available methods. Algorithm 2 Retur TaskFailed(t) 1. If ( ) = the 2. SubTaskFailed(t) 3. Retur 4. Ed If 5. If t is a compoud task the 6. Acquire all methods m of t 7. For each method ( )! =failed 8. Get the precoditio set of 9. If all is satisfied the 10. Add t ito RepairTaskList 11. Retur 12. Ed if 13. Ed For 14. Ed if 15. SubTaskFailed(t) Accordig to the exteded HTN descriptio, each task, except the root ode task, belogs to a sigle phase, ad whether the phase correspodig to a failed task has also failed must be determied. Algorithm 3 shows the strategy for addressig the correspodig phase accordig to the HTN descriptio preseted i Sectio 3.2. The iput of Algorithm 3 is a task t. Lie 2 shows that, if the failed task is the root ode task, it eed ot be repaired. If the phase is failed, Algorithm 4 ad Algorithm 5 are called to termiate the affected tasks ad process compoud tasks. The failed phase serves as the iput of Algorithms 4 ad 5. Algorithm 4 shows the strategy for processig the failed phase. If the task belogig to the failed phase is a compoud task, its subtasks will be processed, ad, if it is a primitive task, it will be termiated directly. Algorithm 5 shows the strategy for processig the method to which the failed phase belogs. Lies 2 6 show that all ufiished phases of the method are failed because they are sequetial.

11 Appl. Sci. 2017, 7, of 25 Algorithm 3 SubTaskFailed(t) 1. Acquire the phase correspodig to t 2. If = the retur 3. Ed If 4. If oe of the sufficiet coditios of is met the 5. If ay essetial tasks of are failed the 6. PhaseFailed( ); 7. MethodFailed( ); 8. Else If has o essetial task 9. (all tasks of were executed or did ot start) 10. PhaseFailed( ); 11. MethodFailed( ); 12. Ed If 13. Ed If 14. Else If ay essetial tasks of fail 15. ( has o essetial task all tasks of fail) 16. PhaseFailed( ); 17. MethodFailed( ); 18. Ed If 19. Ed If If ay sufficiet exit coditio is satisfied, the AI player will determie whether the phase to which the sufficiet exit coditio belogs has failed. The processig ivolved is similar to that give by Algorithm 3 except that its iput parameter is a sufficiet exit coditio rather tha a failed task. Algorithm 4 PhaseFailed( ) 1. Get all tasks deoted as of 2. For all tasks 3. If status( ) = h status( ) = the 4. cotiue; 5. Ed If 6. If t is a compoud task the 7. Get the method m applied to t 8. Get all phases withi h of m 9. For all phases h 10. PhaseFailed(q) 11. Ed For 12. Else 13. Cacel (t) 14. Ed If 15. Ed For

12 Appl. Sci. 2017, 7, of 25 Algorithm 5 MethodFailed (p) 1. Get the method m to which p belogs 2. For all phases h of m 3. If h ( )! = h the 4. PhaseFailed(q) 5. Ed If 6. Ed For 7. Get task t to which m is applied 8. TaskFailed(t) 4.3. Task Repair Strategy Based o the Priorities of the Alterative Plas At each decisio cycle, the AI player attempts to fid a alterative pla for each task i RepairTaskList based o the iformatio icluded i previous plaig. Here, if all plas geerated durig previous plaig could be saved, the AI player could geerate a repair pla by searchig the previously geerated plas rather tha costructig a ew pla for the failed task directly. This will reduce the time cosumed by the task repair process. To accomplish this, the AI player geerates some alterative plas with differet evaluatios durig each task plaig period. These evaluatios establish the priorities of the alterative plas. The evaluatios are based o two primary features of the alterative plas: their task decompositios ad task parameters. For example, a task T ca be decomposed ito tasks sub-t1 ad sub-t2, or sub-t3 ad sub-t4. Each costructs a pla. The plaer will compute the evaluatios for executig T accordig to the two plas, respectively. If oe fails durig executio, the plaer will employ the other to repair T. Better repair performace will be obtaied by coductig a search accordig to the priorities of the alterative plas, begiig with the alterative pla with the highest priority. However, aside from the best pla, the plas geerated by the AI player are usually out of order. Therefore, the geerated alterative plas must be recorded i descedig order accordig to their evaluatios. At the same time, because the alterative plas form the leaves of the game search tree i the AHTN algorithm, the reorderig of plas is equivalet to the reorderig of leaf odes. To accomplish the above processig, we propose Theorem 1 ad prove the validity of the orderig thereby obtaied as follows. Theorem 1: Give a m-level mi max search tree, the ith level has Ni odes, where each ode is represeted by i,j (i m, j Ni). The sub-odes of i,j are ordered accordig to the followig two coditios. 1. if i,j (i.e., the paret ode) is a max ode, its subodes (or child odes) are ordered decreasigly from left to right accordig to their evaluatios; 2. if i,j is a mi ode, its subodes are ordered icreasigly from left to right accordig to their evaluatios. The above orderig of all odes of the mi-max search tree represet the proposed prioritizig of plas, where the pla of the left ode will better tha the pla of the right ode. Proof: We employ the mi max search tree illustrated i Figure 3 as a example, where max odes ad mi odes are represeted by rectagular ad circular boxes, respectively. Here,,,,,,,,,, are subodes of, ad,,,,,,,,, are subodes of,,,1. We assume that, is a max ode. The evaluatios are deoted by the variable v. For example, the evaluatio of,, is represeted by,,, where the subode evaluatios of, are ordered decreasigly from left to right as,,,,,,. I additio, we assume that,, is a mi ode, so that its subode evaluatios are ordered icreasigly from left to right as,,,,,,. With, beig a max ode, we obtai the relatioships, =,, =,, ad,,,,,,,,,,,,. Whe the best pla ode,, is removed, the value,, of,, will become,,, ad the values of the other subodes of, will ot chage. Therefore, the value of, will become,,, ad the best pla ode is,,.

13 Appl. Sci. 2017, 7, of 25 If we cotiue the process of removig the best pla ode, the best pla ode will become,,,,,,,,,. Whe all subodes of,, have bee removed, the best pla ode will become the first subode of,,. For,, the order of best plas is the same as the order of,,. If, is a mi ode, the coclusio will ot chage., v i 1,1 i 1,1 v i,1,1 i,1,1, v i,1,2 i,1,2, v i,1, N i,1, N i i, v 1,1,1 1,1,1, v 1,1,2 1,1,2, v 1,1, k 1 1,1, k 1, v 1,2,1 1,2,1, v 1,2,2 1,2,2, v 1,2, k2 1,2, k2, v 1, j,1 1, j,1, v 1, j,2 1, j,2, v 1, j, k 1, j, k, Figure 3. A mi max search tree is employed as a example for proof of Theorem 1. The rectagular odes are max odes, which are ordered icreasigly from left to right accordig to their evaluatios, ad the circular odes are mi odes, which are ordered decreasigly from left to right accordig to their evaluatios. Algorithm 6 shows the mai process of sortig plas accordig to their evaluatios. The iput of Algorithm 6 is a ode of the game search tree. The sortig process begis with the root ode of the game search tree. The algorithm sorts all odes of the game search tree from the top dow. Lies 2 4 check whether the iput ode is a leaf ode. Lies 5 9 sort all subodes of the iput ode accordig to Theorem 1. Lies process each subode of the iput ode iteratively. Algorithm 6 SortedPla(root) 1. Get the list of all subodes of root 2. If = the 3. Retur 4. Ed If 5. If root is a max ode the 6. Sort decreasigly accordig to subode evaluatios 7. Else 8. Sort icreasigly accordig to subode evaluatios 9. Ed If 10. For each 11. SortedPla( ) 12. Ed For After coductig the above process, the geerated alterative plas are provided to the AI player for repairig failed tasks. However, prior to coductig task repair, we must determie the locatio of the failed task withi the alterative pla, ad execute that part of the alterative pla i place of the failed task. Because the same task ca be used as a subtask of differet compoud tasks, it is ecessary to compare both the ame ad decompositio path to cofirm the locatio of the failed task withi the alterative plas. Whe the failed task has bee foud i a alterative pla, its leaf odes will be cosidered as the ew actios to be executed.

14 Appl. Sci. 2017, 7, of 25 A example is give i Figure 4, where Figure 4a shows a pla that has failed owig to the failure of essetial task T6 (give i bold fot). The failure of T6 requires the repair of T3, which is a subtask of T1, ad does ot affect T2. AHTN will oly remove T6 ad cotiue executig remaiig tasks eve though the pla has failed. However, AHTN-R ca select a alterative pla, which applies aother method to T3. AHTN-R executes ew subtasks T11 ad T12 i place of subtasks T6 ad T7, which is marked by the dashed-lie box i Figure 3b. (a) The Failed Pla (b) The Selected Pla Figure 4. A Example of repairig a failed pla (a) owig to the failure of subtask T6 by employig a alterative pla (b). 5. Experimetal 5.1. Experimetal Eviromet ad Settigs We compared the performace of the proposed AHTN-R algorithm with other algorithms [26] usig free µrts software [27], which has bee used i the past to evaluate various algorithms applied i RTS games [4,9,10]. A screeshot of the µrts game eviromet is show i Figure 5. Here, the uits of two players (deoted by the blue ad red outlies) compete to destroy the uits of their oppoet. Each player has the same types of uits. The small gray circles are workers that ca attack eemies, build bases, ad harvest ad trasport resources. The gree squares are the limited resources that ca be harvested. The orage circles are light attackers, ad the yellow circles are heavy attackers. The heavy ad light attackers both have larger hit ad health poits tha the workers, makig them more effective ad resiliet attackers, but they caot harvest or trasport resources. The white squares are bases that ca produce ew uits. The µrts game eviromet provides six types of actios for uits: move ito ay empty space i the four cardial directios, attack ay eemy i rage, harvest mierals from resource uits, retur mierals to bases, produce ew uits i ay empty spaces i oe of the four cardial directios (for workers ad bases), ad remai idle, where

15 Appl. Sci. 2017, 7, of 25 the uit takes o actio. Although µrts provides simplified RTS games, the games are sufficietly complex, ad exhibit the stadard challeges of RTS games, such as cocurret player activity, durative ad simultaeous actios, real-time limitatio, ad large brachig factors. The origial µrts is determiistic ad fully observable. Figure 5. A screeshot of the µrts game eviromet. The two players are distiguished accordig to the blue ad red outlie colors. The gree squares are resources. The white squares are bases. The gray circles are workers, the yellow circles are heavy attackers, ad the orage circles are light attackers. The compariso evaluatio cosidered the stadard AHTN algorithm i additio to the followig collectio of search algorithms. 1. Radombiased: A AI player employig a radom biased strategy that executes actios radomly. 2. LightRush: A hard-coded strategy. This AI player produces light attackers, ad commads them to attack the eemy immediately. 3. HeavyRush: A hard-coded strategy. This AI player produces heavy attackers, ad commads them to attack the eemy immediately. 4. UCT: We employ a implemetatio with the extesio for accommodatig simultaeous ad durative actios [10]. The followig parameters were employed i the testig. CPU time: The limited amout of CPU time allowed for a AI player per game frame. I our experimets, we employ differet CPU time settigs from 20 to 200 ms to test the performaces of the algorithms. Playout policy: The Radombiased playout policy is employed for the AHTN-R, AHTN, ad UCT algorithms i our experimets [10]. Playout time: The maximum ruig time of a playout. The playout time is 100 cycles. Pathfidig algorithm: I our experimets, the AI player employs the A* pathfidig algorithm to obtai the path from a curret locatio to a destiatio locatio.

16 Appl. Sci. 2017, 7, of 25 Evaluatio fuctio: I our experimets, we employ a evaluatio fuctio derived from [10] to compute a reward value to obtai the best pla. The evaluatio fuctio is a variat of LTD2 [27,28] that ot oly cosiders the hit-poits of a uit, but also its costs. Maximum game time: The maximum game time is limited to 3000 cycles. This meas that, if both players have livig uits at the 3000th cycle, the game is declared a tie. Maps: The three maps used i our experimets are M1 (8 8 tiles), M2 (12 12 tiles), ad M3 (16 16 tiles). To evaluate each algorithm, we coduct a roud-robi touramet, i which each algorithm plays 50 games (with various startig positios) agaist all other algorithms i each of 3 differet maps ( = 9600 games i total). The method used to compute the score of each algorithm is as follows: the wier of each game was awarded 1 poit, ad both algorithms were awarded 0.5 poits i the evet of a tie. Each of the two AI players i all competitios bega with a sigle base, a equivalet resource value, ad a sigle worker. To compare the performace of our AHTN-R algorithm with the performace of the stadard AHTN algorithm, we crafted two differet HTNs for the µrts domai, which are defied as follows. 1. Low Level: cotais 12 operators (primitive tasks) ad 9 methods for 3 types of tasks. 2. Flexible: cotais the 12 operators of the Low Level, but provides 49 methods ad 9 types of tasks. This fuctioality allows methods to employ parallel executio tasks. The employmet of the Low Level ad Flexible HTNs i the AHTN ad AHTN-R algorithms are deoted subsequetly as, e.g., AHTN-R-LL ad AHTN-R-F, respectively. Naturally, the HTNs used by the AHTN-R algorithm employ the exteded HTN descriptio. All tasks except for wait-forfree-uit ad wait i HTNs are defied as essetial tasks. Some of the phases iclude exit coditios to reflect the ifluece of the eviromet. Figure 6 shows a example task from the Low Level HTN. The task amed destroy-player-iteral ca be decomposed ito two subtasks uit-order ad destroyplayer-iteral by applyig the method dpi-extuit whe the precoditio is satisfied. Because the two subtasks are parallel, they belog to the same phase, deoted as dpi-extuit-phase. Because oe subtask is the same as its paret task, we will focus o subtask uit-order. If the precoditios of its method uo-attack are satisfied, this task will be decomposed ito the subtasks move-ito-attack-rage ad attack. The subtasks belog to the differet phases: preparatory-phase ad attack-phase because they must be performed sequetially, ad both are essetial tasks. We ote that attack-phase-1 has a ecessary exit coditio, idicatig that subtask attack i the subsequet phase caot be executed util the ecessary exit coditio is satisfied. Because the essetial attributes are all true i Figure 6, the failure of move-ito-attack-rage or attack will lead to repair uit-order. If uit-order caot be repaired, the plaer will termiate all tasks i dpi-extuit-phase ad try to repair its paret task.

17 Appl. Sci. 2017, 7, of 25 Figure 6. A example of the AHTN-R process of executig the compoud task destroy-player-iteral from the Low-Level fuctioality Experimetal Results ad Aalysis I this sectio, we compare the performace of AHTN-R with the other algorithms i terms of the average score, average decisio time, ad average failed task repair rate for the three maps. Each algorithm will play 700 games i total agaist the other algorithms as player 1 or player 2 ad 50 games agaist itself. Because data are collected from both players, the average score of each algorithm show i Figures 7 9 is obtaied effectively over 800 games. The average decisio time for each algorithm show i Figures is effectively the average value of 100 games agaist eight types of AI players, respectively. The average failed task repair rate of AHTN-R is also obtaied i the same way.

18 Appl. Sci. 2017, 7, of Average Score uder Differet CPU Time Settigs for the Three Maps Figures 7 9 preset the comparisos of the average scores obtaied for each algorithm durig the roud-robi competitio with respect to the CPU time from 20 to 200 ms for the three maps. Accordig to the results, we ca see that the AHTN-R-F player outperforms all other AI players o all three maps uder differet CPU times. I additio, the performaces of AHTN-R-F vary little with the icreasig scale of the maps, ad are very stable with respect to CPU time. AHTN-R-F outperforms AHTN-F because of the greater flexibility of AHTN-R tha AHTN i a dyamic eviromet. Here, AHTN does ot cosider the effects of failed tasks, while AHTN-R idetifies ad termiates all tasks affected by the failed task, which allows AHTN-R to make more efficiet use of available uits ad resources. AHTN-R also attempts to repair failed tasks i as local a extet as possible i a effort to maitai the validity of the previous pla. AHTN-R-F performs best because it uses a improved HTN domai kowledge for guidig the game tree search, which yields a good pla i a relatively short time. With respect to the other algorithms, we ote that AHTN-R-LL ad AHTN-LL have similar performaces o the smallest map. However, the performace of both AHTN-R-LL ad AHTN-LL deteriorate as the map size icreases, ad AHTN-R-LL geerally performs worse tha AHTN-LL o the largest map. The performaces of both players deteriorate because more uits are produced o the larger maps ad the domai kowledge obtaied by AHTN-R-LL ad AHTN-LL is too simple to adapt to such a complex game. For AHTN-R, the poor domai kowledge meas that the previous pla may ot be suitable for the curret coditio, ad it would be better to costruct a ew pla. The relative performaces of the scripted methods HeavyRush ad LightRush are also observed to improve with icreasig map size, which is owig to the uderperformace of AHTN-R-LL ad AHTN-LL o larger maps. With respect to CPU time, the performaces of all AI players chage very little for all three maps. This is because all AI players require little time to make decisios. However, if the CPU time is very small, the performace will deteriorate. Because the performaces of all AI players were similar uder differet CPU time settigs, we employed a sigle CPU time settig of 100 ms i subsequet experimets. Figure 7. The average score of each algorithm obtaied over the 800 games of the roud-robi competitio for map M1 (8 8 tiles) with respect to the CPU time from 20 to 200 ms. The playout time is 100 cycles.

19 Appl. Sci. 2017, 7, of 25 Figure 8. The average score of each algorithm obtaied over the 800 games of the roud-robi competitio for map M2 (12 12 tiles) with respect to the CPU time from 20 to 200 ms. The playout time is 100 cycles. Figure 9. The average score of each algorithm obtaied over the 800 games of the roud-robi competitio for map M3 (16 16 tiles) with respect to the CPU time from 20 to 200 ms. The playout time is 100 cycles Average Decisio Time for the Three Maps Figures show the average plaig times of the AHTN-R ad AHTN players for oe decisio process of 100 games for the three maps, respectively. We fid that AHTN-R usually requires more decisio time tha AHTN whe they have similar domai kowledge. This is caused by the added time of task repair. Both the repair of failed tasks at the begiig of each decisio cycle ad the sortig of all alterative plas accordig to their evaluatios requires greater plaig time for AHTN-R tha AHTN. However, as show i Tables 1 ad 2, the time required for repairig failed tasks ad savig alterative plas is short compared with the total time required by the decisio process. Therefore, while AHTN-R requires greater decisio time tha AHTN, it is withi a acceptable rage. We ote that the decisio times for AHTN-LL ad AHTN-R-LL icrease for M2 ad M3 whe playig agaist Radombiased or UCT. Compared to the other algorithms, Radombiased ad UCT have greater opportuity to create complex game eviromets due to the

20 Appl. Sci. 2017, 7, of 25 greater radomess of their actios. Here, the poor domai kowledge of AHTN-LL ad AHTN-R- LL relative to that of AHTN-F ad AHTN-R-F makes it more difficult for AHTN-LL ad AHTN-R- LL to geerate plas i respose to the radom actios of Radombiased ad UCT. Therefore, AHTN-LL ad AHTN-R-LL must utilize more recursive tasks i HTN to obtai better solutios. This requires that the AI player search more tree odes, ad the time spet o some odes also icreases with icreasig HTN depth. Figure 10. The average decisio times of AHTN-R ad AHTN with the two types of HTNs obtaied over 100 games agaist each of the 8 algorithms, where the CPU time is 100 ms for map M1 (8 8 tiles). The playout time is 100 cycles. Figure 11. The average decisio times of AHTN-R ad AHTN with the two types of HTNs obtaied over 100 games agaist each of the 8 algorithms, where the CPU time is 100 ms for map M2 (12 12 tiles). The playout time is 100 cycles.

21 Appl. Sci. 2017, 7, of 25 Figure 12. The average decisio times of AHTN-R ad AHTN with the two types of HTNs obtaied over 100 games agaist each of the 8 algorithms, where the CPU time is 100 ms for map M3 (16 16 tiles). The playout time is 100 cycles. Table 1. The percetage of extra time required for repairig failed tasks ad savig alterative plas relative to the total time for decisio processig. The games were betwee AHTN-R-LL ad the 8 algorithms for the three map sizes (M1 is 8 8 tiles, M2 is tiles, ad M3 is tiles). AI Player M1 M2 M3 Radombiased LightRush HeavyRush UCT AHTN-R-LL AHTN-R-F AHTN-LL AHTN-F Table 2. The percetage of extra time required for repairig failed tasks ad savig alterative plas relative to the total time for decisio processig. The games were betwee AHTN-R-F ad the 8 algorithms for the three map sizes. AI Player M1 M2 M3 Radombiased LightRush HeavyRush UCT AHTN-R-LL AHTN-R-F AHTN-LL AHTN-F Average Failed Task Repair Rate for the Three Maps The average repair rates of AHTN-R agaist the eight algorithms over 100 games for the three maps are show i Tables 3 ad 4. We ca see that AHTN-R-F has a higher repair rate tha AHTN- R-LL agaist all AI players for all three maps. It is the result of the differet levels of domai kowledge used by AHTN-R-LL ad AHTN-R-F, where the poor domai kowledge used by AHTN-R-LL was ot able to provide good alterative plas for task repair. Here, whe a player attempted to repair a failed task, o alterative plas were available due to a lack of uits. A greater umber of alterative plas with greater differeces ca icrease the repair rate. The improved

CHAPTER 5 A NEAR-LOSSLESS RUN-LENGTH CODER

CHAPTER 5 A NEAR-LOSSLESS RUN-LENGTH CODER 95 CHAPTER 5 A NEAR-LOSSLESS RUN-LENGTH CODER 5.1 GENERAL Ru-legth codig is a lossless image compressio techique, which produces modest compressio ratios. Oe way of icreasig the compressio ratio of a ru-legth

More information

Application of Improved Genetic Algorithm to Two-side Assembly Line Balancing

Application of Improved Genetic Algorithm to Two-side Assembly Line Balancing 206 3 rd Iteratioal Coferece o Mechaical, Idustrial, ad Maufacturig Egieerig (MIME 206) ISBN: 978--60595-33-7 Applicatio of Improved Geetic Algorithm to Two-side Assembly Lie Balacig Ximi Zhag, Qia Wag,

More information

APPLICATION NOTE UNDERSTANDING EFFECTIVE BITS

APPLICATION NOTE UNDERSTANDING EFFECTIVE BITS APPLICATION NOTE AN95091 INTRODUCTION UNDERSTANDING EFFECTIVE BITS Toy Girard, Sigatec, Desig ad Applicatios Egieer Oe criteria ofte used to evaluate a Aalog to Digital Coverter (ADC) or data acquisitio

More information

Compound Controller for DC Motor Servo System Based on Inner-Loop Extended State Observer

Compound Controller for DC Motor Servo System Based on Inner-Loop Extended State Observer BULGARIAN ACADEMY OF SCIENCES CYBERNETICS AND INFORMATION TECHNOLOGIES Volume 6, No 5 Special Issue o Applicatio of Advaced Computig ad Simulatio i Iformatio Systems Sofia 06 Prit ISSN: 3-970; Olie ISSN:

More information

Logarithms APPENDIX IV. 265 Appendix

Logarithms APPENDIX IV. 265 Appendix APPENDIX IV Logarithms Sometimes, a umerical expressio may ivolve multiplicatio, divisio or ratioal powers of large umbers. For such calculatios, logarithms are very useful. They help us i makig difficult

More information

x y z HD(x, y) + HD(y, z) HD(x, z)

x y z HD(x, y) + HD(y, z) HD(x, z) Massachusetts Istitute of Techology Departmet of Electrical Egieerig ad Computer Sciece 6.02 Solutios to Chapter 5 Updated: February 16, 2012 Please sed iformatio about errors or omissios to hari; questios

More information

A SELECTIVE POINTER FORWARDING STRATEGY FOR LOCATION TRACKING IN PERSONAL COMMUNICATION SYSTEMS

A SELECTIVE POINTER FORWARDING STRATEGY FOR LOCATION TRACKING IN PERSONAL COMMUNICATION SYSTEMS A SELETIVE POINTE FOWADING STATEGY FO LOATION TAKING IN PESONAL OUNIATION SYSTES Seo G. hag ad hae Y. Lee Departmet of Idustrial Egieerig, KAIST 373-, Kusug-Dog, Taejo, Korea, 305-70 cylee@heuristic.kaist.ac.kr

More information

Permutation Enumeration

Permutation Enumeration RMT 2012 Power Roud Rubric February 18, 2012 Permutatio Eumeratio 1 (a List all permutatios of {1, 2, 3} (b Give a expressio for the umber of permutatios of {1, 2, 3,, } i terms of Compute the umber for

More information

Intermediate Information Structures

Intermediate Information Structures Modified from Maria s lectures CPSC 335 Itermediate Iformatio Structures LECTURE 11 Compressio ad Huffma Codig Jo Roke Computer Sciece Uiversity of Calgary Caada Lecture Overview Codes ad Optimal Codes

More information

7. Counting Measure. Definitions and Basic Properties

7. Counting Measure. Definitions and Basic Properties Virtual Laboratories > 0. Foudatios > 1 2 3 4 5 6 7 8 9 7. Coutig Measure Defiitios ad Basic Properties Suppose that S is a fiite set. If A S the the cardiality of A is the umber of elemets i A, ad is

More information

Roberto s Notes on Infinite Series Chapter 1: Series Section 2. Infinite series

Roberto s Notes on Infinite Series Chapter 1: Series Section 2. Infinite series Roberto s Notes o Ifiite Series Chapter : Series Sectio Ifiite series What you eed to ow already: What sequeces are. Basic termiology ad otatio for sequeces. What you ca lear here: What a ifiite series

More information

Fingerprint Classification Based on Directional Image Constructed Using Wavelet Transform Domains

Fingerprint Classification Based on Directional Image Constructed Using Wavelet Transform Domains 7 Figerprit Classificatio Based o Directioal Image Costructed Usig Wavelet Trasform Domais Musa Mohd Mokji, Syed Abd. Rahma Syed Abu Bakar, Zuwairie Ibrahim 3 Departmet of Microelectroic ad Computer Egieerig

More information

Radar emitter recognition method based on AdaBoost and decision tree Tang Xiaojing1, a, Chen Weigao1 and Zhu Weigang1 1

Radar emitter recognition method based on AdaBoost and decision tree Tang Xiaojing1, a, Chen Weigao1 and Zhu Weigang1 1 Advaces i Egieerig Research, volume 8 d Iteratioal Coferece o Automatio, Mechaical Cotrol ad Computatioal Egieerig (AMCCE 7) Radar emitter recogitio method based o AdaBoost ad decisio tree Tag Xiaojig,

More information

COMPRESSION OF TRANSMULTIPLEXED ACOUSTIC SIGNALS

COMPRESSION OF TRANSMULTIPLEXED ACOUSTIC SIGNALS COMPRESSION OF TRANSMULTIPLEXED ACOUSTIC SIGNALS Mariusz Ziółko, Przemysław Sypka ad Bartosz Ziółko Departmet of Electroics, AGH Uiversity of Sciece ad Techology, al. Mickiewicza 3, 3-59 Kraków, Polad,

More information

Ch 9 Sequences, Series, and Probability

Ch 9 Sequences, Series, and Probability Ch 9 Sequeces, Series, ad Probability Have you ever bee to a casio ad played blackjack? It is the oly game i the casio that you ca wi based o the Law of large umbers. I the early 1990s a group of math

More information

Unit 5: Estimating with Confidence

Unit 5: Estimating with Confidence Uit 5: Estimatig with Cofidece Sectio 8.2 The Practice of Statistics, 4 th editio For AP* STARNES, YATES, MOORE Uit 5 Estimatig with Cofidece 8.1 8.2 8.3 Cofidece Itervals: The Basics Estimatig a Populatio

More information

X-Bar and S-Squared Charts

X-Bar and S-Squared Charts STATGRAPHICS Rev. 7/4/009 X-Bar ad S-Squared Charts Summary The X-Bar ad S-Squared Charts procedure creates cotrol charts for a sigle umeric variable where the data have bee collected i subgroups. It creates

More information

Novel pseudo random number generation using variant logic framework

Novel pseudo random number generation using variant logic framework Edith Cowa Uiversity Research Olie Iteratioal Cyber Resiliece coferece Cofereces, Symposia ad Campus Evets 011 Novel pseudo radom umber geeratio usig variat logic framework Jeffrey Zheg Yua Uiversity,

More information

}, how many different strings of length n 1 exist? }, how many different strings of length n 2 exist that contain at least one a 1

}, how many different strings of length n 1 exist? }, how many different strings of length n 2 exist that contain at least one a 1 1. [5] Give sets A ad B, each of cardiality 1, how may fuctios map A i a oe-tooe fashio oto B? 2. [5] a. Give the set of r symbols { a 1, a 2,..., a r }, how may differet strigs of legth 1 exist? [5]b.

More information

Counting on r-fibonacci Numbers

Counting on r-fibonacci Numbers Claremot Colleges Scholarship @ Claremot All HMC Faculty Publicatios ad Research HMC Faculty Scholarship 5-1-2015 Coutig o r-fiboacci Numbers Arthur Bejami Harvey Mudd College Curtis Heberle Harvey Mudd

More information

Implementation of Fuzzy Multiple Objective Decision Making Algorithm in a Heterogeneous Mobile Environment

Implementation of Fuzzy Multiple Objective Decision Making Algorithm in a Heterogeneous Mobile Environment Implemetatio of Fuzzy Multiple Objective Decisio Makig Algorithm i a Heterogeeous Mobile Eviromet P.M.L. ha, Y.F. Hu, R.E. Sheriff, Departmet of Electroics ad Telecommuicatios Departmet of yberetics, Iteret

More information

A New Space-Repetition Code Based on One Bit Feedback Compared to Alamouti Space-Time Code

A New Space-Repetition Code Based on One Bit Feedback Compared to Alamouti Space-Time Code Proceedigs of the 4th WSEAS It. Coferece o Electromagetics, Wireless ad Optical Commuicatios, Veice, Italy, November 0-, 006 107 A New Space-Repetitio Code Based o Oe Bit Feedback Compared to Alamouti

More information

Analysis of SDR GNSS Using MATLAB

Analysis of SDR GNSS Using MATLAB Iteratioal Joural of Computer Techology ad Electroics Egieerig (IJCTEE) Volume 5, Issue 3, Jue 2015 Aalysis of SDR GNSS Usig MATLAB Abstract This paper explais a software defied radio global avigatio satellite

More information

Data Acquisition System for Electric Vehicle s Driving Motor Test Bench Based on VC++ *

Data Acquisition System for Electric Vehicle s Driving Motor Test Bench Based on VC++ * Available olie at www.sciecedirect.com Physics Procedia 33 (0 ) 75 73 0 Iteratioal Coferece o Medical Physics ad Biomedical Egieerig Data Acquisitio System for Electric Vehicle s Drivig Motor Test Bech

More information

202 Chapter 9 n Go Bot. Hint

202 Chapter 9 n Go Bot. Hint Chapter 9 Go Bot Now it s time to put everythig you have leared so far i this book to good use. I this chapter you will lear how to create your first robotic project, the Go Bot, a four-wheeled robot.

More information

4. INTERSYMBOL INTERFERENCE

4. INTERSYMBOL INTERFERENCE DATA COMMUNICATIONS 59 4. INTERSYMBOL INTERFERENCE 4.1 OBJECT The effects of restricted badwidth i basebad data trasmissio will be studied. Measuremets relative to itersymbol iterferece, usig the eye patter

More information

PROJECT #2 GENERIC ROBOT SIMULATOR

PROJECT #2 GENERIC ROBOT SIMULATOR Uiversity of Missouri-Columbia Departmet of Electrical ad Computer Egieerig ECE 7330 Itroductio to Mechatroics ad Robotic Visio Fall, 2010 PROJECT #2 GENERIC ROBOT SIMULATOR Luis Alberto Rivera Estrada

More information

A New Basic Unit for Cascaded Multilevel Inverters with the Capability of Reducing the Number of Switches

A New Basic Unit for Cascaded Multilevel Inverters with the Capability of Reducing the Number of Switches Joural of Power Electroics, ol, o, pp 67-677, July 67 JPE --6 http://dxdoiorg/6/jpe67 I(Prit: 98-9 / I(Olie: 9-78 A ew Basic Uit for Cascaded Multi Iverters with the Capability of Reducig the umber of

More information

Performance Analysis of Channel Switching with Various Bandwidths in Cognitive Radio

Performance Analysis of Channel Switching with Various Bandwidths in Cognitive Radio Performace Aalysis of Chael Switchig with Various Badwidths i Cogitive Radio Po-Hao Chag, Keg-Fu Chag, Yu-Che Che, ad Li-Kai Ye Departmet of Electrical Egieerig, Natioal Dog Hwa Uiversity, 1,Sec.2, Da-Hsueh

More information

Problem of calculating time delay between pulse arrivals

Problem of calculating time delay between pulse arrivals America Joural of Egieerig Research (AJER) 5 America Joural of Egieerig Research (AJER) e-issn: 3-847 p-issn : 3-936 Volume-4, Issue-4, pp-3-4 www.ajer.org Research Paper Problem of calculatig time delay

More information

Hybrid BIST Optimization for Core-based Systems with Test Pattern Broadcasting

Hybrid BIST Optimization for Core-based Systems with Test Pattern Broadcasting Hybrid BIST Optimizatio for Core-based Systems with Test Patter Broadcastig Raimud Ubar, Masim Jeihhi Departmet of Computer Egieerig Talli Techical Uiversity, Estoia {raiub, masim}@pld.ttu.ee Gert Jerva,

More information

High Speed Area Efficient Modulo 2 1

High Speed Area Efficient Modulo 2 1 High Speed Area Efficiet Modulo 2 1 1-Soali Sigh (PG Scholar VLSI, RKDF Ist Bhopal M.P) 2- Mr. Maish Trivedi (HOD EC Departmet, RKDF Ist Bhopal M.P) Adder Abstract Modular adder is oe of the key compoets

More information

Data Mining of Bayesian Networks to Select Fusion Nodes from Wireless Sensor Networks

Data Mining of Bayesian Networks to Select Fusion Nodes from Wireless Sensor Networks www.ijcsi.org http://dx.doi.org/10.20943/01201604.1115 11 Data Miig of Bayesia Networks to Select Fusio Nodes from Wireless Networks Yee Mig Che 1 Chi-Shu Hsueh 2 Chu-Kai Wag 3 1,3 Departmet of Idustrial

More information

Technical Explanation for Counters

Technical Explanation for Counters Techical Explaatio for ers CSM_er_TG_E Itroductio What Is a er? A er is a device that couts the umber of objects or the umber of operatios. It is called a er because it couts the umber of ON/OFF sigals

More information

The Firing Dispersion of Bullet Test Sample Analysis

The Firing Dispersion of Bullet Test Sample Analysis Iteratioal Joural of Materials, Mechaics ad Maufacturig, Vol., No., Ma 5 The Firig Dispersio of Bullet Test Sample Aalsis Youliag Xu, Jubi Zhag, Li Ma, ad Yoghai Sha Udisputed, this approach does reduce

More information

CS 201: Adversary arguments. This handout presents two lower bounds for selection problems using adversary arguments ëknu73,

CS 201: Adversary arguments. This handout presents two lower bounds for selection problems using adversary arguments ëknu73, CS 01 Schlag Jauary 6, 1999 Witer `99 CS 01: Adversary argumets This hadout presets two lower bouds for selectio problems usig adversary argumets ëku73, HS78, FG76ë. I these proofs a imagiary adversary

More information

On Parity based Divide and Conquer Recursive Functions

On Parity based Divide and Conquer Recursive Functions O Parity based Divide ad Coquer Recursive Fuctios Sug-Hyu Cha Abstract The parity based divide ad coquer recursio trees are itroduced where the sizes of the tree do ot grow mootoically as grows. These

More information

Design of FPGA- Based SPWM Single Phase Full-Bridge Inverter

Design of FPGA- Based SPWM Single Phase Full-Bridge Inverter Desig of FPGA- Based SPWM Sigle Phase Full-Bridge Iverter Afarulrazi Abu Bakar 1, *,Md Zarafi Ahmad 1 ad Farrah Salwai Abdullah 1 1 Faculty of Electrical ad Electroic Egieerig, UTHM *Email:afarul@uthm.edu.my

More information

Subject Record (MARC21 format)

Subject Record (MARC21 format) TAG FIELD AME FIELD AME Subject Record (MARC21 format) DESCRIPTIO EXAMPLE OTE Record 0-4 Logical Record Legth Legth of the record. 01890 Total umber of characters i the record; icludig the record termiator

More information

SHORT-TERM TRAVEL TIME PREDICTION USING A NEURAL NETWORK

SHORT-TERM TRAVEL TIME PREDICTION USING A NEURAL NETWORK SHORT-TERM TRAVEL TIME PREDICTION USING A NEURAL NETWORK Giovai Huiske ad Eric va Berkum Dept. of Civil Egieerig - Uiversity of Twete - 7500 AE Eschede - The Netherlads E-mail: g.huiske@ctw.utwete.l ad

More information

13 Legislative Bargaining

13 Legislative Bargaining 1 Legislative Bargaiig Oe of the most popular legislative models is a model due to Baro & Ferejoh (1989). The model has bee used i applicatios where the role of committees have bee studies, how the legislative

More information

Procedia - Social and Behavioral Sciences 128 ( 2014 ) EPC-TKS 2013

Procedia - Social and Behavioral Sciences 128 ( 2014 ) EPC-TKS 2013 Available olie at www.sciecedirect.com ScieceDirect Procedia - Social ad Behavioral Scieces 18 ( 014 ) 399 405 EPC-TKS 013 Iductive derivatio of formulae by a computer Sava Grozdev a *, Veseli Nekov b

More information

Single Bit DACs in a Nutshell. Part I DAC Basics

Single Bit DACs in a Nutshell. Part I DAC Basics Sigle Bit DACs i a Nutshell Part I DAC Basics By Dave Va Ess, Pricipal Applicatio Egieer, Cypress Semicoductor May embedded applicatios require geeratig aalog outputs uder digital cotrol. It may be a DC

More information

Test Time Minimization for Hybrid BIST with Test Pattern Broadcasting

Test Time Minimization for Hybrid BIST with Test Pattern Broadcasting Test Time Miimizatio for Hybrid BIST with Test Patter Broadcastig Raimud Ubar, Maksim Jeihhi Departmet of Computer Egieerig Talli Techical Uiversity EE-126 18 Talli, Estoia {raiub, maksim}@pld.ttu.ee Gert

More information

Slides copyright 1996, 2001, 2005, 2009 by Roger S. Pressman. For non-profit educational use only

Slides copyright 1996, 2001, 2005, 2009 by Roger S. Pressman. For non-profit educational use only Chapter 7 Requiremets Modelig: Flow, Behavior, Patters, ad WebApps Slide Set to accompay Software Egieerig: A Practitioer s Approach, 7/e by Roger S. Pressma Slides copyright 1996, 2001, 2005, 2009 by

More information

ELEC 350 Electronics I Fall 2014

ELEC 350 Electronics I Fall 2014 ELEC 350 Electroics I Fall 04 Fial Exam Geeral Iformatio Rough breakdow of topic coverage: 0-5% JT fudametals ad regios of operatio 0-40% MOSFET fudametals biasig ad small-sigal modelig 0-5% iodes (p-juctio

More information

H2 Mathematics Pure Mathematics Section A Comprehensive Checklist of Concepts and Skills by Mr Wee Wen Shih. Visit: wenshih.wordpress.

H2 Mathematics Pure Mathematics Section A Comprehensive Checklist of Concepts and Skills by Mr Wee Wen Shih. Visit: wenshih.wordpress. H2 Mathematics Pure Mathematics Sectio A Comprehesive Checklist of Cocepts ad Skills by Mr Wee We Shih Visit: weshih.wordpress.com Updated: Ja 2010 Syllabus topic 1: Fuctios ad graphs 1.1 Checklist o Fuctios

More information

A study on the efficient compression algorithm of the voice/data integrated multiplexer

A study on the efficient compression algorithm of the voice/data integrated multiplexer A study o the efficiet compressio algorithm of the voice/data itegrated multiplexer Gyou-Yo CHO' ad Dog-Ho CHO' * Dept. of Computer Egieerig. KyiigHee Uiv. Kiheugup Yogiku Kyuggido, KOREA 449-71 PHONE

More information

An Adaptive Image Denoising Method based on Thresholding

An Adaptive Image Denoising Method based on Thresholding A Adaptive Image Deoisig Method based o Thresholdig HARI OM AND MANTOSH BISWAS Departmet of Computer Sciece & Egieerig Idia School of Mies, Dhabad Jharkad-86004 INDIA {hariom4idia, matoshb}@gmail.com Abstract

More information

A Novel Three Value Logic for Computing Purposes

A Novel Three Value Logic for Computing Purposes Iteratioal Joural o Iormatio ad Electroics Egieerig, Vol. 3, No. 4, July 23 A Novel Three Value Logic or Computig Purposes Ali Soltai ad Saeed Mohammadi Abstract The aim o this article is to suggest a

More information

INCREASE OF STRAIN GAGE OUTPUT VOLTAGE SIGNALS ACCURACY USING VIRTUAL INSTRUMENT WITH HARMONIC EXCITATION

INCREASE OF STRAIN GAGE OUTPUT VOLTAGE SIGNALS ACCURACY USING VIRTUAL INSTRUMENT WITH HARMONIC EXCITATION XIX IMEKO World Cogress Fudametal ad Applied Metrology September 6, 9, Lisbo, Portugal INCREASE OF STRAIN GAGE OUTPUT VOLTAGE SIGNALS ACCURACY USING VIRTUAL INSTRUMENT WITH HARMONIC EXCITATION Dalibor

More information

Zonerich AB-T88. MINI Thermal Printer COMMAND SPECIFICATION. Zonerich Computer Equipments Co.,Ltd MANUAL REVISION EN 1.

Zonerich AB-T88. MINI Thermal Printer COMMAND SPECIFICATION. Zonerich Computer Equipments Co.,Ltd  MANUAL REVISION EN 1. Zoerich AB-T88 MINI Thermal Priter COMMAND SPECIFICATION MANUAL REVISION EN. Zoerich Computer Equipmets Co.,Ltd http://www.zoerich.com Commad List Prit ad lie feed Prit ad carriage retur Trasmissio real-time

More information

Optimal Arrangement of Buoys Observable by Means of Radar

Optimal Arrangement of Buoys Observable by Means of Radar Optimal Arragemet of Buoys Observable by Meas of Radar TOMASZ PRACZYK Istitute of Naval Weapo ad Computer Sciece Polish Naval Academy Śmidowicza 69, 8-03 Gdyia POLAND t.praczy@amw.gdyia.pl Abstract: -

More information

General Model :Algorithms in the Real World. Applications. Block Codes

General Model :Algorithms in the Real World. Applications. Block Codes Geeral Model 5-853:Algorithms i the Real World Error Correctig Codes I Overview Hammig Codes Liear Codes 5-853 Page message (m) coder codeword (c) oisy chael decoder codeword (c ) message or error Errors

More information

Combinatorics. Chapter Permutations. Reading questions. Counting Problems. Counting Technique: The Product Rule

Combinatorics. Chapter Permutations. Reading questions. Counting Problems. Counting Technique: The Product Rule Chapter 3 Combiatorics 3.1 Permutatios Readig questios 1. Defie what a permutatio is i your ow words. 2. What is a fixed poit i a permutatio? 3. What do we assume about mutual disjoitedess whe creatig

More information

Using Color Histograms to Recognize People in Real Time Visual Surveillance

Using Color Histograms to Recognize People in Real Time Visual Surveillance Usig Color Histograms to Recogize People i Real Time Visual Surveillace DANIEL WOJTASZEK, ROBERT LAGANIERE S.I.T.E. Uiversity of Ottawa, Ottawa, Otario CANADA daielw@site.uottawa.ca, lagaier@site.uottawa.ca

More information

PERMUTATIONS AND COMBINATIONS

PERMUTATIONS AND COMBINATIONS www.sakshieducatio.com PERMUTATIONS AND COMBINATIONS OBJECTIVE PROBLEMS. There are parcels ad 5 post-offices. I how may differet ways the registratio of parcel ca be made 5 (a) 0 (b) 5 (c) 5 (d) 5. I how

More information

SELECTION AND CONNECTION OF SPRING APPLIED FAILSAFE AND PERMENANT MAGNET BRAKES

SELECTION AND CONNECTION OF SPRING APPLIED FAILSAFE AND PERMENANT MAGNET BRAKES Ck85/06/ 70 Samatha Str SELECTION AND CONNECTION OF SPRING APPLIED FAILSAFE AND PERMENANT MAGNET BRAKES. OPERATING CONDITIONS. Normal Operatig Coditios The ambiet temperature must ot exceed 40 C ad its

More information

1. How many possible ways are there to form five-letter words using only the letters A H? How many such words consist of five distinct letters?

1. How many possible ways are there to form five-letter words using only the letters A H? How many such words consist of five distinct letters? COMBINATORICS EXERCISES Stepha Wager 1. How may possible ways are there to form five-letter words usig oly the letters A H? How may such words cosist of five distict letters? 2. How may differet umber

More information

BOTTLENECK BRANCH MARKING FOR NOISE CONSOLIDATION

BOTTLENECK BRANCH MARKING FOR NOISE CONSOLIDATION BOTTLENECK BRANCH MARKING FOR NOISE CONSOLIDATION IN MULTICAST NETWORKS Jordi Ros, Wei K. Tsai ad Mahadeve Iyer Departmet of Electrical ad Computer Egieerig Uiversity of Califoria, Irvie, CA 92697 {jros,

More information

AkinwaJe, A.T., IbharaJu, F.T. and Arogundade, 0.1'. Department of Computer Sciences University of Agriculture, Abeokuta, Nigeria

AkinwaJe, A.T., IbharaJu, F.T. and Arogundade, 0.1'. Department of Computer Sciences University of Agriculture, Abeokuta, Nigeria COMPARATIVE ANALYSIS OF ARTIFICIAL NEURAL NETWORK'S BACK PROPAGATION ALGORITHM TO STATISTICAL LEAST SQURE METHOD IN SECURITY PREDICTION USING NIGERIAN STOCK EXCHANGE MARKET AkiwaJe, A.T., IbharaJu, F.T.

More information

SIDELOBE SUPPRESSION IN OFDM SYSTEMS

SIDELOBE SUPPRESSION IN OFDM SYSTEMS SIDELOBE SUPPRESSION IN OFDM SYSTEMS Iva Cosovic Germa Aerospace Ceter (DLR), Ist. of Commuicatios ad Navigatio Oberpfaffehofe, 82234 Wesslig, Germay iva.cosovic@dlr.de Vijayasarathi Jaardhaam Muich Uiversity

More information

The Detection of Abrupt Changes in Fatigue Data by Using Cumulative Sum (CUSUM) Method

The Detection of Abrupt Changes in Fatigue Data by Using Cumulative Sum (CUSUM) Method Proceedigs of the th WSEAS Iteratioal Coferece o APPLIED ad THEORETICAL MECHANICS (MECHANICS '8) The Detectio of Abrupt Chages i Fatigue Data by Usig Cumulative Sum (CUSUM) Method Z. M. NOPIAH, M.N.BAHARIN,

More information

High-Order CCII-Based Mixed-Mode Universal Filter

High-Order CCII-Based Mixed-Mode Universal Filter High-Order CCII-Based Mixed-Mode Uiversal Filter Che-Nog Lee Departmet of Computer ad Commuicatio Egieerig, Taipei Chegshih Uiversity of Sciece ad Techology, Taipei, Taiwa, R. O. C. Abstract This paper

More information

15 min/ Fall in New England

15 min/ Fall in New England 5 mi/ 0+ -4 Fall i New Eglad Before witer makes its appearace, a particularly warm fall bathes the forest i a golde shimmer. Durig the Idia Summer, New Eglad blossoms oe last time. Treetops are ablaze

More information

A SIMPLE METHOD OF GOAL DIRECTED LOSSY SYNTHESIS AND NETWORK OPTIMIZATION

A SIMPLE METHOD OF GOAL DIRECTED LOSSY SYNTHESIS AND NETWORK OPTIMIZATION A SIMPL MOD OF GOAL DIRCD LOSSY SYNSIS AND NWORK OPIMIZAION Karel ájek a), ratislav Michal, Jiří Sedláček a) Uiversity of Defece, Kouicova 65,63 00 Bro,Czech Republic, Bro Uiversity of echology, Kolejí

More information

ELEC 204 Digital Systems Design

ELEC 204 Digital Systems Design Fall 2013, Koç Uiversity ELEC 204 Digital Systems Desig Egi Erzi College of Egieerig Koç Uiversity,Istabul,Turkey eerzi@ku.edu.tr KU College of Egieerig Elec 204: Digital Systems Desig 1 Today: Datapaths

More information

Decentralized prioritized planning in large multirobot teams

Decentralized prioritized planning in large multirobot teams Decetralized prioritized plaig i large multirobot teams Prasaa Velagapudi, Studet Member, IEEE, Katia Sycara, Fellow, IEEE, ad Paul Scerri Abstract I this paper, we address the problem of distributed motio

More information

Lecture 4: Frequency Reuse Concepts

Lecture 4: Frequency Reuse Concepts EE 499: Wireless & Mobile Commuicatios (8) Lecture 4: Frequecy euse Cocepts Distace betwee Co-Chael Cell Ceters Kowig the relatio betwee,, ad, we ca easily fid distace betwee the ceter poits of two co

More information

AC : USING ELLIPTIC INTEGRALS AND FUNCTIONS TO STUDY LARGE-AMPLITUDE OSCILLATIONS OF A PENDULUM

AC : USING ELLIPTIC INTEGRALS AND FUNCTIONS TO STUDY LARGE-AMPLITUDE OSCILLATIONS OF A PENDULUM AC 007-7: USING ELLIPTIC INTEGRALS AND FUNCTIONS TO STUDY LARGE-AMPLITUDE OSCILLATIONS OF A PENDULUM Josue Njock-Libii, Idiaa Uiversity-Purdue Uiversity-Fort Waye Josué Njock Libii is Associate Professor

More information

I n t r o d u c t i o n t o P h o t o g r a p h y ( 1 0 )

I n t r o d u c t i o n t o P h o t o g r a p h y ( 1 0 ) 9 1 5 7 I t r o d u c t i o t o P h o t o g r a p h y ( 1 0 ) 20S/20E/20M A Photography Course 9 1 5 7 : I t r o d u c t i o t o P h o t o g r a p h y ( 1 0 ) 2 0 S / 2 0 E / 2 0 M Course Descriptio This

More information

Measurement of Equivalent Input Distortion AN 20

Measurement of Equivalent Input Distortion AN 20 Measuremet of Equivalet Iput Distortio AN 2 Applicatio Note to the R&D SYSTEM Traditioal measuremets of harmoic distortio performed o loudspeakers reveal ot oly the symptoms of the oliearities but also

More information

Pulse-echo Ultrasonic NDE of Adhesive Bonds in Automotive Assembly

Pulse-echo Ultrasonic NDE of Adhesive Bonds in Automotive Assembly ECNDT 6 - Poster 7 Pulse-echo Ultrasoic NDE of Adhesive Bods i Automotive Assembly Roma Gr. MAEV, Sergey TITOV, Uiversity of Widsor, Widsor, Caada Abstract. Recetly, adhesive bodig techology has begu to

More information

Efficient Feedback-Based Scheduling Policies for Chunked Network Codes over Networks with Loss and Delay

Efficient Feedback-Based Scheduling Policies for Chunked Network Codes over Networks with Loss and Delay Efficiet Feedback-Based Schedulig Policies for Chuked Network Codes over Networks with Loss ad Delay Aoosheh Heidarzadeh ad Amir H. Baihashemi Departmet of Systems ad Computer Egieerig, Carleto Uiversity,

More information

A SIMPLE METHOD OF GOAL DIRECTED LOSSY SYNTHESIS AND NETWORK OPTIMIZATION

A SIMPLE METHOD OF GOAL DIRECTED LOSSY SYNTHESIS AND NETWORK OPTIMIZATION 49 A SIMPL MOD OF GOAL DIRCD LOSSY SYNSIS AND NWORK OPIMIZAION K. ájek a),. Michal b), J. Sedláek b), M. Steibauer b) a) Uiversity of Defece, Kouicova 65,63 00 ro,czech Republic, b) ro Uiversity of echology,

More information

Design of FPGA Based SPWM Single Phase Inverter

Design of FPGA Based SPWM Single Phase Inverter Proceedigs of MUCEET2009 Malaysia Techical Uiversities Coferece o Egieerig ad Techology Jue 20-22, 2009, MS Garde,Kuata, Pahag, Malaysia MUCEET2009 Desig of FPGA Based SPWM Sigle Phase Iverter Afarulrazi

More information

The Institute of Chartered Accountants of Sri Lanka

The Institute of Chartered Accountants of Sri Lanka The Istitute of Chartered Accoutats of Sri Laka Postgraduate Diploma i Busiess ad Fiace Quatitative Techiques for Busiess Hadout 02:Presetatio ad Aalysis of data Presetatio of Data The Stem ad Leaf Display

More information

PHY-MAC dialogue with Multi-Packet Reception

PHY-MAC dialogue with Multi-Packet Reception PHY-AC dialogue with ulti-packet Receptio arc Realp 1 ad Aa I. Pérez-Neira 1 CTTC-Cetre Tecològic de Telecomuicacios de Cataluya Edifici Nexus C/Gra Capità, - 0803-Barceloa (Cataluya-Spai) marc.realp@cttc.es

More information

arxiv: v2 [math.co] 15 Oct 2018

arxiv: v2 [math.co] 15 Oct 2018 THE 21 CARD TRICK AND IT GENERALIZATION DIBYAJYOTI DEB arxiv:1809.04072v2 [math.co] 15 Oct 2018 Abstract. The 21 card trick is well kow. It was recetly show i a episode of the popular YouTube chael Numberphile.

More information

PERMUTATION AND COMBINATION

PERMUTATION AND COMBINATION MPC 1 PERMUTATION AND COMBINATION Syllabus : Fudametal priciples of coutig; Permutatio as a arragemet ad combiatio as selectio, Meaig of P(, r) ad C(, r). Simple applicatios. Permutatios are arragemets

More information

Concurrent Fault Detection in Random Combinational Logic

Concurrent Fault Detection in Random Combinational Logic Cocurret Fault Detectio i Radom Combiatioal Logic Petros Drieas ad Yiorgos Makris Departmets of Computer Sciece ad Electrical Egieerig Yale Uiversity Abstract We discuss a o-itrusive methodology for cocurret

More information

lecture notes September 2, Sequential Choice

lecture notes September 2, Sequential Choice 18.310 lecture otes September 2, 2013 Sequetial Choice Lecturer: Michel Goemas 1 A game Cosider the followig game. I have 100 blak cards. I write dow 100 differet umbers o the cards; I ca choose ay umbers

More information

Cross-Layer Performance of a Distributed Real-Time MAC Protocol Supporting Variable Bit Rate Multiclass Services in WPANs

Cross-Layer Performance of a Distributed Real-Time MAC Protocol Supporting Variable Bit Rate Multiclass Services in WPANs Cross-Layer Performace of a Distributed Real-Time MAC Protocol Supportig Variable Bit Rate Multiclass Services i WPANs David Tug Chog Wog, Jo W. Ma, ad ee Chaig Chua 3 Istitute for Ifocomm Research, Heg

More information

Optimal Geolocation Updating for Location Aware Service Provisioning in Wireless Networks

Optimal Geolocation Updating for Location Aware Service Provisioning in Wireless Networks Optimal Geolocatio Updatig for Locatio Aware Service Provisioig i Wireless Networks Siri Tekiay Amer Catovic tekiay@adm.jit.edu axc4466@jit.edu New Jersey Istitute of Techology Uiversity Heights, Newark,

More information

A New Design of Log-Periodic Dipole Array (LPDA) Antenna

A New Design of Log-Periodic Dipole Array (LPDA) Antenna Joural of Commuicatio Egieerig, Vol., No., Ja.-Jue 0 67 A New Desig of Log-Periodic Dipole Array (LPDA) Atea Javad Ghalibafa, Seyed Mohammad Hashemi, ad Seyed Hassa Sedighy Departmet of Electrical Egieerig,

More information

8. Combinatorial Structures

8. Combinatorial Structures Virtual Laboratories > 0. Foudatios > 1 2 3 4 5 6 7 8 9 8. Combiatorial Structures The purpose of this sectio is to study several combiatorial structures that are of basic importace i probability. Permutatios

More information

Efficient Energy Consumption Scheduling: Towards Effective Load Leveling

Efficient Energy Consumption Scheduling: Towards Effective Load Leveling eergies Article Efficiet Eergy Cosumptio Schedulig: Towards Effective Load Levelig Yua Hog 1, *, Shegbi Wag 2 ad Ziyue Huag 3 1 Departmet of Iformatio Techology Maagemet, Uiversity at Albay, SUNY, 1400

More information

Analysis and Optimization Design of Snubber Cricuit for Isolated DC-DC Converters in DC Power Grid

Analysis and Optimization Design of Snubber Cricuit for Isolated DC-DC Converters in DC Power Grid Aalysis ad Optimizatio Desig of Subber Cricuit for Isolated DC-DC Coverters i DC Power Grid Koji Orikawa Nagaoka Uiversity of Techology Nagaoka, Japa orikawa@st.agaokaut.ac.jp Ju-ichi Itoh Nagaoka Uiversity

More information

Distributed Resource Management in Multi-hop Cognitive Radio Networks for Delay Sensitive Transmission

Distributed Resource Management in Multi-hop Cognitive Radio Networks for Delay Sensitive Transmission 1 Distributed Resource Maagemet i Multi-hop Cogitive Radio Networs for Delay Sesitive Trasmissio Hsie-Po Shiag ad Mihaela va der Schaar Departmet of Electrical Egieerig (EE), Uiversity of Califoria Los

More information

PRACTICAL FILTER DESIGN & IMPLEMENTATION LAB

PRACTICAL FILTER DESIGN & IMPLEMENTATION LAB 1 of 7 PRACTICAL FILTER DESIGN & IMPLEMENTATION LAB BEFORE YOU BEGIN PREREQUISITE LABS Itroductio to Oscilloscope Itroductio to Arbitrary/Fuctio Geerator EXPECTED KNOWLEDGE Uderstadig of LTI systems. Laplace

More information

Laboratory Exercise 3: Dynamic System Response Laboratory Handout AME 250: Fundamentals of Measurements and Data Analysis

Laboratory Exercise 3: Dynamic System Response Laboratory Handout AME 250: Fundamentals of Measurements and Data Analysis Laboratory Exercise 3: Dyamic System Respose Laboratory Hadout AME 50: Fudametals of Measuremets ad Data Aalysis Prepared by: Matthew Beigto Date exercises to be performed: Deliverables: Part I 1) Usig

More information

Information-Theoretic Analysis of an Energy Harvesting Communication System

Information-Theoretic Analysis of an Energy Harvesting Communication System Iformatio-Theoretic Aalysis of a Eergy Harvestig Commuicatio System Omur Ozel Seur Ulukus Departmet of Electrical ad Computer Egieerig Uiversity of Marylad, College Park, MD 074 omur@umd.edu ulukus@umd.edu

More information

ICM7213. One Second/One Minute Timebase Generator. Features. Description. Ordering Information. Pinout. August 1997

ICM7213. One Second/One Minute Timebase Generator. Features. Description. Ordering Information. Pinout. August 1997 August 997 Features Guarateed V Operatio Very Low Curret Cosumptio (Typ).... µa at V All Outputs TTL Compatible O Chip Oscillator Feedback Resistor Oscillator Requires Oly Exteral compoets: Fixed Capacitor,

More information

Estimation of reflection location by the correlation coefficient function

Estimation of reflection location by the correlation coefficient function Acoustics 8 Paris Estimatio of reflectio locatio by the correlatio coefficiet fuctio H. Shibayama a, T. Araya b, Y. Maabe b ad E. Oarura b a Shibaura Istitute of Techology, 3-7-5, Toyosu, Koto-u, 35-8548

More information

ON THE FUNDAMENTAL RELATIONSHIP BETWEEN THE ACHIEVABLE CAPACITY AND DELAY IN MOBILE WIRELESS NETWORKS

ON THE FUNDAMENTAL RELATIONSHIP BETWEEN THE ACHIEVABLE CAPACITY AND DELAY IN MOBILE WIRELESS NETWORKS Chapter ON THE FUNDAMENTAL RELATIONSHIP BETWEEN THE ACHIEVABLE CAPACITY AND DELAY IN MOBILE WIRELESS NETWORKS Xiaoju Li ad Ness B. Shroff School of Electrical ad Computer Egieerig, Purdue Uiversity West

More information

Density Slicing Reference Manual

Density Slicing Reference Manual Desity Slicig Referece Maual Improvisio, Viscout Cetre II, Uiversity of Warwick Sciece Park, Millbur Hill Road, Covetry. CV4 7HS Tel: 0044 (0) 24 7669 2229 Fax: 0044 (0) 24 7669 0091 e-mail: admi@improvisio.com

More information

THE LUCAS TRIANGLE RECOUNTED. Arthur T. Benjamin Dept. of Mathematics, Harvey Mudd College, Claremont, CA Introduction

THE LUCAS TRIANGLE RECOUNTED. Arthur T. Benjamin Dept. of Mathematics, Harvey Mudd College, Claremont, CA Introduction THE LUCAS TRIANLE RECOUNTED Arthur T Bejami Dept of Mathematics, Harvey Mudd College, Claremot, CA 91711 bejami@hmcedu 1 Itroductio I 2], Neville Robbis explores may properties of the Lucas triagle, a

More information

Experimental Noise Analysis of Reed Switch Sensor Signal under Environmental Vibration

Experimental Noise Analysis of Reed Switch Sensor Signal under Environmental Vibration Computer Techology ad Applicatio 7 (16) 96-1 doi: 1.1765/1934-733/16..4 D DAVID PUBLISHING Experimetal Noise Aalysis of Reed Switch Sesor Sigal uder Evirometal Vibratio Odgerel Ayurzaa 1 ad Hiesik Kim

More information

P h o t o g r a p h i c E q u i p m e n t ( 1 1 A )

P h o t o g r a p h i c E q u i p m e n t ( 1 1 A ) 9 1 5 8 P h o t o g r a p h i c E q u i p m e t ( 1 1 A ) 30S/30E/30M A Photography Course 9 1 5 8 : P h o t o g r a p h i c E q u i p m e t ( 1 1 A ) 3 0 S / 3 0 E / 3 0 M Course Descriptio This course

More information

Super J-MOS Low Power Loss Superjunction MOSFETs

Super J-MOS Low Power Loss Superjunction MOSFETs Low Power Loss Superjuctio MOSFETs Takahiro Tamura Mutsumi Sawada Takayuki Shimato ABSTRACT Fuji Electric has developed superjuctio MOSFETs with a optimized surface desig that delivers lower switchig.

More information