Class ScenarioParser


  • public class ScenarioParser
    extends java.lang.Object

    Copyright (c) 2013-2020 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
    BSD-style license. See OpenTrafficSim License.

    Version:
    $Revision$, $LastChangedDate$, by $Author$, initial version Apr 16, 2019
    Author:
    Alexander Verbraeck, Peter Knoppers, Wouter Schakel
    • Constructor Summary

      Constructors 
      Constructor Description
      ScenarioParser()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,​java.lang.String> parseModelIdReferral​(java.util.List<SCENARIO> scenario, java.util.List<NETWORKDEMAND> demand)
      Parse model ID referrals.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScenarioParser

        public ScenarioParser()
    • Method Detail

      • parseModelIdReferral

        public static final java.util.Map<java.lang.String,​java.lang.String> parseModelIdReferral​(java.util.List<SCENARIO> scenario,
                                                                                                        java.util.List<NETWORKDEMAND> demand)
        Parse model ID referrals.
        Parameters:
        scenario - scenario
        demand - demand
        Returns:
        map from ID to ID