/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2001-2025 German Aerospace Center (DLR) and others.3// This program and the accompanying materials are made available under the4// terms of the Eclipse Public License 2.0 which is available at5// https://www.eclipse.org/legal/epl-2.0/6// This Source Code may also be made available under the following Secondary7// Licenses when the conditions for such availability set forth in the Eclipse8// Public License 2.0 are satisfied: GNU General Public License, version 29// or later which is available at10// https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html11// SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later12/****************************************************************************/13/// @file ROMAEdgeBuilder.h14/// @author Daniel Krajzewicz15/// @author Laura Bieker16/// @author Michael Behrisch17/// @date Tue, 20 Jan 200418///19// Interface for building instances of duarouter-edges20/****************************************************************************/21#pragma once22#include <config.h>2324#include <router/ROAbstractEdgeBuilder.h>252627// ===========================================================================28// class declarations29// ===========================================================================30class ROEdge;31class RONode;323334// ===========================================================================35// class definitions36// ===========================================================================37/**38* @class ROMAEdgeBuilder39* @brief Interface for building instances of duarouter-edges40*41* This ROAbstractEdgeBuilder implementation builds edges for the duarouter42* (instances of ROEdge).43*44* @see ROEdge45*/46class ROMAEdgeBuilder : public ROAbstractEdgeBuilder {47public:48/** @brief Constructor49*/50ROMAEdgeBuilder();515253/// @brief Destructor54~ROMAEdgeBuilder();555657/// @name Methods to be implemented, inherited from ROAbstractEdgeBuilder58/// @{5960/** @brief Builds an edge with the given name61*62* This implementation builds a ROEdge.63*64* @param[in] name The name of the edge65* @param[in] from The node the edge begins at66* @param[in] to The node the edge ends at67* @param[in] priority The edge priority (road class)68* @return A proper instance of the named edge69* @see ROEdge70*/71ROEdge* buildEdge(const std::string& name, RONode* from, RONode* to, const int priority, const std::string& type);72/// @}737475};767778