Serialized Form

Class de.tubs.cs.sc.casim.BlockLattice implements Serializable

Serialized Fields

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


Class de.tubs.cs.sc.casim.BlockLattice1D implements Serializable

Serialized Fields

states

de.tubs.cs.sc.casim.BlockState[] states
the one dimensional array of States no double state array needed for


Class de.tubs.cs.sc.casim.BlockLattice2D implements Serializable

Serialized Fields

states

de.tubs.cs.sc.casim.BlockState[][] states
the two dimensional array of States no double state array needed for


Class de.tubs.cs.sc.casim.BlockLattice3D implements Serializable

Serialized Fields

states

de.tubs.cs.sc.casim.BlockState[][][] states
the three dimensional array of States no double state array needed for


Class de.tubs.cs.sc.casim.BlockState implements Serializable


Class de.tubs.cs.sc.casim.BoundaryHandler implements Serializable

Serialized Fields

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


Class de.tubs.cs.sc.casim.CADescription implements Serializable

Serialized Fields

latticeDefinition

de.tubs.cs.sc.casim.LatticeDefinition latticeDefinition

stateClass

java.lang.Class stateClass


Class de.tubs.cs.sc.casim.CAException implements Serializable


Class de.tubs.cs.sc.casim.CALattice implements Serializable

Serialized Fields

neighborhoodIndexes

int[][] neighborhoodIndexes
the neighborhood indexes


Class de.tubs.cs.sc.casim.CALocal implements Serializable

Serialized Fields

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


Class de.tubs.cs.sc.casim.Cell implements Serializable

Serialized Fields

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


Class de.tubs.cs.sc.casim.CellNC implements Serializable


Class de.tubs.cs.sc.casim.ConstantBoundaryHandler implements Serializable

Serialized Fields

constantState

de.tubs.cs.sc.casim.State constantState
A reference to the constant state for boundary conditions


Class de.tubs.cs.sc.casim.IllegalAccessDimension implements Serializable

Serialized Fields

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).


Class de.tubs.cs.sc.casim.Lattice implements Serializable

Serialized Fields

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


Class de.tubs.cs.sc.casim.Lattice1D implements Serializable

Serialized Fields

cells

de.tubs.cs.sc.casim.Cell[] cells
the cells in a one dimensional array


Class de.tubs.cs.sc.casim.Lattice2D implements Serializable

Serialized Fields

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


Class de.tubs.cs.sc.casim.Lattice2DAsync implements Serializable

Serialized Fields

updateType

int updateType

sequence

int[][] sequence

nextStop

double nextStop

heap

de.tubs.cs.sc.casim.PositionHeap heap


Class de.tubs.cs.sc.casim.Lattice2DHexagonal implements Serializable


Class de.tubs.cs.sc.casim.Lattice2DNative implements Serializable

Serialized Fields

inBlock

boolean inBlock

libraryFound

boolean libraryFound


Class de.tubs.cs.sc.casim.Lattice2DSquare implements Serializable


Class de.tubs.cs.sc.casim.Lattice2DThreaded implements Serializable

Serialized Fields

numberOfThreads

int numberOfThreads

threads

de.tubs.cs.sc.casim.Lattice2DThreaded.LatticeThread[] threads


Class de.tubs.cs.sc.casim.Lattice2DTriangle implements Serializable


Class de.tubs.cs.sc.casim.Lattice3D implements Serializable

Serialized Fields

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


Class de.tubs.cs.sc.casim.Lattice3DNative implements Serializable

Serialized Fields

inBlock

boolean inBlock

libraryFound

boolean libraryFound


Class de.tubs.cs.sc.casim.LatticeDefinition implements Serializable

Serialized Fields

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


Class de.tubs.cs.sc.casim.PeriodicBoundaryHandler implements Serializable


Class de.tubs.cs.sc.casim.ReflectivBoundaryHandler implements Serializable


Class de.tubs.cs.sc.casim.State implements Serializable


Class de.tubs.cs.sc.casim.StateSetDefinition implements Serializable

Serialized Fields

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


Class de.tubs.cs.sc.casim.TableState implements Serializable

Serialized Fields

condition

int condition
the current state


Class de.tubs.cs.sc.casim.TransitionRule implements Serializable

Serialized Fields

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