Adds a new routing profile to the model.
(self, *, name: str = "")
| 346 | return edge |
| 347 | |
| 348 | def add_profile(self, *, name: str = "") -> Profile: |
| 349 | """ |
| 350 | Adds a new routing profile to the model. |
| 351 | """ |
| 352 | profile = Profile(name=name) |
| 353 | self._profiles.append(profile) |
| 354 | return profile |
| 355 | |
| 356 | def add_vehicle_type( |
| 357 | self, |