Package org.networkcalculus.dnc.curves
Interface Curve_PwAffine
-
- All Superinterfaces:
Curve
,Curve_Affine
- All Known Implementing Classes:
ArrivalCurve_Disco_PwAffine
,ArrivalCurve_MPARTC_PwAffine
,Curve_Disco_PwAffine
,Curve_MPARTC_PwAffine
,MaxServiceCurve_Disco_PwAffine
,MaxServiceCurve_MPARTC_PwAffine
,ServiceCurve_Disco_PwAffine
,ServiceCurve_MPARTC_PwAffine
public interface Curve_PwAffine extends Curve_Affine
Interface for piecewise affine curves, including convenience functions used by Disco's implementation of DNC operations. I.e., in addition to its defining linear segments, curves may be ascribed as (compositions of) rate latency and token bucket functions.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.networkcalculus.dnc.curves.Curve
Curve.CurveOperation
-
-
Method Summary
Modifier and Type Method Description Curve_PwAffine
copy()
void
copy(Curve curve)
static Num
getMaxHorizontalDeviation(Curve_PwAffine c1, Curve_PwAffine c2)
Returns the maximum horizontal deviation between the given two curves.java.util.List<Curve_Affine>
getRL_Components()
java.util.List<Curve_Affine>
getTB_Components()
-
Methods inherited from interface org.networkcalculus.dnc.curves.Curve
addSegment, addSegment, createArrivalCurve, createArrivalCurve, createArrivalCurve, createArrivalCurve, createArrivalCurve, createCurve, createDelayedInfiniteBurst, createDelayedInfiniteBurst, createDelayedInfiniteBurstMSC, createDelayedInfiniteBurstMSC, createHorizontal, createInfiniteArrivals, createMaxServiceCurve, createMaxServiceCurve, createMaxServiceCurve, createMaxServiceCurve, createPeakArrivalRate, createPeakArrivalRate, createRateLatency, createRateLatency, createRateLatencyMSC, createRateLatencyMSC, createServiceCurve, createServiceCurve, createServiceCurve, createServiceCurve, createTokenBucket, createTokenBucket, createZeroArrivals, createZeroCurve, createZeroDelayInfiniteBurst, createZeroDelayInfiniteBurstMSC, createZeroService, equals, f, f_inv, f_inv, fLimitRight, getBurst, getGradientLimitRight, getLatency, getRL_Component, getRL_ComponentCount, getSegment, getSegmentCount, getSegmentDefining, getTB_Component, getTB_ComponentCount, getUltAffineRate, hashCode, isAlmostConcave, isConcave, isConcaveIn, isConvex, isConvexIn, isDelayedInfiniteBurst, isDiscontinuity, isRealDiscontinuity, isUnrealDiscontinuity, isWideSenseIncreasing, removeSegment, setRateLateny, setRL_Components, setRL_MetaInfo, setTB_Components, setTB_MetaInfo, setTokenBucket, toString
-
Methods inherited from interface org.networkcalculus.dnc.curves.Curve_Affine
isRateLatency, isTokenBucket
-
-
-
-
Method Detail
-
getMaxHorizontalDeviation
static Num getMaxHorizontalDeviation(Curve_PwAffine c1, Curve_PwAffine c2)
Returns the maximum horizontal deviation between the given two curves.- Parameters:
c1
- the first curve.c2
- the second curve.- Returns:
- the value of the horizontal deviation.
-
copy
Curve_PwAffine copy()
- Specified by:
copy
in interfaceCurve
- Specified by:
copy
in interfaceCurve_Affine
-
copy
void copy(Curve curve)
- Specified by:
copy
in interfaceCurve
- Specified by:
copy
in interfaceCurve_Affine
-
getRL_Components
java.util.List<Curve_Affine> getRL_Components()
-
getTB_Components
java.util.List<Curve_Affine> getTB_Components()
-
-