void function ( ) { int loc0 = generateRandomI ( ) ; int loc1 = generateRandomJ ( ) ; while ( true ) { if ( maze [ loc0 ] [ loc1 ] == 1 && ! edgePoint ( loc0 , loc1 ) ) { maze [ loc0 ] [ loc1 ] = 2 ; mydesk = new Point ( loc0 , loc1 ) ; break ; } loc0 = generateRandomI ( ) ; loc1 = generateRandomJ ( ) ; } }
placing my desk concode_field_sep Point current concode_elem_sep Node previous concode_elem_sep Point machine concode_elem_sep int[] directionJ concode_elem_sep int width concode_elem_sep Vector<Vector<Point>> sol concode_elem_sep int[][] maze concode_elem_sep Point mydesk concode_elem_sep int height concode_elem_sep int[] directionI concode_elem_sep double occupiedPercent concode_field_sep int generateRandomJ concode_elem_sep void addSolution concode_elem_sep int generateRandomI concode_elem_sep boolean canPut concode_elem_sep String printMaze concode_elem_sep boolean validPosition concode_elem_sep String printSolution concode_elem_sep void findSolution concode_elem_sep void generateValidMaze concode_elem_sep void generate concode_elem_sep int generateRandomDirection concode_elem_sep void placeMachine concode_elem_sep boolean edgePoint