./random-walk.pl -benchmark -dimensions=4 -steps=2 -iterate -show_all Starting Random Walk at 2015_10_06_17:30:47.352 Parameters are 4 dimensions (which has 8 directions) and 2 steps ... Running 64 iterations - this can take a while ... for iteration 1 the directions are: 1 1 Step Direction D1 D2 D3 D4 1 1 -1 0 0 0 2 1 -2 0 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 2 the directions are: 1 2 Step Direction D1 D2 D3 D4 1 1 -1 0 0 0 2 2 0 0 0 0 Coordinates stepped on are: 1-1 for iteration 3 the directions are: 1 3 Step Direction D1 D2 D3 D4 1 1 -1 0 0 0 2 3 -1 -1 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 4 the directions are: 1 4 Step Direction D1 D2 D3 D4 1 1 -1 0 0 0 2 4 -1 1 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 5 the directions are: 1 5 Step Direction D1 D2 D3 D4 1 1 -1 0 0 0 2 5 -1 0 -1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 6 the directions are: 1 6 Step Direction D1 D2 D3 D4 1 1 -1 0 0 0 2 6 -1 0 1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 7 the directions are: 1 7 Step Direction D1 D2 D3 D4 1 1 -1 0 0 0 2 7 -1 0 0 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 8 the directions are: 1 8 Step Direction D1 D2 D3 D4 1 1 -1 0 0 0 2 8 -1 0 0 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 9 the directions are: 2 1 Step Direction D1 D2 D3 D4 1 2 1 0 0 0 2 1 0 0 0 0 Coordinates stepped on are: 1-1 for iteration 10 the directions are: 2 2 Step Direction D1 D2 D3 D4 1 2 1 0 0 0 2 2 2 0 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 11 the directions are: 2 3 Step Direction D1 D2 D3 D4 1 2 1 0 0 0 2 3 1 -1 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 12 the directions are: 2 4 Step Direction D1 D2 D3 D4 1 2 1 0 0 0 2 4 1 1 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 13 the directions are: 2 5 Step Direction D1 D2 D3 D4 1 2 1 0 0 0 2 5 1 0 -1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 14 the directions are: 2 6 Step Direction D1 D2 D3 D4 1 2 1 0 0 0 2 6 1 0 1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 15 the directions are: 2 7 Step Direction D1 D2 D3 D4 1 2 1 0 0 0 2 7 1 0 0 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 16 the directions are: 2 8 Step Direction D1 D2 D3 D4 1 2 1 0 0 0 2 8 1 0 0 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 17 the directions are: 3 1 Step Direction D1 D2 D3 D4 1 3 0 -1 0 0 2 1 -1 -1 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 18 the directions are: 3 2 Step Direction D1 D2 D3 D4 1 3 0 -1 0 0 2 2 1 -1 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 19 the directions are: 3 3 Step Direction D1 D2 D3 D4 1 3 0 -1 0 0 2 3 0 -2 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 20 the directions are: 3 4 Step Direction D1 D2 D3 D4 1 3 0 -1 0 0 2 4 0 0 0 0 Coordinates stepped on are: 1-1 for iteration 21 the directions are: 3 5 Step Direction D1 D2 D3 D4 1 3 0 -1 0 0 2 5 0 -1 -1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 22 the directions are: 3 6 Step Direction D1 D2 D3 D4 1 3 0 -1 0 0 2 6 0 -1 1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 23 the directions are: 3 7 Step Direction D1 D2 D3 D4 1 3 0 -1 0 0 2 7 0 -1 0 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 24 the directions are: 3 8 Step Direction D1 D2 D3 D4 1 3 0 -1 0 0 2 8 0 -1 0 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 25 the directions are: 4 1 Step Direction D1 D2 D3 D4 1 4 0 1 0 0 2 1 -1 1 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 26 the directions are: 4 2 Step Direction D1 D2 D3 D4 1 4 0 1 0 0 2 2 1 1 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 27 the directions are: 4 3 Step Direction D1 D2 D3 D4 1 4 0 1 0 0 2 3 0 0 0 0 Coordinates stepped on are: 1-1 for iteration 28 the directions are: 4 4 Step Direction D1 D2 D3 D4 1 4 0 1 0 0 2 4 0 2 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 29 the directions are: 4 5 Step Direction D1 D2 D3 D4 1 4 0 1 0 0 2 5 0 1 -1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 30 the directions are: 4 6 Step Direction D1 D2 D3 D4 1 4 0 1 0 0 2 6 0 1 1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 31 the directions are: 4 7 Step Direction D1 D2 D3 D4 1 4 0 1 0 0 2 7 0 1 0 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 32 the directions are: 4 8 Step Direction D1 D2 D3 D4 1 4 0 1 0 0 2 8 0 1 0 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 33 the directions are: 5 1 Step Direction D1 D2 D3 D4 1 5 0 0 -1 0 2 1 -1 0 -1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 34 the directions are: 5 2 Step Direction D1 D2 D3 D4 1 5 0 0 -1 0 2 2 1 0 -1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 35 the directions are: 5 3 Step Direction D1 D2 D3 D4 1 5 0 0 -1 0 2 3 0 -1 -1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 36 the directions are: 5 4 Step Direction D1 D2 D3 D4 1 5 0 0 -1 0 2 4 0 1 -1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 37 the directions are: 5 5 Step Direction D1 D2 D3 D4 1 5 0 0 -1 0 2 5 0 0 -2 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 38 the directions are: 5 6 Step Direction D1 D2 D3 D4 1 5 0 0 -1 0 2 6 0 0 0 0 Coordinates stepped on are: 1-1 for iteration 39 the directions are: 5 7 Step Direction D1 D2 D3 D4 1 5 0 0 -1 0 2 7 0 0 -1 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 40 the directions are: 5 8 Step Direction D1 D2 D3 D4 1 5 0 0 -1 0 2 8 0 0 -1 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 41 the directions are: 6 1 Step Direction D1 D2 D3 D4 1 6 0 0 1 0 2 1 -1 0 1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 42 the directions are: 6 2 Step Direction D1 D2 D3 D4 1 6 0 0 1 0 2 2 1 0 1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 43 the directions are: 6 3 Step Direction D1 D2 D3 D4 1 6 0 0 1 0 2 3 0 -1 1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 44 the directions are: 6 4 Step Direction D1 D2 D3 D4 1 6 0 0 1 0 2 4 0 1 1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 45 the directions are: 6 5 Step Direction D1 D2 D3 D4 1 6 0 0 1 0 2 5 0 0 0 0 Coordinates stepped on are: 1-1 for iteration 46 the directions are: 6 6 Step Direction D1 D2 D3 D4 1 6 0 0 1 0 2 6 0 0 2 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 47 the directions are: 6 7 Step Direction D1 D2 D3 D4 1 6 0 0 1 0 2 7 0 0 1 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 48 the directions are: 6 8 Step Direction D1 D2 D3 D4 1 6 0 0 1 0 2 8 0 0 1 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 49 the directions are: 7 1 Step Direction D1 D2 D3 D4 1 7 0 0 0 -1 2 1 -1 0 0 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 50 the directions are: 7 2 Step Direction D1 D2 D3 D4 1 7 0 0 0 -1 2 2 1 0 0 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 51 the directions are: 7 3 Step Direction D1 D2 D3 D4 1 7 0 0 0 -1 2 3 0 -1 0 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 52 the directions are: 7 4 Step Direction D1 D2 D3 D4 1 7 0 0 0 -1 2 4 0 1 0 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 53 the directions are: 7 5 Step Direction D1 D2 D3 D4 1 7 0 0 0 -1 2 5 0 0 -1 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 54 the directions are: 7 6 Step Direction D1 D2 D3 D4 1 7 0 0 0 -1 2 6 0 0 1 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 55 the directions are: 7 7 Step Direction D1 D2 D3 D4 1 7 0 0 0 -1 2 7 0 0 0 -2 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 56 the directions are: 7 8 Step Direction D1 D2 D3 D4 1 7 0 0 0 -1 2 8 0 0 0 0 Coordinates stepped on are: 1-1 for iteration 57 the directions are: 8 1 Step Direction D1 D2 D3 D4 1 8 0 0 0 1 2 1 -1 0 0 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 58 the directions are: 8 2 Step Direction D1 D2 D3 D4 1 8 0 0 0 1 2 2 1 0 0 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 59 the directions are: 8 3 Step Direction D1 D2 D3 D4 1 8 0 0 0 1 2 3 0 -1 0 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 60 the directions are: 8 4 Step Direction D1 D2 D3 D4 1 8 0 0 0 1 2 4 0 1 0 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 61 the directions are: 8 5 Step Direction D1 D2 D3 D4 1 8 0 0 0 1 2 5 0 0 -1 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 62 the directions are: 8 6 Step Direction D1 D2 D3 D4 1 8 0 0 0 1 2 6 0 0 1 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 63 the directions are: 8 7 Step Direction D1 D2 D3 D4 1 8 0 0 0 1 2 7 0 0 0 0 Coordinates stepped on are: 1-1 for iteration 64 the directions are: 8 8 Step Direction D1 D2 D3 D4 1 8 0 0 0 1 2 8 0 0 0 2 Coordinates stepped on are: 1-1 Never returned to orgin Frequency Stepped Ons 64 1-1 64 Total Routes 8 Returned to orgin which is 12% Frequency Coordinate 8 (-1,0,0,0) 8 (0,0,0,-1) 8 (0,0,0,0) 8 (0,0,0,1) 8 (0,-1,0,0) 8 (0,1,0,0) 8 (0,0,-1,0) 8 (1,0,0,0) 8 (0,0,1,0) 2 (0,1,0,-1) 2 (0,0,1,-1) 2 (0,1,1,0) 2 (1,1,0,0) 2 (0,1,0,1) 2 (0,1,-1,0) 2 (0,-1,0,1) 2 (-1,0,-1,0) 2 (1,0,1,0) 2 (1,0,0,1) 2 (0,-1,-1,0) 2 (1,0,0,-1) 2 (-1,0,0,1) 2 (1,0,-1,0) 2 (-1,0,0,-1) 2 (-1,1,0,0) 2 (1,-1,0,0) 2 (0,0,-1,1) 2 (0,-1,1,0) 2 (0,-1,0,-1) 2 (0,0,1,1) 2 (0,0,-1,-1) 2 (-1,0,1,0) 2 (-1,-1,0,0) 1 (0,0,0,2) 1 (0,-2,0,0) 1 (0,2,0,0) 1 (0,0,2,0) 1 (0,0,0,-2) 1 (-2,0,0,0) 1 (2,0,0,0) 1 (0,0,-2,0) Direction Frequency 1 16 2 16 3 16 4 16 5 16 6 16 7 16 8 16 Distance Frequency Cumulative 0 8 1 72 50% 2 128 100% For Random Walk of 4 dimensions and 2 steps, distance at which N percent of coordinates are contained 1 10% 1 50% 2 90% 2 100% Timing Data dumped at 2015_10_06_17:30:47.356 000_start : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) 101_end_of_program : 0.003 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) 999_end : 0.003 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU)