/****************************************************************************/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 RODFRouteDesc.h14/// @author Daniel Krajzewicz15/// @author Michael Behrisch16/// @date Thu, 16.03.200617///18// A route within the DFROUTER19/****************************************************************************/20#pragma once21#include <config.h>2223#include <vector>24#include <string>25#include <utils/common/SUMOTime.h>262728// ===========================================================================29// class declarations30// ===========================================================================31class ROEdge;32class RODFDetector;3334typedef std::vector<ROEdge*> ROEdgeVector;3536// ===========================================================================37// struct definitions38// ===========================================================================39/**40* @struct RODFRouteDesc41* @brief A route within the DFROUTER42*/43struct RODFRouteDesc {44/// @brief The edges the route is made of45ROEdgeVector edges2Pass;46/// @brief The name of the route47std::string routename;48double duration_2;49double distance;50int passedNo;51const ROEdge* endDetectorEdge;52const ROEdge* lastDetectorEdge;53double distance2Last;54SUMOTime duration2Last;5556double overallProb;57double factor;5859};606162