org.drools.examples.conway.patterns
Class Pentadecathalon

java.lang.Object
  extended by org.drools.examples.conway.patterns.Pentadecathalon
All Implemented Interfaces:
java.io.Serializable, ConwayPattern

public class Pentadecathalon
extends java.lang.Object
implements ConwayPattern

The Pentadecathalon

See Also:
ConwayPattern, CellGrid, Serialized Form
 

Constructor Summary
Pentadecathalon()
           
 
Method Summary
 boolean[][] getPattern()
          This method should return a 2 dimensional array of boolean that represent a conway grid, with true values in the positions where cells are alive
 java.lang.String getPatternName()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Pentadecathalon

public Pentadecathalon()
Method Detail

getPattern

public boolean[][] getPattern()
This method should return a 2 dimensional array of boolean that represent a conway grid, with true values in the positions where cells are alive

Specified by:
getPattern in interface ConwayPattern
Returns:
array representing a conway grid

getPatternName

public java.lang.String getPatternName()
Specified by:
getPatternName in interface ConwayPattern
Returns:
the name of this pattern

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object