Package core

Class AbstractVehicleModel

  • All Implemented Interfaces:
    core.InterfaceModel, core.InterfaceVehicleModel

    public abstract class AbstractVehicleModel
    extends AbstractModel
    implements core.InterfaceVehicleModel
    • Constructor Detail

      • AbstractVehicleModel

        public AbstractVehicleModel​(String name,
                                    Set<core.Link> links,
                                    utils.StochasticProcess process)
                             throws error.OTMException
        Throws:
        error.OTMException
    • Method Detail

      • create_source

        public AbstractDemandGenerator create_source​(core.Link origin,
                                                     profiles.Profile1D profile,
                                                     commodity.Commodity commodity,
                                                     commodity.Path path)
        Specified by:
        create_source in interface core.InterfaceModel
      • get_waiting_time_sec

        public final Float get_waiting_time_sec​(double rate_vps)