Class RoutedServices

  • All Implemented Interfaces:
    Serializable, Comparable<IdAble>, EventListener, PlanitComponentListener, EventListener, ExternalIdAble, IdAble

    public class RoutedServices
    extends PlanitComponent<RoutedServices>
    implements Serializable
    Routed services are service that follow a predefined paths (route) on a service network layer that are offered as a service of some sort, i.e., it either follows a schedule or a frequency. The most well known routed service would a public transport service, or alternatively scheduled freight movements between warehouses.

    Each routed service can have one or more trips based on a schedule. The trips follow a service path comprising of legs between predefined stopping points. In PLANit these points are modelled as connectoids. Since connectoids are in turn connected to (transfer) zones, the combination of (travel) demand between zones and routed services allows for a multi-modal trip chain using one or more routed services. This holds for people but potentially also for goods.

    Routed services rely on routes that exist within a single layer of a (service) network. Therefore any instance of routesServices resides within this layer rather than on the network as a whole.

    Routed services are a top-level input in PLANit and therefore extend TrafficAssignmentComponent such that they can be integrated into any input builder

    Author:
    markr
    See Also:
    Serialized Form
    • Constructor Detail

      • RoutedServices

        public RoutedServices​(IdGroupingToken tokenId,
                              ServiceNetwork parentServiceNetwork)
        Constructor
        Parameters:
        tokenId - to use for generation of the id of this routed services instance
        parentServiceNetwork - the parent service network for these routed services
      • RoutedServices

        public RoutedServices​(RoutedServices other,
                              boolean deepCopy,
                              BiConsumer<RoutedServicesLayer,​RoutedServicesLayer> mapper)
        Copy constructor
        Parameters:
        other - to copy
        deepCopy - when true, create a deep copy, shallow copy otherwise
        mapper - to use for tracking mapping between original and copied entity (may be null)