./random-walk.pl -benchmark -dimensions=3 -steps=2 -iterate -show_all Starting Random Walk at 2015_10_06_17:30:46.978 Parameters are 3 dimensions (which has 6 directions) and 2 steps ... Running 36 iterations - this can take a while ... for iteration 1 the directions are: 1 1 Step Direction D1 D2 D3 1 1 -1 0 0 2 1 -2 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 1 1 -1 0 0 2 2 0 0 0 Coordinates stepped on are: 1-1 for iteration 3 the directions are: 1 3 Step Direction D1 D2 D3 1 1 -1 0 0 2 3 -1 -1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 4 the directions are: 1 4 Step Direction D1 D2 D3 1 1 -1 0 0 2 4 -1 1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 5 the directions are: 1 5 Step Direction D1 D2 D3 1 1 -1 0 0 2 5 -1 0 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 6 the directions are: 1 6 Step Direction D1 D2 D3 1 1 -1 0 0 2 6 -1 0 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 7 the directions are: 2 1 Step Direction D1 D2 D3 1 2 1 0 0 2 1 0 0 0 Coordinates stepped on are: 1-1 for iteration 8 the directions are: 2 2 Step Direction D1 D2 D3 1 2 1 0 0 2 2 2 0 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 9 the directions are: 2 3 Step Direction D1 D2 D3 1 2 1 0 0 2 3 1 -1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 10 the directions are: 2 4 Step Direction D1 D2 D3 1 2 1 0 0 2 4 1 1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 11 the directions are: 2 5 Step Direction D1 D2 D3 1 2 1 0 0 2 5 1 0 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 12 the directions are: 2 6 Step Direction D1 D2 D3 1 2 1 0 0 2 6 1 0 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 13 the directions are: 3 1 Step Direction D1 D2 D3 1 3 0 -1 0 2 1 -1 -1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 14 the directions are: 3 2 Step Direction D1 D2 D3 1 3 0 -1 0 2 2 1 -1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 15 the directions are: 3 3 Step Direction D1 D2 D3 1 3 0 -1 0 2 3 0 -2 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 16 the directions are: 3 4 Step Direction D1 D2 D3 1 3 0 -1 0 2 4 0 0 0 Coordinates stepped on are: 1-1 for iteration 17 the directions are: 3 5 Step Direction D1 D2 D3 1 3 0 -1 0 2 5 0 -1 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 18 the directions are: 3 6 Step Direction D1 D2 D3 1 3 0 -1 0 2 6 0 -1 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 19 the directions are: 4 1 Step Direction D1 D2 D3 1 4 0 1 0 2 1 -1 1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 20 the directions are: 4 2 Step Direction D1 D2 D3 1 4 0 1 0 2 2 1 1 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 21 the directions are: 4 3 Step Direction D1 D2 D3 1 4 0 1 0 2 3 0 0 0 Coordinates stepped on are: 1-1 for iteration 22 the directions are: 4 4 Step Direction D1 D2 D3 1 4 0 1 0 2 4 0 2 0 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 23 the directions are: 4 5 Step Direction D1 D2 D3 1 4 0 1 0 2 5 0 1 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 24 the directions are: 4 6 Step Direction D1 D2 D3 1 4 0 1 0 2 6 0 1 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 25 the directions are: 5 1 Step Direction D1 D2 D3 1 5 0 0 -1 2 1 -1 0 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 26 the directions are: 5 2 Step Direction D1 D2 D3 1 5 0 0 -1 2 2 1 0 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 27 the directions are: 5 3 Step Direction D1 D2 D3 1 5 0 0 -1 2 3 0 -1 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 28 the directions are: 5 4 Step Direction D1 D2 D3 1 5 0 0 -1 2 4 0 1 -1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 29 the directions are: 5 5 Step Direction D1 D2 D3 1 5 0 0 -1 2 5 0 0 -2 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 30 the directions are: 5 6 Step Direction D1 D2 D3 1 5 0 0 -1 2 6 0 0 0 Coordinates stepped on are: 1-1 for iteration 31 the directions are: 6 1 Step Direction D1 D2 D3 1 6 0 0 1 2 1 -1 0 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 32 the directions are: 6 2 Step Direction D1 D2 D3 1 6 0 0 1 2 2 1 0 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 33 the directions are: 6 3 Step Direction D1 D2 D3 1 6 0 0 1 2 3 0 -1 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 34 the directions are: 6 4 Step Direction D1 D2 D3 1 6 0 0 1 2 4 0 1 1 Coordinates stepped on are: 1-1 Never returned to orgin for iteration 35 the directions are: 6 5 Step Direction D1 D2 D3 1 6 0 0 1 2 5 0 0 0 Coordinates stepped on are: 1-1 for iteration 36 the directions are: 6 6 Step Direction D1 D2 D3 1 6 0 0 1 2 6 0 0 2 Coordinates stepped on are: 1-1 Never returned to orgin Frequency Stepped Ons 36 1-1 36 Total Routes 6 Returned to orgin which is 16% Frequency Coordinate 6 (0,-1,0) 6 (-1,0,0) 6 (0,0,0) 6 (0,0,-1) 6 (0,1,0) 6 (1,0,0) 6 (0,0,1) 2 (-1,0,-1) 2 (0,1,-1) 2 (0,-1,1) 2 (1,-1,0) 2 (-1,1,0) 2 (0,1,1) 2 (-1,0,1) 2 (1,0,1) 2 (1,0,-1) 2 (-1,-1,0) 2 (1,1,0) 2 (0,-1,-1) 1 (0,0,-2) 1 (0,-2,0) 1 (0,2,0) 1 (-2,0,0) 1 (2,0,0) 1 (0,0,2) Direction Frequency 1 12 2 12 3 12 4 12 5 12 6 12 Distance Frequency Cumulative 0 6 1 42 50% 2 72 100% For Random Walk of 3 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:46.980 000_start : 0.000 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) 101_end_of_program : 0.001 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU) 999_end : 0.001 wallclock secs ( 0.00 usr + 0.00 sys = 0.00 CPU)