Class AccessGroupPropertiesImpl

  • All Implemented Interfaces:
    AccessGroupProperties

    public class AccessGroupPropertiesImpl
    extends Object
    implements AccessGroupProperties
    Group of modes with specific properties for the macroscopic perspective on the supply side, i.e. on a link segment of a particular type. While the group specifies the allowed modes, it is not compulsory to define restricted maximum and or critical speeds. When absent context of the mode and links is to be used to determine the applied maximum speeds.
    Author:
    markr
    • Field Detail

      • maxSpeedKmH

        protected Double maxSpeedKmH
        Maximum speed of mode (tied to a road segment type) in km/h
      • criticalSpeedKmH

        protected Double criticalSpeedKmH
        Maximum speed of mode (tied to a road segment type) in km/h
      • supportedModes

        protected final Set<Mode> supportedModes
        modes supported by this access group
    • Constructor Detail

      • AccessGroupPropertiesImpl

        public AccessGroupPropertiesImpl​(Collection<Mode> accessModes)
        access properties with only defining allowed modes without setting any restrictive speeds compared to the physical speed on the links it is applied on
        Parameters:
        accessModes - to allow
      • AccessGroupPropertiesImpl

        public AccessGroupPropertiesImpl​(AccessGroupPropertiesImpl other,
                                         boolean deepCopy)
        Copy constructor
        Parameters:
        other - to copy
        deepCopy - when true, create a deep copy, shallow copy otherwise