./random-walk.pl -benchmark -dimensions=3 -steps=4 -iterate -show_coords_freq -show_directions -show_distances -show_stepped_ons Starting Random Walk at 2015_10_06_17:30:47.061 Parameters are 3 dimensions (which has 6 directions) and 4 steps ... Running 1296 iterations - this can take a while ... Frequency Stepped Ons 900 1-1-1-1 180 1-1-2-1 180 1-1-1-2 36 1-1-2-2 1296 Total Routes 270 Returned to orgin which is 20% Frequency Coordinate 306 (0,-1,0) 306 (0,1,0) 306 (0,0,-1) 306 (1,0,0) 306 (-1,0,0) 306 (0,0,1) 306 (0,0,0) 120 (-1,0,1) 120 (0,1,-1) 120 (0,1,1) 120 (-1,0,-1) 120 (-1,1,0) 120 (0,-1,-1) 120 (1,0,-1) 120 (-1,-1,0) 120 (0,-1,1) 120 (1,-1,0) 120 (1,1,0) 120 (1,0,1) 64 (0,0,2) 64 (0,-2,0) 64 (0,2,0) 64 (-2,0,0) 64 (0,0,-2) 64 (2,0,0) 36 (1,-1,-1) 36 (-1,-1,1) 36 (1,1,1) 36 (1,1,-1) 36 (-1,1,1) 36 (-1,1,-1) 36 (-1,-1,-1) 36 (1,-1,1) 18 (2,1,0) 18 (0,2,-1) 18 (0,-2,1) 18 (-1,0,-2) 18 (-2,0,1) 18 (2,0,1) 18 (0,-1,2) 18 (1,0,2) 18 (0,2,1) 18 (-1,-2,0) 18 (2,0,-1) 18 (2,-1,0) 18 (-2,1,0) 18 (-2,-1,0) 18 (0,1,2) 18 (-2,0,-1) 18 (1,0,-2) 18 (1,-2,0) 18 (-1,0,2) 18 (0,-1,-2) 18 (0,-2,-1) 18 (0,1,-2) 18 (-1,2,0) 18 (1,2,0) 12 (-1,1,-2) 12 (-2,1,-1) 12 (-1,-2,-1) 12 (1,2,1) 12 (1,1,2) 12 (-1,-2,1) 12 (-2,-1,1) 12 (1,-2,-1) 12 (1,-2,1) 12 (-2,1,1) 12 (-1,-1,-2) 12 (1,-1,2) 12 (-1,1,2) 12 (-1,2,1) 12 (-2,-1,-1) 12 (2,1,1) 12 (1,1,-2) 12 (2,-1,-1) 12 (2,1,-1) 12 (1,2,-1) 12 (1,-1,-2) 12 (-1,-1,2) 12 (-1,2,-1) 12 (2,-1,1) 6 (0,-2,-2) 6 (-2,2,0) 6 (2,2,0) 6 (-2,-2,0) 6 (2,-2,0) 6 (0,3,0) 6 (0,0,-3) 6 (0,-2,2) 6 (3,0,0) 6 (0,0,3) 6 (0,2,-2) 6 (-3,0,0) 6 (-2,0,-2) 6 (-2,0,2) 6 (0,2,2) 6 (2,0,2) 6 (0,-3,0) 6 (2,0,-2) 4 (1,3,0) 4 (3,0,1) 4 (1,-3,0) 4 (0,1,3) 4 (-3,0,1) 4 (0,-1,3) 4 (0,-3,-1) 4 (-3,-1,0) 4 (1,0,-3) 4 (-1,0,3) 4 (0,1,-3) 4 (0,-3,1) 4 (3,0,-1) 4 (-3,1,0) 4 (-3,0,-1) 4 (-1,0,-3) 4 (0,-1,-3) 4 (0,3,1) 4 (3,-1,0) 4 (0,3,-1) 4 (-1,-3,0) 4 (-1,3,0) 4 (1,0,3) 4 (3,1,0) 1 (0,0,4) 1 (0,0,-4) 1 (0,-4,0) 1 (0,4,0) 1 (-4,0,0) 1 (4,0,0) Direction Frequency 1 864 2 864 3 864 4 864 5 864 6 864 Distance Frequency Cumulative 0 306 1 2142 10% 2 4254 50% 3 5082 90% 4 5184 100% For Random Walk of 3 dimensions and 4 steps, distance at which N percent of coordinates are contained 1 10% 2 50% 3 90% 4 100% Timing Data dumped at 2015_10_06_17:30:47.085 000_start : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) 101_end_of_program : 0.023 wallclock secs ( 0.02 usr + 0.00 sys = 0.02 CPU) 999_end : 0.023 wallclock secs ( 0.02 usr + 0.00 sys = 0.02 CPU)