/****************************************************************************/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 ROMAEdge.cpp14/// @author Daniel Krajzewicz15/// @author Jakob Erdmann16/// @author Christian Roessel17/// @author Laura Bieker18/// @author Michael Behrisch19/// @date Sept 200220///21// A basic edge for routing applications22/****************************************************************************/23#include <config.h>2425#include "ROMAEdge.h"262728// ===========================================================================29// method definitions30// ===========================================================================31ROMAEdge::ROMAEdge(const std::string& id, RONode* from, RONode* to, int index, const int priority, const std::string& type)32: ROEdge(id, from, to, index, priority, type) {33}343536ROMAEdge::~ROMAEdge() {37}383940void41ROMAEdge::addSuccessor(ROEdge* s, ROEdge* via, std::string dir) {42ROEdge::addSuccessor(s, via, dir);43if (dir == "l" || dir == "L") {44myLeftTurns.insert(static_cast<ROMAEdge*>(s));45}46}474849/****************************************************************************/505152