Serialized Form
blocks
int[][][] blocks
- the block indexes for all time steps
first index is time step
blockDims
int[][] blockDims
- the size of one block
first index is time step
second index is the dimension, width=0,height=1,depth=2
blockNo
int blockNo
- the number of the current block to be used
must be used as first index of blocks array
states
de.tubs.cs.sc.casim.BlockState[] states
- the one dimensional array of States
no double state array needed for
states
de.tubs.cs.sc.casim.BlockState[][] states
- the two dimensional array of States
no double state array needed for
states
de.tubs.cs.sc.casim.BlockState[][][] states
- the three dimensional array of States
no double state array needed for
dimension
int dimension
- the dimension the handler is responsible for
possible values are
FIRST_DIMENSION x
SECOND_DIMENSION y
THIRD_DIMENSION z
direction
boolean direction
- the direction for which the handler is responsible
true is positive direction, increasing index values
false is negative direction, decreasing index values
lattice
de.tubs.cs.sc.casim.Lattice lattice
- a reference to the corresponding lattice
latticeDefinition
de.tubs.cs.sc.casim.LatticeDefinition latticeDefinition
stateClass
java.lang.Class stateClass
neighborhoodIndexes
int[][] neighborhoodIndexes
- the neighborhood indexes
lattice
de.tubs.cs.sc.casim.Lattice lattice
- the lattice of cells of the automaton
- See Also:
Lattice
generation
int generation
- a generation counter, will be increased for
each generation of the cellular automata
readyForTransition
boolean readyForTransition
- is the CA in the condition ready for next time step
blockCA
boolean blockCA
- is the CA a Block CA ?
- See Also:
BlockState
stateSetDefinition
de.tubs.cs.sc.casim.StateSetDefinition stateSetDefinition
- is the CA a Table CA ?
- See Also:
StateSetDefinition
stateClass
java.lang.Class stateClass
- The java class describing a cells state, it's drawing color
and the transition function.
If the State class implements BlockState too, all
a Block CA will be executed.
- See Also:
State
,
BlockState
latticeDefinition
de.tubs.cs.sc.casim.LatticeDefinition latticeDefinition
- The desciption of all parameters to create a lattice.
- See Also:
LatticeDefinition
currentState
de.tubs.cs.sc.casim.State currentState
- the current state
x
int x
- position of the cell in th elattice
y
int y
- position of the cell in th elattice
z
int z
- position of the cell in th elattice
constantState
de.tubs.cs.sc.casim.State constantState
- A reference to the constant state for boundary
conditions
accessdim
int accessdim
- dimension of the access (This is what the state class wants).
latticedim
int latticedim
- dimension of the lattice (This is the current lattice which must
probably be changed).
stateClass
java.lang.Class stateClass
- The java class describing a cells state, it's drawing color
and the transition function.
- See Also:
State
definition
de.tubs.cs.sc.casim.LatticeDefinition definition
- The definition for the lattice
lx
int lx
ly
int ly
lz
int lz
boundaryHandler
de.tubs.cs.sc.casim.BoundaryHandler[] boundaryHandler
- an array of boundary handlers, the number
depends on the dimension of the lattice
The array is in the bas class, because the
generation step and communication with
boundary handlers is implemented in
base class Lattice.
- See Also:
Lattice1D
,
Lattice2D
,
Lattice3D
cells
de.tubs.cs.sc.casim.Cell[] cells
- the cells in a one dimensional array
cells
de.tubs.cs.sc.casim.Cell[][] cells
- the cells in a two dimensional array
backingUp
boolean backingUp
- the current state of transitioning. Used for selecting which cell
to display for a repaint during calculation.
transitioning
boolean transitioning
updateType
int updateType
sequence
int[][] sequence
nextStop
double nextStop
heap
de.tubs.cs.sc.casim.PositionHeap heap
inBlock
boolean inBlock
libraryFound
boolean libraryFound
numberOfThreads
int numberOfThreads
threads
de.tubs.cs.sc.casim.Lattice2DThreaded.LatticeThread[] threads
cells
de.tubs.cs.sc.casim.Cell[][][] cells
- the cells in a three dimensional array
backingUp
boolean backingUp
- the current state of transitioning. Used for selecting which cell
to display for a repaint during calculation.
transitioning
boolean transitioning
inBlock
boolean inBlock
libraryFound
boolean libraryFound
dimension
int dimension
- used for dimension
geometry
int geometry
- used for geometry
boundaries
java.lang.Class[] boundaries
- used for boundary condition
neighborhood
int neighborhood
- used for kind of neighborhood
NEIGHBORHOOD_VONNEUMANN
NEIGHBORHOOD_MOORE
neighborhoodRadius
int neighborhoodRadius
- the radius of the neighborhood
x
int x
- the width of the lattice
y
int y
- the height of the lattice
z
int z
- the depth of the lattice
cacheNeighborhood
int cacheNeighborhood
- should the neighborhood be cached
caching makes sens for smaller lattices
increases performance but costs memory
latticeClass
java.lang.Class latticeClass
- special Lattice class where applicable
initOption
int initOption
- initialization option.
latticeOption
int latticeOption
- option for special Lattice class where applicable
m_sName
java.lang.String m_sName
- the name of the State Set Definition
count
int count
- the number of States in the Set
colorTable
java.util.Vector colorTable
- the Color Table
transitionRules
java.util.Vector transitionRules
- the Transition Rules
probabilities
java.util.Vector probabilities
- the Probabilities at start as Doubles
condition
int condition
- the current state
state
int state
- the cell's current state
newState
int newState
- the cell's new state after transition
neighbors
int[] neighbors
- an array of neighbors
a -1 value signals a wildcard '.'
m_iNrOfNonWildcards
int m_iNrOfNonWildcards
- number of non wildcard '.' neighbors