backend/new-overpass #52
| @@ -24,7 +24,6 @@ Refer to the READMEs in the `frontend` and `backend` directories for instruction | |||||||
|     - `google_maps_flutter` plugin |     - `google_maps_flutter` plugin | ||||||
| - Python 3 | - Python 3 | ||||||
|     - `fastapi` |     - `fastapi` | ||||||
|     - `numpy, scipy` |  | ||||||
| - Docker | - Docker | ||||||
|  |  | ||||||
|  |  | ||||||
|   | |||||||
| @@ -18,12 +18,10 @@ numpy = "*" | |||||||
| fastapi = "*" | fastapi = "*" | ||||||
| pydantic = "*" | pydantic = "*" | ||||||
| shapely = "*" | shapely = "*" | ||||||
| scipy = "*" |  | ||||||
| osmpythontools = "*" |  | ||||||
| pywikibot = "*" |  | ||||||
| pymemcache = "*" | pymemcache = "*" | ||||||
| fastapi-cli = "*" | fastapi-cli = "*" | ||||||
| scikit-learn = "*" | scikit-learn = "*" | ||||||
| pyqt6 = "*" | pyqt6 = "*" | ||||||
| loki-logger-handler = "*" | loki-logger-handler = "*" | ||||||
| pulp = "*" | pulp = "*" | ||||||
|  | scipy = "*" | ||||||
|   | |||||||
							
								
								
									
										1122
									
								
								backend/Pipfile.lock
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1122
									
								
								backend/Pipfile.lock
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @@ -12,8 +12,8 @@ from .structs.linked_landmarks import LinkedLandmarks | |||||||
| from .structs.trip import Trip | from .structs.trip import Trip | ||||||
| from .utils.landmarks_manager import LandmarkManager | from .utils.landmarks_manager import LandmarkManager | ||||||
| from .utils.toilets_manager import ToiletsManager | from .utils.toilets_manager import ToiletsManager | ||||||
| from .utils.optimizer import Optimizer | from .optimization.optimizer import Optimizer | ||||||
| from .utils.refiner import Refiner | from .optimization.refiner import Refiner | ||||||
| from .cache import client as cache_client | from .cache import client as cache_client | ||||||
|  |  | ||||||
| logger = logging.getLogger(__name__) | logger = logging.getLogger(__name__) | ||||||
|   | |||||||
							
								
								
									
										0
									
								
								backend/src/optimization/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								backend/src/optimization/__init__.py
									
									
									
									
									
										Normal file
									
								
							| @@ -6,7 +6,7 @@ import numpy as np | |||||||
| import pulp as pl | import pulp as pl | ||||||
| 
 | 
 | ||||||
| from ..structs.landmark import Landmark | from ..structs.landmark import Landmark | ||||||
| from .get_time_distance import get_time | from ..utils.get_time_distance import get_time | ||||||
| from ..constants import OPTIMIZER_PARAMETERS_PATH | from ..constants import OPTIMIZER_PARAMETERS_PATH | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| @@ -5,8 +5,8 @@ import yaml | |||||||
| from shapely import buffer, LineString, Point, Polygon, MultiPoint, concave_hull | from shapely import buffer, LineString, Point, Polygon, MultiPoint, concave_hull | ||||||
| 
 | 
 | ||||||
| from ..structs.landmark import Landmark | from ..structs.landmark import Landmark | ||||||
| from .get_time_distance import get_time | from ..utils.get_time_distance import get_time | ||||||
| from .take_most_important import take_most_important | from ..utils.take_most_important import take_most_important | ||||||
| from .optimizer import Optimizer | from .optimizer import Optimizer | ||||||
| from ..constants import OPTIMIZER_PARAMETERS_PATH | from ..constants import OPTIMIZER_PARAMETERS_PATH | ||||||
| 
 | 
 | ||||||
		Reference in New Issue
	
	Block a user