/****************************************************************************/1// Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.dev/sumo2// Copyright (C) 2004-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 RODUAEdgeBuilder.h14/// @author Daniel Krajzewicz15/// @author Michael Behrisch16/// @author Jakob Erdmann17/// @author Yun-Pang Floetteroed18/// @date Tue, 20 Jan 200419///20// Interface for building instances of duarouter-edges21/****************************************************************************/22#pragma once23#include <config.h>2425#include <router/ROAbstractEdgeBuilder.h>262728// ===========================================================================29// class declarations30// ===========================================================================31class ROEdge;32class RONode;333435// ===========================================================================36// class definitions37// ===========================================================================38/**39* @class RODUAEdgeBuilder40* @brief Interface for building instances of duarouter-edges41*42* This ROAbstractEdgeBuilder implementation builds edges for the duarouter43* (instances of ROEdge).44*45* @see ROEdge46*/47class RODUAEdgeBuilder : public ROAbstractEdgeBuilder {48public:49/** @brief Constructor50*/51RODUAEdgeBuilder();525354/// @brief Destructor55~RODUAEdgeBuilder();565758/// @name Methods to be implemented, inherited from ROAbstractEdgeBuilder59/// @{6061/** @brief Builds an edge with the given name62*63* This implementation builds a ROEdge.64*65* @param[in] name The name of the edge66* @param[in] from The node the edge begins at67* @param[in] to The node the edge ends at68* @param[in] priority The edge priority (road class)69* @return A proper instance of the named edge70* @see ROEdge71*/72ROEdge* buildEdge(const std::string& name, RONode* from, RONode* to, const int priority, const std::string& type);73/// @}747576};777879