Enum MinPlus_MPARTC_PwAffine

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<MinPlus_MPARTC_PwAffine>, java.lang.constant.Constable, MinPlus

    public enum MinPlus_MPARTC_PwAffine
    extends java.lang.Enum<MinPlus_MPARTC_PwAffine>
    implements MinPlus
    A dispatcher calling the MPA RTC's implementation of min-plus convolution and deconvolution. For compatibility with the NetCal DNC, this class implements all the methods defined in the MinPlus interface. Dispatching simply works follows: Given MPA RTC curves that are wrapped to comply with the DNC Curve interfaces, the respective method unwraps them, applies the according MPA RTC operation and wraps the result for DNC compliance.
    • Constructor Detail

      • MinPlus_MPARTC_PwAffine

        private MinPlus_MPARTC_PwAffine()
    • Method Detail

      • values

        public static MinPlus_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 MinPlus_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
      • convolve

        public ServiceCurve convolve​(ServiceCurve service_curve_1,
                                     ServiceCurve service_curve_2,
                                     boolean tb_rl_optimized)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • convolve_SCs_SCs

        public java.util.Set<ServiceCurve> convolve_SCs_SCs​(java.util.Set<ServiceCurve> service_curves_1,
                                                            java.util.Set<ServiceCurve> service_curves_2,
                                                            boolean tb_rl_optimized)
                                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deconvolve

        public java.util.Set<ArrivalCurve> deconvolve​(java.util.Set<ArrivalCurve> arrival_curves,
                                                      ServiceCurve service_curve,
                                                      boolean tb_rl_optimized)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • deconvolve

        public java.util.Set<ArrivalCurve> deconvolve​(java.util.Set<ArrivalCurve> arrival_curves,
                                                      java.util.Set<ServiceCurve> service_curves,
                                                      boolean tb_rl_optimized)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception