Read-only Turing machine: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
en>Helpful Pixie Bot
m ISBNs (Build KE)
 
en>Monkbot
 
Line 1: Line 1:
'''SP-DEVS''' abbreviating "Schedule-Preserving Discrete Event System Specification" is a formalism for modeling and analyzing discrete event systems in both simulation and verification ways. SP-DEVS also provides modular and hierarchical modeling features which have been inherited from the Classic [[DEVS]].
The most interesting feature of advance mobiles is games, which are not only technically sound, but capable of creating interest. Since Flash offers many advantages to developers as well as players, many games are designed using Macromedia Flash. Through mobile games development, by following right marketing tools you can earn great profit. Conclusion: Symbian games development is most chosen among the people because it is regarded as oldest platform for developing advanced 3d symbian games used by the customers all around. We are supported by around twenty plus android developers with great skill and exposure to advanced technologies. <br><br>The most interesting factor is that these games are provided for free download. Professional mobile game developers provide services like mobile game porting and mobile game testing, which is not simple to perform for novice people. It is the largest and most populous continent making people call its destinations. Also note the frequency of abusive language within the game as much as you can. As there is great rush and huge lumps of the games and you are unable to find and pick a game of your choice from there, you can hire outsourcing development company and can get desirable games at affordable prices. <br><br>Today, mobile devices offer an opportunity to relate our emotional and social life, which has its own set of pros and cons (of course). For more information about our services, please give us a call or send us email to call you back. This why, there are so many service providers which are facilitating their services in terms of offering cheap calling plans to Asia. Filled with innovation, fuelled by Steve Jobs passion, iphone has indeed many innovative and interesting applications to use and download. Short codes are usually numbers that are assigned to mobile operators of a particular location, which they use for brand campaigning and other purposes. <br><br>It is open source mobile operating system used to develop applications to help customers satisfy their requirements. It would work well with basically any type of property with a large cast of characters. These are advantages that are not enjoyed with traditional advertising methods. System Games that get in-app purchase options ripe. This virtual reality headset not only provides users with a 3D view of another world, but it does it all by relying on their smartphones. <br><br>Having a wider screen, such as on the Apple i - Pad, fixes this problem to a certain degree; but it still exists when your fingers are hanging over the screen. But people can read mobile SMS while traveling, dining, drinking or engaging in office matters. to be eligible to win something, to get constant updates etc. In the event you loved this short article and you would want to receive more information about [https://www.facebook.com/FlickShoot2Hack flick shoot 2 hack] kindly visit our own webpage. Ever since its commencement 5 ages ago, it continues to smudge the lines between computers and a mobile maneuver. Among variety of mobile games, Play Online Flash games are gaining popularity and fascinating players to a large extent.
 
== History ==
SP-DEVS has been designed to support verification analysis of its networks by guaranting to obtain a finite-vertex reachability graph of the original networks, which had been an open problem of DEVS formalism for roughly 30 years. To get such a reachability graph of its networks, SP-DEVS has been imposed the three restrictions:
# finiteness of event sets and state set,
# the lifespan of a state can be scheduled by a rational number or infinity, and
# preserving the internal schedule from any external events.
Thus, SP-DEVS is a sub-class of both [[DEVS]] and [[FD-DEVS]]. These three restrictions lead that SP-DEVS class is closed under coupling even though the number of states are finite. This property enables a finite-vertex graph-based verification for some qualitative properties and quantitative property, even with SP-DEVS coupled models.
 
==Crosswalk Controller Example==
;System Requirements[[File:crosswalk.svg|thumb|left|200px|Fig. 1. Crosswalk System]][[File:SP-DEVSController.svg|thumb|right|200px|Fig. 2. SP-DEVS model for Crosswalk Light Controller]]
Let's consider a crosswalk system. Since a red light (resp. don't-walk light) behaves the opposite way of a green light (resp. walk light), for simplicity, we consider just two lights: a green light (G) and a walk light (W); and one push button as shown in Fig. 1. We want to control two lights of G and W with a set of timing constraints.
 
To initialize two lights, it takes 0.5 seconds to turn G on and 0.5 seconds later, W gets off. Then,
every 30 seconds, there is a chance that G becomes off and W on if someone pushed the push button. For a safety reason, W becomes on two seconds after G got off. 26 seconds later, W gets off and then two seconds later G gets back on. These behaviors repeats.
 
;Controller Design
To build a controller for above requirements, we can consider one input event 'push-button' (abbreviated by ?p) and four output events 'green-on' (!g:1), 'green-off' (!g:0), 'walk-on' (!w:1) and 'walk-off (!w:0) which will be used as commands signals for the green light and the walk light. As a set of states of the controller, we considers 'booting-green' (BG), 'booting-walk' (BW), 'green-on' (G), 'green-to-red' (GR), 'red-on' (R), 'walk-on' (W), 'delay' (D). Let's design the state transitions as shown in Fig. 2. Initially, the controller starts at BG whose lifespan is 0.5 seconds. After the lifespan, it moves to BW state at this moment, it generates the 'green-on' event, too. After 0.5 seconds staying at BW, it moves to G state whose lifespan is 30 seconds. The controller can keep staying at G by looping G to G without generating any output event or can move to GR state when it receives the external input event ?p. But, the ''actual staying time'' at GR is the remaining time for looping at G. From GR, it moves to R state with generating an output event !g:0 and its R state last two seconds then it will move to W state with output event !w:1. 26 seconds later, it moves to D state with generating !w:0 and after staying 2 seconds at D, it moves back to G with output event !g:1.
 
== Atomic SP-DEVS ==
=== Formal Definition ===
The above controller for crosswalk lights can be modeled by an atomic SP-DEVS model. Formally, an atomic SP-DEVS is a 7-[[tuple]]
  <center><math> M=<X,Y,S,s_0, \tau, \delta_x, \delta_y> </math></center>
 
where
<blockquote>
* <math> X </math> is ''a finite set of input events'';
* <math> Y </math> is ''a finite set of output events'';
* <math> S </math> is ''a finite set of states'';
* <math> s_0 \in S </math> is ''the initial state'';
* <math> \tau: S \rightarrow \mathbb{Q}_{[0,\infty]} </math> is ''the time advanced function'' which defines the lifespan of a state where  <math> \mathbb{Q}_{[0,\infty]}</math> is the set of non-negative rational numbers plus infinity.
* <math> \delta_x: S \times X \rightarrow S</math> is ''the external transition function'' which defines how an input event changes a state of the system.
* <math> \delta_y: S \rightarrow Y^\phi \times S</math> is ''the output and internal transition function'' where <math> Y^\phi = Y \cup \{\phi\}</math> and <math>\phi \notin Y </math> denotes ''the silent event''. The output and internal transition function defines how a state generates an output event, at the same time, how the state changes internally.<ref><math> \delta_y </math> can be divided into two functions: <math>\lambda:  S \rightarrow Y^\phi</math> and <math>\delta_{int}:S \rightarrow S </math>as in [[SP-DEVS#References|[ZKP00]]].</ref>
</blockquote>
 
;Formal Representation of Crosswalk Controller
The above controller shown in Fig. 2 can be written as <math>M=<X,Y,S,s_0, \tau, \delta_x, \delta_y> </math> where <math>X</math>={?p}; <math>Y</math>={!g:0, !g:1, !w:0, !w:1}; <math>S</math>={BG, BW, G, GR, R, W, D}; <math>s_0</math>=BG, <math>\tau</math>(BG)=0.5,<math>\tau</math>(BW)=0.5, <math>\tau</math>(G)=30, <math>\tau</math>(GR)=30,<math>\tau</math>(R)=2, <math>\tau</math>(W)=26, <math>\tau</math>(D)=2; <math>\delta_x</math>(G,?p)=GR, <math>\delta_x</math>(s,?p)=s if s <math>\neq</math>G; <math>\delta_y</math>(BG)=(!g:1, BW), <math>\delta_y</math>(BW)=(!w:0, G),<math>\delta_y</math>(G)=(<math> \phi</math>, G), <math>\delta_y</math>(GR)=(!g:0, R), <math>\delta_y</math>(R)=(!w:1, W), <math>\delta_y</math>(W)=(!w:0, D), <math>\delta_y</math>(D)=(!g:1, G);
 
=== Behaviors of a SP-DEVS model ===
[[File:SPDEVS-Trajectory.JPG|thumb|left|400px|Fig. 3. Event Segment and its State Trajectory of SP-DEVS model]]
To captured the dynamics of an atomic SP-DEVS, we need to introduce two variables associated to time. One is the ''lifespan'', the other is the ''elapsed time'' since the last resetting. Let <math> t_s \in \mathbb{Q}_{[0,\infty]}</math> be the lifespan which is not continuously increasing but set by when a discrete event happens. Let <math> t_e \in [0, \infty] </math> denote the elapsed time which is continuously increasing over time if there is no resetting.
 
Fig.3. shows a state trajectory associated with an event segment of the SP-DEVS model shown in Fig. 2.
The top of Fig.3. shows an event trajectory in which the horizontal axis is a time axis so it shows an event occurs at a certain time, for example, !g:1 occurs at 0.5 and !w:0 at 1.0 time unit, and so on. The bottom of Fig. 3 shows the state trajectory associated with the above event segment in which the state <math>s \in S</math> is associated with its lifespan and its elapsed time in the form of <math> (s, t_s, t_e)</math>. For example, (G, 30, 11) denotes that the state is G, its lifespan is and the elapsed time is 11 time units. The line sgements of the buttom of Fig. 3 shows the time flow of the elapsed time which is the only one continuous variable in SP-DEVS.
One interesting feature of SF-DEVS might be the preservation of schedule the restriction (3) of SP-DEVS which is drawn at time 47 in Fig. 3. when the external event ?p happens. At this moment, even though the state can change from G to GR, the elapsed time does not change so the line segment is not broken at time 47 and <math> t_e </math> can grow up to <math> t_e </math> which is 30 in this example. Due to this preservation of the schedule from input events as well as the restriction of the time advance to the non-negative rational number (see restriction (2) above), the height of every saw can be a non-negative rational number or infinity (as shown in the bottom of Fig. 3.) in a SP-DEVS model.
 
; SP-DEVS is a sub-class of DEVS
A SP-DEVS model, <math>M=<X,Y,S,s_0,\tau,\delta_x, \delta_y> </math> is [[DEVS]] <math>\mathcal{M}=<X,Y,S',s_0',ta,\delta_{ext}, \delta_{int}, \lambda></math> where
* <math> X,Y </math> of <math> \mathcal{M} </math> are the same as those of <math> M </math>.
* <math> S'=\{(s,t_s): s \in S,t_s \in \mathbb{T}^\infty\}  </math>
* <math> s_0'=(s_0,\tau(s_0)) </math>
* Given a state <math> (s,t_s) \in S'</math>,  <math>ta(s,t_s) = t_s.</math>
* Given a state <math> (s,t_s) \in S'</math> and an input event <math> x \in X, \delta_{ext}(s, t_s, t_e, x) =  (s',t_s - t_e) \text{ if } \delta_x(s,x)=s'.
</math>
* Given a state <math> (s,t_s) \in S'</math>,  <math>\delta_{int}(s,t_s)=(s',\tau(s') </math> if <math>\delta_{y}(s)=(y,s').</math>
* Given a state <math> (s,t_s) \in S'</math>,  <math>\lambda(s,t_s)=y</math> if <math>\delta_{y}(s)=(y,s').</math>
 
== Advantages ==
* '''Applicability of Time-Line Abstraction'''
The property of non-negative rational-valued lifespans which are not changed by input events along with finite numbers of states and events guarantees that the behavior of SP-DEVS networks can be abstracted as an equivalent finite-vertex reachability graph by abstracting the infinitely-many values of the elaped times.
 
To abstract the infinitely-many cases of elapsed times for each components of SP-DEVS networks, a time-abstraction method, called the ''time-line abstraction'' has been introduced [[SP-DEVS#References|[Hwang05]]],[[SP-DEVS#References|[HCZF07]]] in which the orders and relative difference of schedules are preserved. By using the time-line abstraction technique, the behavior of any SP-DEVS network can be abstracted as a reachability graph whose numbers of vertices and edges are finite.
 
* '''Decidability of Safety'''
As a qualitative property, safety of a SP-DEVS network is decidable by (1) generating the finite-vertex reachability graph of the given network and (2) checking whether some bad states are reachable or not [[SP-DEVS#References|[Hwang05]]].
 
* '''Decidability of Liveness'''
As a qualitative property, liveness of a SP-DEVS network is decidable by (1) generating the finite-vertex reachability graph (RG) of the given network, (2) from RG, generating kernel [[directed acyclic graph]] (KDAG) in which a vertex is [[strongly connected component]], and (3) checking if a vertex of KDAG contains a state transition cycle which contains a set of liveness states[[SP-DEVS#References|[Hwang05]]].
 
* '''Decidability of Min/Max Processing Time Bounds'''
As a quantitative property, minimum and maximum processing time bounds from two events in SP-DEVS networks can be computed by (1) generating the finite-vertex reachability graph and (2.a) by finding the shortest paths for the minimum processing time bound and (2.b) by finding the longest paths (if available) for the maximum processing time bound [[SP-DEVS#References|[HCZF07]]].
 
== Disadvantages ==
* '''Less Expressiveness: OPNA problem'''
<!--  Commented out because image was deleted: [[File:FD-DEVS_TOASTER.JPG|thumb|right|300px|Fig. 3. (a) Two-Slot Toaster  (b) Coupled Diagram for Two-Slot Toaster]] -->
Let a total state <math> (s,t_s,t_e) </math> of a SP-DEVS model be ''passive'' if <math> t_s = \infty </math>; otherwise, it be ''active''.
 
One of known SP-DEVS's limitation is a phenomenon that "once an SP-DEVS model becomes passive, it never returns to become active (OPNA)". This phenomenon was found first at [[SP-DEVS#References|[Hwang 05b]]] although it was originally called ODNR ("once it dies, it never returns."). The reason why this one happens is because of the restriction (3) above in which no input event can change the schedule so the passive state can not be awaken into the active state.
 
For example, the toaster models drawn in Fig. 3(b) are not SP-DEVS because the total state associated with "idle" (I), is passive but it moves to an active state, "toast" (T) whose toating time is 20 seconds or 40 seconds. Actually, the model shown in Fig. 3(b) is [[FD-DEVS]].
 
== Tool ==
There is an open source library, called DEVS# at http://xsy-csharp.sourceforge.net/DEVSsharp/, that supports some algorithms for finding safyness and liveness as well as Min/Max processing time bounds.
 
== Footnotes ==
 
<references />
 
== References ==
* [Hwang05] M. H. Hwang, "Tutorial: Verification of Real-time System Based on Schedule-Preserved DEVS", Proceedings of 2005 DEVS Symposium, San Diego, Apr. 2-8, 2005, ISBN 1-56555-290-8 {{Please check ISBN|reason=Check digit (8) does not correspond to calculated figure.}} (Available at http://moonho.hwang.googlepages.com/publications)
* [Hwang05b] M. H. Hwang, "Generating Finite-State Global Behavior of Reconfigurable Automation Systems: DEVS Approach", ''Proceedings of 2005 IEEE-CASE'', Edmonton, Canada, Aug. 1-2, 2005 (Available at http://moonho.hwang.googlepages.com/publications)
* [HCZF07] M. H. Hwang, S.K. Cho, [[Bernard P. Zeigler|Bernard Zeigler]], and F. Lin, "Processing Time Bounds of Schedule-Preserving DEVS", ACIMS Technical Report, 2007, (Available at http://www.acims.arizona.edu and http://moonho.hwang.googlepages.com/publications)
*[Sedgewick02], R. Sedgewick, ''Algorithms in C++, Part 5 Graph Algorithm'', Addison Wesley, Boston, third edition
* [ZKP00] {{cite book|author = [[Bernard P. Zeigler|Bernard Zeigler]], Tag Gon Kim, Herbert Praehofer| year = 2000| title = Theory of Modeling and Simulation| publisher = Academic Press, New York  | isbn= 978-0-12-778455-7 |edition=second}}
 
[[Category:Automata theory]]

Latest revision as of 03:19, 24 July 2014

The most interesting feature of advance mobiles is games, which are not only technically sound, but capable of creating interest. Since Flash offers many advantages to developers as well as players, many games are designed using Macromedia Flash. Through mobile games development, by following right marketing tools you can earn great profit. Conclusion: Symbian games development is most chosen among the people because it is regarded as oldest platform for developing advanced 3d symbian games used by the customers all around. We are supported by around twenty plus android developers with great skill and exposure to advanced technologies.

The most interesting factor is that these games are provided for free download. Professional mobile game developers provide services like mobile game porting and mobile game testing, which is not simple to perform for novice people. It is the largest and most populous continent making people call its destinations. Also note the frequency of abusive language within the game as much as you can. As there is great rush and huge lumps of the games and you are unable to find and pick a game of your choice from there, you can hire outsourcing development company and can get desirable games at affordable prices.

Today, mobile devices offer an opportunity to relate our emotional and social life, which has its own set of pros and cons (of course). For more information about our services, please give us a call or send us email to call you back. This why, there are so many service providers which are facilitating their services in terms of offering cheap calling plans to Asia. Filled with innovation, fuelled by Steve Jobs passion, iphone has indeed many innovative and interesting applications to use and download. Short codes are usually numbers that are assigned to mobile operators of a particular location, which they use for brand campaigning and other purposes.

It is open source mobile operating system used to develop applications to help customers satisfy their requirements. It would work well with basically any type of property with a large cast of characters. These are advantages that are not enjoyed with traditional advertising methods. System Games that get in-app purchase options ripe. This virtual reality headset not only provides users with a 3D view of another world, but it does it all by relying on their smartphones.

Having a wider screen, such as on the Apple i - Pad, fixes this problem to a certain degree; but it still exists when your fingers are hanging over the screen. But people can read mobile SMS while traveling, dining, drinking or engaging in office matters. to be eligible to win something, to get constant updates etc. In the event you loved this short article and you would want to receive more information about flick shoot 2 hack kindly visit our own webpage. Ever since its commencement 5 ages ago, it continues to smudge the lines between computers and a mobile maneuver. Among variety of mobile games, Play Online Flash games are gaining popularity and fascinating players to a large extent.