Interface CellularAutomata.Rule

Enclosing class:
CellularAutomata
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface CellularAutomata.Rule
Functional interface for CA transition rules.
Since:
1.0
Author:
Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    apply(int x, int y, CellularAutomata ca)