Links
- BLOGGER
- Home page
- edit this BLog
- ---------------
- CreatZy Notes
- CreatZy Physics Notes
- CreatZy Links
- ---------------
- Vietnamese Google
- Japanese Google
- Vdict
Site feeds
Archives
- April 2004
- May 2004
- October 2004
- November 2004
- December 2004
- January 2005
- May 2005
- June 2005
- August 2005
- October 2005
- November 2005
- November 2006
- January 2007
- April 2007
- July 2007
- November 2007
- December 2007
- January 2008
- October 2008
- June 2009
- October 2009
- November 2009
- June 2010
- January 2011
- February 2011
- May 2011
- September 2011
- November 2011
- December 2011
<<Home
Saturday, January 12, 2008 >>>>
Petri Nets, an Interesting Discovery
The term "Petri Net" has come to my mind someday while I'm taking the course "Theory of Discrete-State Systems", but it had been so dim because I didn't attend the class the day Petri Net introduced. Later, when dealing with parallelism, I found that it will be much easier to represent "action activation", "event synchronization", and so on with the concept "transition" in Petri Net. And some other day, when I myself read the slides about introduction to Petri Net, I was strongly impressed by the thought that "Only equipped with an N (tokens), Petri Net has turned Finite Automaton to a universal machine, i.e. Turing-equivalent machine!" That idea came to me very naturally, since Turing Machine is different from Finite Automaton only in term "Finite", i.e. TM has infinite memory (equivalent to a natural number). But yesterday, in an attempt to simulate the "N-memory" using Petri Net, I faced a serious problem that Petri Net is incapable of expressing an important class of relations/operations: equivalence (x=y), negation (¬p). After struggling with the problem, I have found that Petri Net is "only one step next to heaven", and that "step" is to add the concept of "null token" or "transition priority". Before celebrating my "stunning result", I have done a search with Mr.Google and got some interesting things!
- Name of the game: The "Petri Net" I referred above is in fact, P/T Net, which stands for Place/Transition Net, but also Pe-Tri Net (to my mind)! In general, "Petri Nets" is a family of modeling frameworks including P/T Net's subtypes and P/T Net's extensions.
- More than making explicit: With explicit transitions, Petri Nets revive the notation of action in traditional flowchart, and make the interactions between concurrent processes much easier. With tokens, Petri Nets do not only make the instruction pointer(or instruction pointers in non-deterministic/parallel models) explicit, but also give means to represent resources as well as memories.
- The lack in expresiveness: P/T Net can simulate an N-memory NM, with inc(NM), dec(NM), NZero(NM), but Zero(NM). Using enabling property of transitions, we can define a Boolean logic with p⋀q, p⋁q, but ¬p. I have tried to combine parallel P/T Net components using "connectors"(extra nets) and preserve the pre-built structure of those components, i.e. without "splitting stransitions"(or transitions). But I failed because without not, or cannot be converted to and.
- One step to heaven: To be Turing-equivalent, P/T Net needs only one of these extensions:
- Zero-testing/Inhibitory arcs, i.e. "not" arcs: Those arcs with a circular mark (inhibitor) at the transition end will enable the connected transitions only if the source place is empty. Normal arc: ○→☐, Inhibitory arc: ○―◦☐.
- Transition priority: If both enabled, the transition with higher priority will be fired. This will solve the "conflict" in firing, and makes the choice between transitions more deterministic (it is still non-deterministic between transitions with equal priority).
- Batch processing arcs: These arcs will process all token(s) in source places at once! This is proposed by some Japaneses in Modeling power of Petri nets with batch processing arcs, IEIC Technical Report.
- Anti-places: If a place P is bounded m(P) ≼ M(P), we can construct an anti-place P- of P such that m(P-) = M(P) - m(p).
↑top↑ ↑archives↑
There are/is 0 comment(s) on this post.
**Post a Comment**
<<Archive
<<Home
Previous posts:
- Một chứng minh xây dựng tuyệt vời cho Bài toán Dừn...- Lý thuyết của các Lý thuyết!
- The Implied Axioms of Science
- Simple Vs Complex
- Led or El-ee-dee? Star or Asterisk?
- "Cái USB" ?!
- Số Lớn...
- Interesting Stuffs about Primes
- Sun Get Changed!
- Nếu tôi còn sống thì tôi đã chết!