org.univ.paris5.GameOfLife.algorithms
Class Algorithm_6_States

java.lang.Object
  extended by org.univ.paris5.GameOfLife.Algorithm
      extended by org.univ.paris5.GameOfLife.algorithms.Algorithm_6_States

public class Algorithm_6_States
extends Algorithm

One algoritm with 3 state.


Field Summary
 
Fields inherited from class org.univ.paris5.GameOfLife.Algorithm
neighbor_loop, rules, states
 
Constructor Summary
Algorithm_6_States()
           
 
Method Summary
 State getCellStateByNeighbor(State state, Cell[] neighbor)
          The method abstract, you must redefine this method in your class Algorithm.
 
Methods inherited from class org.univ.paris5.GameOfLife.Algorithm
getNumberLoop, getRules, getStates, setNumberLoop, setRules
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Algorithm_6_States

public Algorithm_6_States()
Method Detail

getCellStateByNeighbor

public State getCellStateByNeighbor(State state,
                                    Cell[] neighbor)
Description copied from class: Algorithm
The method abstract, you must redefine this method in your class Algorithm.

Specified by:
getCellStateByNeighbor in class Algorithm
Returns: