|
|
@ -93,8 +93,8 @@ def findOneJump(data, x, size, height, err): |
|
|
|
|
|
|
|
|
|
|
|
def findAllJumps(data, size, height): |
|
|
|
def findAllJumps(data, size, height): |
|
|
|
possible_jump_list = [] |
|
|
|
possible_jump_list = [] |
|
|
|
for i in range(len(data - size): |
|
|
|
for i in range(len(data - size)): |
|
|
|
x = findOneJump(data, i, size, height, 0.9) |
|
|
|
x = findOneJump(data, i, size, height, 0.9) |
|
|
|
if x > 0: |
|
|
|
if x > 0: |
|
|
|
possible_jump_list.append(x) |
|
|
|
possible_jump_list.append(x) |
|
|
|
return possible_jump_list |
|
|
|
return possible_jump_list |
|
|
|