Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## toxi.sim.automata
Interface CARule

All Superinterfaces:
  MatrixEvolver

All Known Implementing Classes:
  CARule2D, CAWolfram1D

    public interface CARule

extends MatrixEvolver

This interface defines the required API for a `CAMatrix` compatible cellular automata rule implementation.

Method Summary
`int` | `getStateCount()`
`boolean` | `isAutoExpire()`
`boolean` | `isTiling()`
`void` | `randomize()`
`void` | `setAutoExpire(boolean isAutoExpire)`
`void` | `setStateCount(int num)`
`void` | `setTiling(boolean state)`

Methods inherited from interface toxi.sim.automata.MatrixEvolver
`evolve`

Method Detail

### getStateCount

    int getStateCount()

### isAutoExpire

    boolean isAutoExpire()

### isTiling

    boolean isTiling()

### randomize

    void randomize()

### setAutoExpire

    void setAutoExpire(boolean isAutoExpire)

### setStateCount

    void setStateCount(int num)

### setTiling

    void setTiling(boolean state)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD