fixed optimizer and added a member to Landmark class
All checks were successful
Build and push docker image / Build (pull_request) Successful in 2m16s
Build and release APK / Build APK (pull_request) Successful in 5m28s
Build web / Build Web (pull_request) Successful in 1m23s

This commit is contained in:
2024-06-11 10:46:09 +02:00
parent 53a5a9e873
commit af4d68f36f
4 changed files with 4991 additions and 5309 deletions

View File

@@ -79,16 +79,16 @@ def test4(coordinates: tuple[float, float]) -> List[Landmark]:
test = landmarks_short
test.append(finish)
test.insert(0, start)
test.append(finish)
max_walking_time = 4 # hours
visiting_order = solve_optimization(test, max_walking_time*60, True)
visiting_list = solve_optimization(test, max_walking_time*60, True)
return len(visiting_order)
return visiting_list
test4(tuple((48.834378, 2.322113)))
test4(tuple((48.8795156, 2.3660204)))