Class ExampleGrid

    • Constructor Detail

      • ExampleGrid

        public ExampleGrid​(int xsize,
                           int ysize)
    • Method Detail

      • constructMachine

        public static <S,​A extends MutableMealyMachine<S,​Character,​?,​Integer>> A constructMachine​(A fm,
                                                                                                                          int xsize,
                                                                                                                          int ysize)
        Construct and return a machine representation of this example.
        Parameters:
        xsize - number of states in x direction
        ysize - number of states in y direction
        Returns:
        a Mealy machine with (xsize * ysize) states
      • createExample

        public static ExampleGrid createExample​(int xsize,
                                                int ysize)