public class BasicGrowthTypesTable
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private byte[] |
tableFuture |
private byte[] |
tablePresent |
Constructor and Description |
---|
BasicGrowthTypesTable()
All predefined type of atom (current if the atom is occupied and future if the atom is not
occupied).
|
Modifier and Type | Method and Description |
---|---|
byte |
getCurrentType(int numberOfNeighbourAtoms)
Returns the type of the atom between TERRACE, EDGE, KINK and ISLAND.
|
byte |
getFutureType(int numberOfNeighbourAtoms) |
private final byte[] tablePresent
private final byte[] tableFuture
public BasicGrowthTypesTable()
public byte getCurrentType(int numberOfNeighbourAtoms)
numberOfNeighbourAtoms
- number of occupied neighbourspublic byte getFutureType(int numberOfNeighbourAtoms)