de.tubs.cs.sc.casim
Class Lattice2DAsync

java.lang.Object
  |
  +--de.tubs.cs.sc.casim.Lattice
        |
        +--de.tubs.cs.sc.casim.CALattice
              |
              +--de.tubs.cs.sc.casim.Lattice2D
                    |
                    +--de.tubs.cs.sc.casim.Lattice2DSquare
                          |
                          +--de.tubs.cs.sc.casim.Lattice2DAsync
All Implemented Interfaces:
java.io.Serializable

public class Lattice2DAsync
extends Lattice2DSquare

See Also:
Serialized Form

Field Summary
 
Fields inherited from class de.tubs.cs.sc.casim.Lattice2D
backingUp, cells, transitioning
 
Fields inherited from class de.tubs.cs.sc.casim.CALattice
neighborhoodIndexes
 
Fields inherited from class de.tubs.cs.sc.casim.Lattice
boundaryHandler, lx, ly, lz
 
Constructor Summary
Lattice2DAsync(java.lang.Class state, de.tubs.cs.sc.casim.LatticeDefinition ldef)
          Constructor of Lattice
 
Method Summary
 void backup()
          calls backup for each cell
protected  void reset()
          make all cells have only one state instead of two.
 void transition()
          executes one transition step, with asynchronous updating using the method given by the updateType.
 
Methods inherited from class de.tubs.cs.sc.casim.Lattice2DSquare
getNeighborsMoore, getNeighborsMoore, getNeighborsvonNeumann, getNeighborsvonNeumann, getNrOfNeighbors
 
Methods inherited from class de.tubs.cs.sc.casim.Lattice2D
getDimension, getNeighborRelative, getNeighborsArbitrary, getOldState, getState, getState, getState, setIs, toString
 
Methods inherited from class de.tubs.cs.sc.casim.CALattice
defineNeighborsArbitrary, getNeighbors, reversetransition
 
Methods inherited from class de.tubs.cs.sc.casim.Lattice
addBoundaryHandler, beginBlock, callAnalyze, callInitialize, endBlock, finish, getBoundaryHandler, getDefinition, getStateClass, getX, getY, getZ, setNeighborhood, waitForReadyForBackup, waitForReadyForTransition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Lattice2DAsync

public Lattice2DAsync(java.lang.Class state,
                      de.tubs.cs.sc.casim.LatticeDefinition ldef)
               throws CAException
Constructor of Lattice

Method Detail

reset

protected void reset()
              throws CAException
make all cells have only one state instead of two.

Overrides:
reset in class Lattice2D
CAException

transition

public void transition()
executes one transition step, with asynchronous updating using the method given by the updateType.

Overrides:
transition in class Lattice2D
See Also:
Lattice.transition()

backup

public void backup()
Description copied from class: Lattice2D
calls backup for each cell

Overrides:
backup in class Lattice2D
See Also:
Lattice.backup()