mraps98

JS_BTSDistanceMatrix

Apr 28th, 2018
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. var distanceMatrix = [
  2.     [0,1,2,3,4,5,6,7,8,9,10,11,12,18,17,16,15,14,13,12,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25],
  3.     [1,0,1,2,3,4,5,6,7,8,9,10,11,17,16,15,14,13,12,11,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24],
  4.     [2,1,0,1,2,3,4,5,6,7,8,9,10,16,15,14,13,12,11,10,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23],
  5.     [3,2,1,0,1,2,3,4,5,6,7,8,9,15,14,13,12,11,10,9,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22],
  6.     [4,3,2,1,0,1,2,3,4,5,6,7,8,14,13,12,11,10,9,8,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],
  7.     [5,4,3,2,1,0,1,2,3,4,5,6,7,13,12,11,10,9,8,7,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],
  8.     [6,5,4,3,2,1,0,1,2,3,4,5,6,12,11,10,9,8,7,6,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],
  9.     [7,6,5,4,3,2,1,0,1,2,3,4,5,11,10,9,8,7,6,5,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],
  10.     [8,7,6,5,4,3,2,1,0,1,2,3,4,10,9,8,7,6,5,4,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],
  11.     [9,8,7,6,5,4,3,2,1,0,1,2,3,9,8,7,6,5,4,3,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],
  12.     [10,9,8,7,6,5,4,3,2,1,0,1,2,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],
  13.     [11,10,9,8,7,6,5,4,3,2,1,0,1,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14], //siam
  14.     [12,11,10,9,8,7,6,5,4,3,2,1,0,8,7,6,5,4,3,2,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],
  15.     [18,17,16,15,14,13,12,11,10,9,8,7,8,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21],
  16.     [17,16,15,14,13,12,11,10,9,8,7,6,7,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20],
  17.     [16,15,14,13,12,11,10,9,8,7,6,5,6,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19],
  18.     [15,14,13,12,11,10,9,8,7,6,5,4,5,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18],
  19.     [14,13,12,11,10,9,8,7,6,5,4,3,4,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17],
  20.     [13,12,11,10,9,8,7,6,5,4,3,2,3,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16],
  21.     [12,11,10,9,8,7,6,5,4,3,2,1,2,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15],
  22.     [11,10,9,8,7,6,5,4,3,2,1,0,1,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14], //siam
  23.     [12,11,10,9,8,7,6,5,4,3,2,1,2,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12,13],
  24.     [13,12,11,10,9,8,7,6,5,4,3,2,3,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11,12],
  25.     [14,13,12,11,10,9,8,7,6,5,4,3,4,10,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10,11],
  26.     [15,14,13,12,11,10,9,8,7,6,5,4,5,11,10,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9,10],
  27.     [16,15,14,13,12,11,10,9,8,7,6,5,6,12,11,10,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8,9],
  28.     [17,16,15,14,13,12,11,10,9,8,7,6,7,13,12,11,10,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7,8],
  29.     [18,17,16,15,14,13,12,11,10,9,8,7,8,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6,7],
  30.     [19,18,17,16,15,14,13,12,11,10,9,8,9,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5,6],
  31.     [20,19,18,17,16,15,14,13,12,11,10,9,10,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,1,2,3,4,5],
  32.     [21,20,19,18,17,16,15,14,13,12,11,10,11,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,1,2,3,4],
  33.     [22,21,20,19,18,17,16,15,14,13,12,11,12,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,1,2,3],
  34.     [23,22,21,20,19,18,17,16,15,14,13,12,13,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,1,2],
  35.     [24,23,22,21,20,19,18,17,16,15,14,13,14,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0,1],
  36.     [25,24,23,22,21,20,19,18,17,16,15,14,15,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]
  37.   ];
Advertisement
Add Comment
Please, Sign In to add comment