better time management for optimizer
This commit is contained in:
@@ -343,8 +343,14 @@ class LandmarkManager:
|
||||
score = int(score*self.church_coeff)
|
||||
duration = 60
|
||||
|
||||
else :
|
||||
elif "fountain" in elem.tags().values() :
|
||||
duration = 5
|
||||
|
||||
elif "park" in elem.tags().values() :
|
||||
duration = 30
|
||||
|
||||
else :
|
||||
duration = 15
|
||||
|
||||
# Generate the landmark and append it to the list
|
||||
landmark = Landmark(
|
||||
|
Reference in New Issue
Block a user