Class RuleTreeGen

java.lang.Object
application.model.rules.ruleloader.ruletree.RuleTreeGen

public class RuleTreeGen
extends java.lang.Object
Mostly taken from Golly
  • Constructor Summary

    Constructors 
    Constructor Description
    RuleTreeGen​(int numStates, Coordinate[] neighbourhood, java.util.function.BiFunction<java.lang.Integer,​int[],​java.lang.Integer> f)
    Constructs a rule tree with the provided parameters
  • Method Summary

    Modifier and Type Method Description
    Ruletree getRuleTree()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • RuleTreeGen

      public RuleTreeGen​(int numStates, Coordinate[] neighbourhood, java.util.function.BiFunction<java.lang.Integer,​int[],​java.lang.Integer> f)
      Constructs a rule tree with the provided parameters
      Parameters:
      numStates - The number of states in the ruletree
      neighbourhood - The neighbourhood of the ruletree
      f - The transition function of the ruletree
  • Method Details