./random-walk.pl -benchmark -dimensions=3 -steps=5 -iterate -show_coords_freq -show_directions -show_distances -show_stepped_ons Starting Random Walk at 2015_10_06_17:30:47.119 Parameters are 3 dimensions (which has 6 directions) and 5 steps ... Running 7776 iterations - this can take a while ... Frequency Stepped Ons 4356 1-1-1-1-1 1044 1-1-1-1-2 900 1-1-2-1-1 720 1-1-1-2-1 360 1-1-1-2-2 180 1-1-2-1-3 180 1-1-2-2-1 36 1-1-2-2-3 7776 Total Routes 1620 Returned to orgin which is 20% Frequency Coordinate 2146 (0,-1,0) 2146 (0,1,0) 2146 (0,0,-1) 2146 (1,0,0) 2146 (-1,0,0) 2146 (0,0,1) 1836 (0,0,0) 720 (-1,0,1) 720 (0,1,-1) 720 (0,1,1) 720 (-1,0,-1) 720 (-1,1,0) 720 (0,-1,-1) 720 (1,0,-1) 720 (-1,-1,0) 720 (0,-1,1) 720 (1,-1,0) 720 (1,1,0) 720 (1,0,1) 396 (1,-1,-1) 396 (-1,-1,1) 396 (1,1,1) 396 (1,1,-1) 396 (-1,1,1) 396 (-1,1,-1) 396 (-1,-1,-1) 396 (1,-1,1) 384 (0,0,2) 384 (0,-2,0) 384 (0,2,0) 384 (-2,0,0) 384 (0,0,-2) 384 (2,0,0) 218 (2,1,0) 218 (0,2,-1) 218 (0,-2,1) 218 (-1,0,-2) 218 (-2,0,1) 218 (2,0,1) 218 (0,-1,2) 218 (1,0,2) 218 (0,2,1) 218 (-1,-2,0) 218 (2,0,-1) 218 (2,-1,0) 218 (-2,1,0) 218 (-2,-1,0) 218 (0,1,2) 218 (-2,0,-1) 218 (1,0,-2) 218 (1,-2,0) 218 (-1,0,2) 218 (0,-1,-2) 218 (0,-2,-1) 218 (0,1,-2) 218 (-1,2,0) 218 (1,2,0) 81 (0,3,0) 81 (0,0,-3) 81 (3,0,0) 81 (0,0,3) 81 (-3,0,0) 81 (0,-3,0) 72 (-1,1,-2) 72 (-2,1,-1) 72 (-1,-2,-1) 72 (1,2,1) 72 (1,1,2) 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3,-1) 20 (1,1,3) 20 (1,3,-1) 20 (1,3,1) 20 (-3,1,1) 20 (-1,1,3) 20 (-1,3,1) 20 (-3,-1,1) 20 (-1,-3,-1) 20 (-1,1,-3) 20 (3,1,-1) 20 (-3,-1,-1) 20 (1,-3,-1) 10 (3,0,2) 10 (0,-2,3) 10 (-3,0,-2) 10 (0,3,-2) 10 (-2,0,-3) 10 (0,2,-3) 10 (0,2,3) 10 (2,0,-3) 10 (-2,0,3) 10 (2,0,3) 10 (2,3,0) 10 (0,3,2) 10 (2,-3,0) 10 (0,-2,-3) 10 (3,-2,0) 10 (-2,-3,0) 10 (0,-3,-2) 10 (-3,0,2) 10 (0,-3,2) 10 (-3,-2,0) 10 (-3,2,0) 10 (-2,3,0) 10 (3,0,-2) 10 (3,2,0) 6 (0,0,4) 6 (0,0,-4) 6 (0,-4,0) 6 (0,4,0) 6 (-4,0,0) 6 (4,0,0) 5 (-1,-4,0) 5 (-4,0,1) 5 (-1,0,-4) 5 (0,-4,1) 5 (0,4,1) 5 (0,-1,-4) 5 (1,0,-4) 5 (-4,1,0) 5 (4,-1,0) 5 (4,0,1) 5 (0,-1,4) 5 (1,0,4) 5 (4,0,-1) 5 (-4,-1,0) 5 (0,-4,-1) 5 (0,4,-1) 5 (-1,4,0) 5 (0,1,-4) 5 (4,1,0) 5 (1,-4,0) 5 (1,4,0) 5 (0,1,4) 5 (-1,0,4) 5 (-4,0,-1) 1 (0,5,0) 1 (0,-5,0) 1 (5,0,0) 1 (-5,0,0) 1 (0,0,-5) 1 (0,0,5) Direction Frequency 1 6480 2 6480 3 6480 4 6480 5 6480 6 6480 Distance Frequency Cumulative 0 1836 1 14712 10% 2 28824 50% 3 37422 90% 4 38754 5 38880 100% For Random Walk of 3 dimensions and 5 steps, distance at which N percent of coordinates are contained 1 10% 2 50% 3 90% 5 100% Timing Data dumped at 2015_10_06_17:30:47.283 000_start : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) 101_end_of_program : 0.163 wallclock secs ( 0.16 usr + 0.00 sys = 0.16 CPU) 999_end : 0.163 wallclock secs ( 0.16 usr + 0.00 sys = 0.16 CPU)