for (int dir = 0; dir < this.rowTransform.length; dir++) {
final int otherRow = row + this.rowTransform[dir];
final int otherCol = col + this.colTransform[dir];
if (this.universe.isValid(otherRow, otherCol)) {
final UniverseCell otherCell = this.universe.get(otherRow,
otherCol);
total += otherCell.getAvg();
cnt++;
}
}
total /= cnt;