Package algs41

Class XMaze

java.lang.Object
algs41.XMaze

public class XMaze extends Object
  • Field Details

    • N

      private final int N
    • north

      private boolean[][] north
    • east

      private boolean[][] east
    • south

      private boolean[][] south
    • west

      private boolean[][] west
    • visited

      private boolean[][] visited
    • done

      private boolean done
  • Constructor Details

    • XMaze

      public XMaze(int N)
  • Method Details

    • init

      private void init()
    • generate

      private void generate(int x, int y)
    • generate

      private void generate()
    • solve

      private void solve(int x, int y)
    • solve

      public void solve()
    • draw

      public void draw()
    • main

      public static void main(String[] args)