-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactoring router names to have everything in one place #12
- Loading branch information
Showing
23 changed files
with
152 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
/****************************************************************************/ | ||
// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo | ||
// Copyright (C) 2007-2023 German Aerospace Center (DLR) and others. | ||
// This program and the accompanying materials are made available under the | ||
// terms of the Eclipse Public License 2.0 which is available at | ||
// https://www.eclipse.org/legal/epl-2.0/ | ||
// This Source Code may also be made available under the following Secondary | ||
// Licenses when the conditions for such availability set forth in the Eclipse | ||
// Public License 2.0 are satisfied: GNU General Public License, version 2 | ||
// or later which is available at | ||
// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html | ||
// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later | ||
/****************************************************************************/ | ||
/// @file MSRouterDefs.h | ||
/// @author Michael Behrisch | ||
/// @date 2023-12-21 | ||
/// | ||
// Type definitions for routers in the microsim context | ||
/****************************************************************************/ | ||
#pragma once | ||
#include <config.h> | ||
|
||
#include <memory> | ||
#include <utils/router/SUMOAbstractRouter.h> | ||
#include <utils/router/RouterProvider.h> | ||
|
||
|
||
// =========================================================================== | ||
// class declarations and typedefs | ||
// =========================================================================== | ||
class MSEdge; | ||
class MSLane; | ||
class MSJunction; | ||
class MSRoute; | ||
class SUMOVehicle; | ||
|
||
typedef std::vector<MSEdge*> MSEdgeVector; | ||
typedef std::shared_ptr<const MSRoute> ConstMSRoutePtr; | ||
typedef RouterProvider<MSEdge, MSLane, MSJunction, SUMOVehicle> MSRouterProvider; | ||
typedef SUMOAbstractRouter<MSEdge, SUMOVehicle> MSVehicleRouter; | ||
typedef IntermodalRouter<MSEdge, MSLane, MSJunction, SUMOVehicle> MSTransportableRouter; | ||
typedef PedestrianRouter<MSEdge, MSLane, MSJunction, SUMOVehicle> MSPedestrianRouter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.