smithers.extras
Class Cellular2D.Ruleset

java.lang.Object
  extended by smithers.extras.Cellular2D.Ruleset
Enclosing class:
Cellular2D

public static class Cellular2D.Ruleset
extends java.lang.Object


Constructor Summary
Cellular2D.Ruleset(int[] born, int[] survives)
           
Cellular2D.Ruleset(int bornFlags, int survivesFlags)
           
Cellular2D.Ruleset(java.lang.Iterable<java.lang.Integer> born, java.lang.Iterable<java.lang.Integer> survives)
           
 
Method Summary
 boolean born(int neighbours)
           
 boolean survives(int neighbours)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Cellular2D.Ruleset

public Cellular2D.Ruleset(int bornFlags,
                          int survivesFlags)

Cellular2D.Ruleset

public Cellular2D.Ruleset(int[] born,
                          int[] survives)

Cellular2D.Ruleset

public Cellular2D.Ruleset(java.lang.Iterable<java.lang.Integer> born,
                          java.lang.Iterable<java.lang.Integer> survives)
Method Detail

born

public boolean born(int neighbours)

survives

public boolean survives(int neighbours)