Box–Jenkins: Difference between revisions

From formulasearchengine
Jump to navigation Jump to search
Minor-
References: formatting
 
Line 1: Line 1:
[[File:Margolus block neighborhood.svg|thumb|240px|The Margolus neighborhood for a two-dimensional block cellular automaton. The partition of the cells alternates between the set of {{math|2 × 2}} blocks indicated by the solid blue lines, and the set of blocks indicated by the dashed red lines.]]
The individual who wrote the article is known as Jayson Hirano and he totally digs that name. She works as a travel agent but soon she'll be on her personal. Mississippi is the only place I've been residing in but I will have to move in a yr or two. Doing ballet is some thing she would never give up.<br><br>Feel free to surf to my blog ... free psychic reading ([http://afeen.fbho.net/v2/index.php?do=/profile-210/info/ afeen.fbho.net])
A '''block cellular automaton''' or '''partitioning cellular automaton''' is a special kind of [[cellular automaton]] in which the lattice of cells is divided into non-overlapping blocks (with different partitions at different time steps) and the transition rule is applied to a whole block at a time rather than a single cell. Block cellular automata are useful for simulations of physical quantities, because it is straightforward to choose transition rules that obey physical constraints such as [[reversible cellular automaton|reversibility]] and [[conservation law]]s.<ref name="schiff">{{citation|title=Cellular Automata: A Discrete View of the World|first=Joel L.|last=Schiff|publisher=Wiley|contribution=4.2.1 Partitioning Cellular Automata|pages=115–116|year=2008}}</ref>
 
==Definition==
A block cellular automaton consists of the following components:<ref name="schiff"/><ref name="tm">{{citation|title=Cellular Automata Machines: A New Environment for Modeling|first1=Tommaso|last1=Toffoli|author1-link=Tommaso Toffoli|first2=Norman|last2=Margolus|author2-link=Norman Margolus|publisher=MIT Press|year=1987|chapter=II.12 The Margolus neighborhood|pages=119–138}}</ref>
*A regular [[Lattice (group)|lattice]] of cells
*A finite set of the states that each cell may be in
*A partition of the cells into a uniform [[tessellation]] in which each tile of the partition has the same size and shape
*A rule for shifting the partition after each time step
*A transition rule, a function that takes as input an assignment of states for the cells in a single tile and produces as output another assignment of states for the same cells.
In each time step, the transition rule is applied simultaneously and synchronously to all of the tiles in the partition. Then, the partition is shifted and the same operation is repeated in the next time step, and so forth. In this way, as with any cellular automaton, the pattern of cell states changes over time to perform some nontrivial computation or simulation.
 
==Neighborhoods==
The simplest partitioning scheme is probably the '''Margolus neighborhood''', named after [[Norman Margolus]], who first studied block cellular automata using this neighborhood structure. In the Margolus neighborhood, the lattice is divided into {{math|2}}-cell blocks (or {{math|2 &times; 2}} squares in two dimensions, or {{math|2 &times; 2 &times; 2}} cubes in three dimensions, etc.) which are shifted by one cell (along each dimension) on alternate timesteps.<ref name="schiff"/><ref name="tm"/><ref name="m84">{{citation|first=N.|last=Margolus|authorlink=Norman Margolus|title=Physics-like models of computation|journal=Physica D|volume=10|year=1984|pages=81–95|doi=10.1016/0167-2789(84)90252-5}}. Reprinted in {{citation|editor-first=Stephen|editor-last=Wolfram|editor-link=Stephen Wolfram|title=Theory and Applications of Cellular Automata|series=Advanced series on complex systems|volume=1|publisher=World Scientific|year=1986|pages=232–246}}</ref>
 
A closely related technique due to K. Morita and M. Harao<ref>{{citation|first1=K.|last1=Morita|first2=M.|last2=Harao|title=Computation universality of 1 dimensional reversible (injective) cellular automata|journal=Transactions Institute of Electronics, Information and Communication Engineers, E|volume=72|pages=758–762|year=1989}}</ref> consists in partitioning each cell into a finite number of parts, each part being devoted to some neighbor. The evolution proceeds by exchanging the corresponding parts between neighbors and  then applying on each cell a purely local transformation <math>F</math> depending only on the state of the cell (and not on the states of its neighbors). With such a construction scheme, the cellular automaton is guaranteed to be reversible if the local transformation <math>F</math> is itself a [[bijection]]. This technique may be viewed as a block cellular automaton on a finer lattice of cells, formed by the parts of each larger cell; the blocks of this finer lattice alternate between the sets of parts within a single large cell and the sets of parts in neighboring cells that share parts with each other.
 
==Reversibility and conservation==
As long as the rule for evolving each block is [[reversible cellular automaton|reversible]], the entire automaton will also be. More strongly, in this case, the time-reversed behavior of the automaton can also be described as a block cellular automaton, with the same block structure and with a transition rule that inverts the original automaton's rule within each block.  The converse is also true: if the blocks are not individually reversible, the global evolution cannot be reversible: if two different configurations ''x'' and ''y'' of a block lead to the same result state ''z'', then a global configuration with ''x'' in one block would be indistinguishable after one step from the configuration in which the ''x'' is replaced by ''y''. That is, a cellular automaton is reversible globally if and only if it is reversible at the block level.<ref name="bbm"/>
 
The ease of designing reversible block cellular automata, and of testing block cellular automata for reversibility, is in strong contrast to cellular automata with other non-block neighborhood structures, for which it is [[undecidable problem|undecidable]] whether the automaton is reversible and for which the reverse dynamics may not be describable as an automaton with the same neighborhood.<ref>{{citation|first=Jarkko|last=Kari|authorlink=Jarkko Kari|title=Reversibility of 2D cellular automata is undecidable|journal=Physica D|volume=45|year=1990|pages=379–385|doi=10.1016/0167-2789(90)90195-U}}</ref> Any reversible cellular automaton may be simulated by a reversible block cellular automaton with a larger number of states; however, because of the undecidability of reversibility for non-block cellular automata, there is no computable bound on the radius of the regions in the non-block automaton that correspond to blocks in the simulation, and the translation from a non-block rule to a block rule is also not computable.<ref>{{citation|title=On the circuit depth of structurally reversible cellular automata|first=Jarkko|last=Kari|authorlink=Jarkko Kari|journal=Fundamenta Informaticae|volume=38|year=1999|pages=93–107}}; {{citation|title=Representing reversible cellular automata with reversible block cellular automata|last=Durand-Lose|first=Jérôme|journal=Discrete Mathematics and Theoretical Computer Science|volume=AA|year=2001|pages=145–154|url=http://www.dmtcs.org/dmtcs-ojs/index.php/proceedings/article/download/264/855}}</ref>
 
Block cellular automata are also a convenient formalism in which to design rules that, in addition to reversibility, implement [[conservation laws]] such as the conservation of particle number, conservation of momentum, etc.. For instance, if the rule within each block preserves the number of live cells in the block, then the global evolution of the automaton will also preserve the same number. This property is useful in the applications of cellular automata to physical simulation.<ref name="nkos">{{citation|last=Wolfram|first=Stephen|authorlink=Stephen Wolfram|year=2002|title=[[A New Kind of Science]]|pages=459–464|publisher=Wolfram Media|isbn=1-57955-008-8}}</ref>
 
==Simulation by conventional cellular automata==
As Toffoli and Margolus write,<ref name="tm"/> the block cellular automaton model does not introduce any additional power compared to a conventional cellular automaton that uses the same neighborhood structure at each time step: any block cellular automaton may be simulated on a conventional cellular automaton by using more states and a larger neighborhood. Specifically, let the two automata use the same lattice of cells, but let each state of the conventional automaton specify the state of the block automaton, the phase of its partition shifting pattern, and the position of the cell within its block. For instance, with the Margolus neighborhood, this would increase the number of states by a factor of eight: there are four possible positions that a cell may take in its {{math|2 &times; 2}} block, and two phases to the partition. Additionally, let the neighborhood of the conventional automaton be the union of the blocks containing the given cell in the block cellular automaton. Then with this neighborhood and state structure, each update to the block automaton may be simulated by a single update to the conventional cellular automaton.
 
==Applications==
Block cellular automata are commonly used to implement [[lattice gas]]es and other quasi-physical simulations, due to the ease of simulating physical constraints such as conservation laws in these systems.<ref name="schiff"/><ref name="nkos"/>
For instance, the Margolus model may be used to simulate the HPP lattice gas model, in which particles move in two perpendicular directions and scatter at right angles when they collide with each other. In the block cellular simulation of this model, the update rule moves each cell to the cell diagonally opposite in its block, except in the case that a cell contains two diagonally opposite particles, in which case they are replaced by the complementary pair of diagonally opposite particles. In this way, particles move diagonally and scatter according to the HPP model.<ref name="tm"/><ref name="schiff2"/> An alternative rule that simulates the HPP lattice gas model with horizontal and vertical motion of particles, rather than with diagonal motion, involves rotating the contents of each block clockwise or counterclockwise in alternating phases, except again in the case that a cell contains two diagonally opposite particles, in which case it remains unchanged.<ref name="tm"/>
In either of these models, momentum (the sum of the [[velocity|velocity vectors]] of the moving particles) is conserved, as well as their number, an essential property for simulating physical gases. However, the HPP models are somewhat unrealistic as a model of gas dynamics, because they have additional non-physical conservation rules: the total momentum within each line of motion, as well as the total momentum of the overall system, is conserved. More complex models based on the hexagonal grid avoid this problem.<ref name="schiff2">"5.5.4 Lattice Gases", in {{harvtxt|Schiff|2008}}, pp.&nbsp;165–169.</ref>
 
These automata may also be used to model the motion of grains of [[sand]] in sand piles and [[hourglass]]es. In this application, one may use a Margolus neighborhood with an update rule that preserves the number of grains within each {{math|2 &times; 2}} block but that moves each grain as far down within its block as possible. If a block includes two grains that are stacked vertically on top of each other, the transition function of the automaton replaces it by a block in which the grains are side-by-side, in effect allowing tall sand piles to topple and spread. This model is not reversible, but it still obeys a conservation law on the number of particles.<ref name="sandpile"/> A modified rule, using the same neighborhood but moving the particles sideways to the extent possible as well as down, allows the simulated sandpiles to spread even when they are not very steep.<ref>{{citation|title=Cellular gravity|first1=Frédéric|last1=Gruau|first2=John|last2=Tromp|journal=Parallel Processing Letters|volume=10|issue=4|pages=383–393|year=2000|url=http://oai.cwi.nl/oai/asset/1132/1132A.pdf}}</ref> More sophisticated cellular automaton sand pile models are also possible, incorporating phenomena such as wind transport and friction.<ref name="sandpile">{{citation|title=Cellular Automata Modeling of Physical Systems|first1=Bastien|last1=Chopard|first2=Michael|last2=Droz|publisher=Cambridge University Press|year=1998|contribution=2.2.6 The sand pile rule|pages=42–46}}</ref>
 
Margolus' original application for the block cellular automaton model was to the [[Billiard-ball computer|billiard ball model]] of reversible computation, in which [[Boolean logic]] signals are simulated by moving particles and logic gates are simulated by [[elastic collision]]s of those particles. It is possible, for instance, to perform billiard-ball computations in the two-dimensional Margolus model, with two states per cell, and with the number of live cells conserved by the evolution of the model. In the "BBM" rule that simulates the billiard-ball model in this way, signals consist of single live cells, moving diagonally. To accomplish this motion, the block transition function replaces a block containing a single live cell with another block in which the cell has been moved to the opposite corner of the block. Similarly, elastic collisions may be performed by a block transition function that replaces two diagonally opposite live cells by the other two cells of the block. In all other configurations of a block, the block transition function makes no change to its state. In this model, {{math|2 &times; 4}} rectangles of live cells (carefully aligned with respect to the partition) remain stable, and may be used as mirrors to guide the paths of the moving particles. For instance, the illustration of the Margolus neighborhood shows four particles and a mirror; if the next step uses the blue partition, then two particles are moving towards the mirror while the other two are about to collide, whereas if the next step uses the red partition, then two particles are moving away from the mirror and the other two have just collided and will move apart from each other.<ref name="m84"/><ref name="bbm">{{citation|first=Jérôme|last=Durand-Lose|contribution=Computing inside the billiard ball model|title=Collision-Based Computing|editor-first=Andrew|editor-last=Adamatzky|editor-link=Andrew Adamatzky|publisher=Springer-Verlag|year=2002|pages=135–160}}</ref><ref name="cc"/>
 
==Additional rules==
[[File:Critters block automaton.png|thumb|Gliders escape a central random seed, past the debris of earlier glider crashes, in the Critters rule.]]
Toffoli and Margolus<ref name="tm"/> suggest two more reversible rules for the Margolus neighborhood with two-state cells that, while not motivated by physical considerations, lead to interesting dynamics.
 
===Critters===
In the "Critters" rule, the transition function reverses the state of every cell in a block, except for a block with exactly two live cells which remains unchanged. Additionally, blocks with three live cells undergo a 180-degree rotation as well as the state reversal.<ref name="tm"/> This is a reversible rule, and it obeys conservation laws on the number of particles (counting a particle as a live cell in even phases and as a dead cell in odd phases) and on the parity of the number of particles along diagonal lines.<ref name="cc">{{citation|first=Norman|last=Margolus|authorlink=Norman Margolus|contribution=Crystalline Computation|title=Feynman and Computation|publisher=Perseus Books|year=1999|pages=267–305|editor-first=Anthony J. G.|editor-last=Hey|arxiv=comp-gas/9811002 }}</ref> Because it is reversible, initial states in which all cells take randomly chosen states remain unstructured throughout their evolution. However, when started with a smaller field of random cells centered within a larger region of dead cells, this rule leads to complex dynamics similar to those in [[Conway's Game of Life]] in which many small patterns similar to life's [[Glider (Conway's Life)|glider]] escape from the central random area and interact with each other.<ref name="tm"/><ref name="cc"/> Unlike the gliders in Life, reversibility and the conservation of particles together imply that when gliders crash together in Critters, at least one must escape, and often these crashes allow both incoming gliders to reconstitute themselves on different outgoing tracks. By means of such collisions, this rule can also simulate the billiard ball model of computing, although in a more complex way than the BBM rule.<ref name="cc"/> The Critters rule can also support more complex [[Spaceship (cellular automaton)|spaceships]] of varying speeds as well as [[Oscillator (cellular automaton)|oscillators]] with infinitely many different periods.<ref name="marotta">{{citation|title=Living in Critters' world|first=Sebastian M.|last=Marotta|url=http://web01.unicentro.br/revistas/index.php/RECEN/article/viewFile/385/537|year=2005|journal=Revista Ciências Exatas e Naturais|volume=7|issue=1}}</ref>
 
===Tron===
[[File:Trip-a-Tron.png|frame|The rectilinear shapes generated by the Tron rule.]]
In the "Tron" rule, the transition function leaves each block unchanged except when all four of its cells have the same state, in which case their states are all reversed. Running this rule from initial conditions in the form of a rectangle of live cells, or from similar simple straight-edged shapes, leads to complex rectilinear patterns. Toffoli and Margolus also suggest that this rule can be used to implement a local synchronization rule that allows any Margolus-neighborhood block cellular automaton to be simulated using an [[asynchronous cellular automaton]]. In this simulation, each cell of an asynchronous automaton stores both a state for the simulated automaton and a second bit representing the [[parity (mathematics)|parity]] of a timestamp for that cell; therefore, the resulting asynchronous automaton has twice as many states as the automaton it simulates. The timestamps are constrained to differ by at most one between adjacent cells, and any block of four cells whose timestamps all have the correct parity may be updated according to the block rule being simulated. When an update of this type is performed, the timestamp parities should also be updated according to the Tron rule, which necessarily preserves the constraint on adjacent timestamps. By performing local updates in this way, the evolution of each cell in the asynchronous automaton is identical to its evolution in the synchronous block automaton being simulated.<ref name="tm"/><ref>{{citation|contribution=Modeling and Analysis of Margolus Quantum Cellular Automata Using Net-Theoretical Methods|first1=Leo|last1=Ojala|first2=Olli-Matti|last2=Penttinen|first3=Elina|last3=Parviainen|title=Applications and Theory of Petri Nets 2004|year=2004|series=Lecture Notes in Computer Science|publisher=Springer-Verlag|volume=3099|pages=331–350|doi=10.1007/978-3-540-27793-4_19}}</ref>
 
==See also==
*[[Toothpick sequence]], a fractal pattern that can be emulated by cellular automata with the Margolus neighborhood
 
==References==
{{reflist|colwidth=30em}}
 
==External links==
*[http://www.cise.ufl.edu/~skoehler/critters/index.html Critters simulation], Seth Koehler, Univ. of Florida
 
[[Category:Cellular automata]]

Latest revision as of 19:24, 1 June 2014

The individual who wrote the article is known as Jayson Hirano and he totally digs that name. She works as a travel agent but soon she'll be on her personal. Mississippi is the only place I've been residing in but I will have to move in a yr or two. Doing ballet is some thing she would never give up.

Feel free to surf to my blog ... free psychic reading (afeen.fbho.net)