All Methods Static Methods Instance Methods Abstract Methods Default Methods
Modifier and Type |
Method |
Description |
static ArrivalCurve |
add(ArrivalCurve arrival_curve_1,
ArrivalCurve arrival_curve_2) |
|
static ArrivalCurve |
add(ArrivalCurve arrival_curve_1,
Num dy) |
|
static CurvePwAffine |
add(CurvePwAffine curve1,
CurvePwAffine curve2) |
Returns a curve that is the sum of this curve and the given curve.
|
static CurvePwAffine |
add(CurvePwAffine curve,
Num dy) |
Returns a copy of this curve shifted vertically by dy .
|
static MaxServiceCurve |
add(MaxServiceCurve max_service_curve_1,
MaxServiceCurve max_service_curve_2) |
|
static MaxServiceCurve |
add(MaxServiceCurve max_service_curve_1,
Num dy) |
|
static ServiceCurve |
add(ServiceCurve c1,
ServiceCurve c2) |
|
static void |
beautify(CurvePwAffine c) |
|
static CurvePwAffine |
boundAtXAxis(CurvePwAffine curve) |
Returns a copy of curve bounded at the x-axis.
|
static java.util.ArrayList<Num> |
computeInflectionPointsX(CurvePwAffine c1,
CurvePwAffine c2) |
Returns an ArrayList instance of those x-coordinates at which
either c1 or c2 or both have an inflection point.
|
static java.util.ArrayList<Num> |
computeInflectionPointsY(CurvePwAffine c1,
CurvePwAffine c2) |
Returns an ArrayList instance of those y-coordinates at which
either c1 or c2 or both have an inflection point.
|
static CurvePwAffine |
computeResultingCurve(CurvePwAffine curve1,
CurvePwAffine curve2,
CurvePwAffine.CurveOperation operator) |
Common helper for computing a new curve.
|
CurvePwAffine |
copy() |
|
void |
copy(Curve curve) |
|
ArrivalCurve |
createArrivalCurve() |
|
ArrivalCurve |
createArrivalCurve(int segment_count) |
|
ArrivalCurve |
createArrivalCurve(CurvePwAffine curve) |
|
ArrivalCurve |
createArrivalCurve(CurvePwAffine curve,
boolean remove_latency) |
|
ArrivalCurve |
createArrivalCurve(java.lang.String arrival_curve_str) |
|
CurvePwAffine |
createCurve(java.util.List<LinearSegment> segments) |
|
ServiceCurve |
createDelayedInfiniteBurst(double delay) |
|
ServiceCurve |
createDelayedInfiniteBurst(Num delay) |
|
MaxServiceCurve |
createDelayedInfiniteBurstMSC(double delay) |
|
MaxServiceCurve |
createDelayedInfiniteBurstMSC(Num delay) |
|
CurvePwAffine |
createHorizontal(double y) |
|
CurvePwAffine |
createHorizontal(Num y) |
|
MaxServiceCurve |
createInfiniteMaxService() |
|
MaxServiceCurve |
createMaxServiceCurve() |
|
MaxServiceCurve |
createMaxServiceCurve(int segment_count) |
|
MaxServiceCurve |
createMaxServiceCurve(CurvePwAffine curve) |
|
MaxServiceCurve |
createMaxServiceCurve(java.lang.String max_service_curve_str) |
|
ArrivalCurve |
createPeakArrivalRate(double rate) |
|
ArrivalCurve |
createPeakArrivalRate(Num rate) |
|
ServiceCurve |
createRateLatency(double rate,
double latency) |
|
ServiceCurve |
createRateLatency(Num rate,
Num latency) |
|
MaxServiceCurve |
createRateLatencyMSC(double rate,
double latency) |
|
MaxServiceCurve |
createRateLatencyMSC(Num rate,
Num latency) |
|
ServiceCurve |
createServiceCurve() |
|
ServiceCurve |
createServiceCurve(int segment_count) |
|
ServiceCurve |
createServiceCurve(CurvePwAffine curve) |
|
ServiceCurve |
createServiceCurve(java.lang.String service_curve_str) |
|
ArrivalCurve |
createTokenBucket(double rate,
double burst) |
|
ArrivalCurve |
createTokenBucket(Num rate,
Num burst) |
|
ArrivalCurve |
createZeroArrivals() |
|
CurvePwAffine |
createZeroCurve() |
|
ServiceCurve |
createZeroDelayInfiniteBurst() |
|
MaxServiceCurve |
createZeroDelayInfiniteBurstMSC() |
|
ServiceCurve |
createZeroService() |
|
static CurvePwAffine |
getFactory() |
|
static Num |
getMaxHorizontalDeviation(CurvePwAffine c1,
CurvePwAffine c2) |
Returns the maximum horizontal deviation between the given two curves.
|
static Num |
getMaxVerticalDeviation(CurvePwAffine c1,
CurvePwAffine c2) |
Returns the maximum vertical deviation between the given two curves.
|
CurvePwAffine |
getRL_Component(int i) |
|
int |
getRL_ComponentCount() |
|
java.util.List<CurvePwAffine> |
getRL_Components() |
|
CurvePwAffine |
getTB_Component(int i) |
|
int |
getTB_ComponentCount() |
|
java.util.List<CurvePwAffine> |
getTB_Components() |
|
Num |
getUltAffineRate() |
|
static Num |
getXIntersection(CurvePwAffine curve1,
CurvePwAffine curve2) |
|
boolean |
isAlmostConcave() |
|
boolean |
isConcave() |
|
boolean |
isConvex() |
|
boolean |
isRateLatency() |
|
boolean |
isTokenBucket() |
|
static ArrivalCurve |
max(ArrivalCurve arrival_curve_1,
ArrivalCurve arrival_curve_2) |
|
static CurvePwAffine |
max(CurvePwAffine curve1,
CurvePwAffine curve2) |
Returns a curve that is the maximum of this curve and the given curve.
|
static ServiceCurve |
max(ServiceCurve c1,
ServiceCurve c2) |
|
static ArrivalCurve |
min(ArrivalCurve arrival_curve_1,
ArrivalCurve arrival_curve_2) |
|
static CurvePwAffine |
min(CurvePwAffine curve1,
CurvePwAffine curve2) |
Returns a curve that is the minimum of this curve and the given curve.
|
static MaxServiceCurve |
min(MaxServiceCurve max_service_curve_1,
MaxServiceCurve max_service_curve_2) |
|
static ServiceCurve |
min(ServiceCurve c1,
ServiceCurve c2) |
|
static CurvePwAffine |
removeLatency(CurvePwAffine curve) |
Returns a copy of this curve with latency removed, i.e.
|
void |
setRateLateny(boolean is_rate_latency) |
|
void |
setRL_Components(java.util.List<CurvePwAffine> rate_latencies) |
|
void |
setRL_MetaInfo(boolean has_rl_meta_info) |
|
void |
setTB_Components(java.util.List<CurvePwAffine> token_buckets) |
|
void |
setTB_MetaInfo(boolean has_tb_meta_info) |
|
void |
setTokenBucket(boolean is_token_bucket) |
|
static CurvePwAffine |
shiftLeftClipping(CurvePwAffine curve,
Num dx) |
Returns a copy of this curve that is shifted to the left by dx ,
i.e.
|
static CurvePwAffine |
shiftRight(CurvePwAffine curve,
Num dx) |
Returns a copy of this curve that is shifted to the right by dx ,
i.e.
|
static CurvePwAffine |
sub(CurvePwAffine curve1,
CurvePwAffine curve2) |
Returns a curve that is the difference between this curve and the given
curve.
|
static ServiceCurve |
sub(ServiceCurve c1,
ArrivalCurve c2) |
|