./random-walk.pl -benchmark -dimensions=4 -steps=1 -iterate -show_all Starting Random Walk at 2015_10_06_17:30:47.317 Parameters are 4 dimensions (which has 8 directions) and 1 steps ... Running 8 iterations - this can take a while ... for iteration 1 the directions are: 1 Step Direction D1 D2 D3 D4 1 1 -1 0 0 0 Coordinates stepped on are: 1 Never returned to orgin for iteration 2 the directions are: 2 Step Direction D1 D2 D3 D4 1 2 1 0 0 0 Coordinates stepped on are: 1 Never returned to orgin for iteration 3 the directions are: 3 Step Direction D1 D2 D3 D4 1 3 0 -1 0 0 Coordinates stepped on are: 1 Never returned to orgin for iteration 4 the directions are: 4 Step Direction D1 D2 D3 D4 1 4 0 1 0 0 Coordinates stepped on are: 1 Never returned to orgin for iteration 5 the directions are: 5 Step Direction D1 D2 D3 D4 1 5 0 0 -1 0 Coordinates stepped on are: 1 Never returned to orgin for iteration 6 the directions are: 6 Step Direction D1 D2 D3 D4 1 6 0 0 1 0 Coordinates stepped on are: 1 Never returned to orgin for iteration 7 the directions are: 7 Step Direction D1 D2 D3 D4 1 7 0 0 0 -1 Coordinates stepped on are: 1 Never returned to orgin for iteration 8 the directions are: 8 Step Direction D1 D2 D3 D4 1 8 0 0 0 1 Coordinates stepped on are: 1 Never returned to orgin Frequency Stepped Ons 8 1 8 Total Routes 0 Returned to orgin which is 00% Frequency Coordinate 1 (0,0,-1,0) 1 (0,0,0,1) 1 (1,0,0,0) 1 (0,-1,0,0) 1 (0,1,0,0) 1 (0,0,1,0) 1 (-1,0,0,0) 1 (0,0,0,-1) Direction Frequency 1 1 2 1 3 1 4 1 5 1 6 1 7 1 8 1 Distance Frequency Cumulative 0 0 Never returned to orgin 1 8 100% For Random Walk of 4 dimensions and 1 steps, distance at which N percent of coordinates are contained 1 10% 1 50% 1 90% 1 100% Timing Data dumped at 2015_10_06_17:30:47.318 000_start : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) 101_end_of_program : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) 999_end : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU)