backend/new-overpass #52
| @@ -24,7 +24,6 @@ Refer to the READMEs in the `frontend` and `backend` directories for instruction | ||||
|     - `google_maps_flutter` plugin | ||||
| - Python 3 | ||||
|     - `fastapi` | ||||
|     - `numpy, scipy` | ||||
| - Docker | ||||
|  | ||||
|  | ||||
|   | ||||
| @@ -18,12 +18,10 @@ numpy = "*" | ||||
| fastapi = "*" | ||||
| pydantic = "*" | ||||
| shapely = "*" | ||||
| scipy = "*" | ||||
| osmpythontools = "*" | ||||
| pywikibot = "*" | ||||
| pymemcache = "*" | ||||
| fastapi-cli = "*" | ||||
| scikit-learn = "*" | ||||
| pyqt6 = "*" | ||||
| loki-logger-handler = "*" | ||||
| 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 .utils.landmarks_manager import LandmarkManager | ||||
| from .utils.toilets_manager import ToiletsManager | ||||
| from .utils.optimizer import Optimizer | ||||
| from .utils.refiner import Refiner | ||||
| from .optimization.optimizer import Optimizer | ||||
| from .optimization.refiner import Refiner | ||||
| from .cache import client as cache_client | ||||
|  | ||||
| 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 | ||||
| 
 | ||||
| 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 | ||||
| 
 | ||||
| 
 | ||||
| @@ -5,8 +5,8 @@ import yaml | ||||
| from shapely import buffer, LineString, Point, Polygon, MultiPoint, concave_hull | ||||
| 
 | ||||
| from ..structs.landmark import Landmark | ||||
| from .get_time_distance import get_time | ||||
| from .take_most_important import take_most_important | ||||
| from ..utils.get_time_distance import get_time | ||||
| from ..utils.take_most_important import take_most_important | ||||
| from .optimizer import Optimizer | ||||
| from ..constants import OPTIMIZER_PARAMETERS_PATH | ||||
| 
 | ||||
		Reference in New Issue
	
	Block a user