Enum Bounds_MPARTC_PwAffine

    • Nested Class Summary

      • Nested classes/interfaces inherited from class java.lang.Enum

        java.lang.Enum.EnumDesc<E extends java.lang.Enum<E>>
    • Method Summary

      Modifier and Type Method Description
      Num backlog​(ArrivalCurve arrival_curve, ServiceCurve service_curve)  
      Num delayARB​(ArrivalCurve arrival_curve, ServiceCurve service_curve)
      MPA RTC does not have an implementation for finding the x-coordinate of two curves' first intersection.
      Num delayFIFO​(ArrivalCurve arrival_curve, ServiceCurve service_curve)  
      static Bounds_MPARTC_PwAffine valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static Bounds_MPARTC_PwAffine[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • Bounds_MPARTC_PwAffine

        private Bounds_MPARTC_PwAffine()
    • Method Detail

      • values

        public static Bounds_MPARTC_PwAffine[] values()
        Returns an array containing the constants of this enum type, in the order they are declared.
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Bounds_MPARTC_PwAffine valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • delayARB

        public Num delayARB​(ArrivalCurve arrival_curve,
                            ServiceCurve service_curve)
        MPA RTC does not have an implementation for finding the x-coordinate of two curves' first intersection. We have to use the DISCO implementation, relying on the curve interface compliance of the MPA RTC curve wrapper. TODO: This restricts the entire class to non-periodic curves, a restriction inherited from the DISCO implementation.
        Specified by:
        delayARB in interface Bounds