Uses of Interface
org.networkcalculus.dnc.curves.LinearSegment
-
-
Uses of LinearSegment in org.networkcalculus.dnc.curves
Methods in org.networkcalculus.dnc.curves that return LinearSegment Modifier and Type Method Description static LinearSegment
LinearSegment. add(LinearSegment s1, LinearSegment s2, Num x, boolean leftopen)
Helper creating a new segment starting at x that is the sum of the given getSegment.LinearSegment
LinearSegment. copy()
LinearSegment
LinearSegment.Builder. createHorizontalLine(double y)
static LinearSegment
LinearSegment. createHorizontalLine(double y)
LinearSegment
LinearSegment.Builder. createLinearSegment(Num x, Num y, Num grad, boolean leftopen)
static LinearSegment
LinearSegment. createLinearSegment(Num x, Num y, Num grad, boolean leftopen)
LinearSegment
Curve. getSegment(int pos)
Curves are defined by a numbered sequence of linear segments.static LinearSegment
Curve. getXAxis()
Create and return a linear segment that lies on the x axis of the Cartesian coordinate system.static LinearSegment
LinearSegment. max(LinearSegment s1, LinearSegment s2, Num x, boolean leftopen, boolean crossed)
Helper creating a new segment starting at x that is the maximum of the given segments.static LinearSegment
LinearSegment. min(LinearSegment s1, LinearSegment s2, Num x, boolean leftopen, boolean crossed)
Helper creating a new segment starting at x that is the minimum of the given getSegment.static LinearSegment
LinearSegment. sub(LinearSegment s1, LinearSegment s2, Num x, boolean leftopen)
Helper creating a new segment starting at x that is the difference between the given getSegment.Methods in org.networkcalculus.dnc.curves with parameters of type LinearSegment Modifier and Type Method Description static LinearSegment
LinearSegment. add(LinearSegment s1, LinearSegment s2, Num x, boolean leftopen)
Helper creating a new segment starting at x that is the sum of the given getSegment.void
Curve. addSegment(int pos, LinearSegment s)
void
Curve. addSegment(LinearSegment s)
Num
LinearSegment. getXIntersectionWith(LinearSegment other)
static LinearSegment
LinearSegment. max(LinearSegment s1, LinearSegment s2, Num x, boolean leftopen, boolean crossed)
Helper creating a new segment starting at x that is the maximum of the given segments.static LinearSegment
LinearSegment. min(LinearSegment s1, LinearSegment s2, Num x, boolean leftopen, boolean crossed)
Helper creating a new segment starting at x that is the minimum of the given getSegment.static LinearSegment
LinearSegment. sub(LinearSegment s1, LinearSegment s2, Num x, boolean leftopen)
Helper creating a new segment starting at x that is the difference between the given getSegment.Method parameters in org.networkcalculus.dnc.curves with type arguments of type LinearSegment Modifier and Type Method Description Curve
Curve. createCurve(java.util.List<LinearSegment> segments)
-
Uses of LinearSegment in org.networkcalculus.dnc.curves.disco
Classes in org.networkcalculus.dnc.curves.disco that implement LinearSegment Modifier and Type Class Description class
LinearSegment_Disco
Class representing linear segments of a curve.Methods in org.networkcalculus.dnc.curves.disco that return LinearSegment Modifier and Type Method Description LinearSegment
LinearSegment_Disco.LinearSegment_DNC_builder. createHorizontalLine(double y)
LinearSegment
LinearSegment_Disco.LinearSegment_DNC_builder. createLinearSegment(Num x, Num y, Num grad, boolean leftopen)
Methods in org.networkcalculus.dnc.curves.disco with parameters of type LinearSegment Modifier and Type Method Description Num
LinearSegment_Disco. getXIntersectionWith(LinearSegment other)
Returns the x-coordinate at which a co-linear line through this segment intersects a co-linear line through the segmentother
.Constructors in org.networkcalculus.dnc.curves.disco with parameters of type LinearSegment Constructor Description LinearSegment_Disco(LinearSegment segment)
-
Uses of LinearSegment in org.networkcalculus.dnc.curves.disco.affine
Methods in org.networkcalculus.dnc.curves.disco.affine with parameters of type LinearSegment Modifier and Type Method Description void
Curve_Disco_Affine. addSegment(int pos, LinearSegment s)
Adds aLinearSegment
at the locationpos
of the curve.
Note1: Segments after pos will be pushed back by one position.
Note2: It is the user's responsibility to add segments in the order of increasing x-coordinates.void
Curve_Disco_Affine. addSegment(LinearSegment s)
Adds aLinearSegment
to the end of the curve.
Note: It is the user's responsibility to add segments in the order of increasing x-coordinates.void
Curve_Disco_Affine. setSegment(int pos, LinearSegment s)
Insets the segment at position pos.protected void
Curve_Disco_Affine. setSegments(LinearSegment[] segments)
Setting the this.segments to the passes segments Note: Since this is an affine curve, the segments count of passed segment cannot exceed two.Method parameters in org.networkcalculus.dnc.curves.disco.affine with type arguments of type LinearSegment Modifier and Type Method Description Curve_Disco_Affine
Curve_Disco_Affine. createCurve(java.util.List<LinearSegment> segments)
-
Uses of LinearSegment in org.networkcalculus.dnc.curves.disco.pw_affine
Methods in org.networkcalculus.dnc.curves.disco.pw_affine with parameters of type LinearSegment Modifier and Type Method Description void
Curve_Disco_PwAffine. addSegment(int pos, LinearSegment s)
Adds aLinearSegment
at the locationpos
of the curve.
Note1; Segments after pos will be pushed back by one position.
Note2: It is the user's responsibility to add segments in the order of increasing x-coordinates.void
Curve_Disco_PwAffine. addSegment(LinearSegment s)
Adds aLinearSegment
to the end of the curve.
Note: It is the user's responsibility to add segments in the order of increasing x-coordinates.void
Curve_Disco_PwAffine. setSegment(int pos, LinearSegment s)
protected void
Curve_Disco_PwAffine. setSegments(LinearSegment[] segments)
Method parameters in org.networkcalculus.dnc.curves.disco.pw_affine with type arguments of type LinearSegment Modifier and Type Method Description Curve_Disco_PwAffine
Curve_Disco_PwAffine. createCurve(java.util.List<LinearSegment> segments)
-
Uses of LinearSegment in org.networkcalculus.dnc.curves.mpa_rtc
Classes in org.networkcalculus.dnc.curves.mpa_rtc that implement LinearSegment Modifier and Type Class Description class
LinearSegment_MPARTC
Methods in org.networkcalculus.dnc.curves.mpa_rtc that return LinearSegment Modifier and Type Method Description LinearSegment
LinearSegment_MPARTC. copy()
LinearSegment
LinearSegment_MPARTC.LinearSegment_MPARTC_PwAffine_builder. createHorizontalLine(double y)
LinearSegment
LinearSegment_MPARTC.LinearSegment_MPARTC_PwAffine_builder. createLinearSegment(Num x, Num y, Num grad, boolean leftopen)
Methods in org.networkcalculus.dnc.curves.mpa_rtc with parameters of type LinearSegment Modifier and Type Method Description Num
LinearSegment_MPARTC. getXIntersectionWith(LinearSegment other)
Constructors in org.networkcalculus.dnc.curves.mpa_rtc with parameters of type LinearSegment Constructor Description LinearSegment_MPARTC(LinearSegment segment)
-
Uses of LinearSegment in org.networkcalculus.dnc.curves.mpa_rtc.pw_affine
Methods in org.networkcalculus.dnc.curves.mpa_rtc.pw_affine with parameters of type LinearSegment Modifier and Type Method Description void
Curve_MPARTC_PwAffine. addSegment(int pos, LinearSegment s)
Starting at 0 as the RTC SegmentList extends ArrayList.void
Curve_MPARTC_PwAffine. addSegment(LinearSegment s)
Method parameters in org.networkcalculus.dnc.curves.mpa_rtc.pw_affine with type arguments of type LinearSegment Modifier and Type Method Description Curve_MPARTC_PwAffine
Curve_MPARTC_PwAffine. createCurve(java.util.List<LinearSegment> segments)
-