|
|
||||||
|
faudes::TimeInterval Class Reference Detailed DescriptionModel of a time interval. An interval consisits of a lower and upper bound, plus flags to indicate whether the bounds are inclusive or not. The maximum and minimum values of the time data tyle are interpreted as infinity. Definition at line 83 of file tp_timeinterval.h.
Constructor & Destructor Documentation◆ TimeInterval()
Default constructor - sets time interval to (-inf; +inf) Definition at line 90 of file tp_timeinterval.h. ◆ ~TimeInterval()
Default destructor. Definition at line 95 of file tp_timeinterval.h. Member Function Documentation◆ Canonical()
Convert to canonical representation. Uses Time::Step to convert to aleft closed / right opened representation Definition at line 18 of file tp_timeinterval.cpp. ◆ Empty()
Test interval for empty set.
Definition at line 32 of file tp_timeinterval.cpp. ◆ Full()
Test whether interval is full.
Definition at line 247 of file tp_timeinterval.h. ◆ In()
Test whether a point satisfies interval.
Definition at line 42 of file tp_timeinterval.cpp. ◆ IncludesNegative()
Test whether interval includes (-inf,0].
Definition at line 272 of file tp_timeinterval.h. ◆ IncludesPositive()
Test whether interval includes [0,inf)
Definition at line 263 of file tp_timeinterval.h. ◆ Intersect() [1/2]
Intersection of two time intervals.
Definition at line 116 of file tp_timeinterval.cpp. ◆ Intersect() [2/2]
Intersect this interval with other interval.
Definition at line 87 of file tp_timeinterval.cpp. ◆ LB() [1/2]
Set the lower bound to a given value. If the value is minus infinity, it is set exclusive. Otherwise, the exclusive/inclusive flag is kept.
Definition at line 105 of file tp_timeinterval.h. ◆ LB() [2/2]
◆ LBincl() [1/2]
Configures the lower bound to be inclusive. If the lower bound is minus infinity, it stays exclusive.
Definition at line 147 of file tp_timeinterval.h. ◆ LBincl() [2/2]
Test for lower bound inclusive.
Definition at line 184 of file tp_timeinterval.h. ◆ LBinf()
Test for lower bound infinity.
Definition at line 198 of file tp_timeinterval.h. ◆ Merge() [1/2]
Merge this interval with other interval. I.e. find smallest superset of the union of the two intervals.
Definition at line 149 of file tp_timeinterval.cpp. ◆ Merge() [2/2]
Merge this interval with other interval. I.e. find smallest superset of the union of the two intervals.
Definition at line 127 of file tp_timeinterval.cpp. ◆ operator!=()
Test whether two intervals not equal. Note that the test is strictly based on the internal representation, ie [0,10] is not equal to [0,11). This may change in future implementations to consider the Time::TypeStep
Definition at line 311 of file tp_timeinterval.h. ◆ operator==()
Test whether two intervals are equal. Note that the test is strictly based on the internal representation, ie [0,10] is not equal to [0,11). This may change in future implementations to consider the Time::TypeStep
Definition at line 293 of file tp_timeinterval.h. ◆ PositiveLeftShift()
Transform by left shift and intersection with [0, inf)
Definition at line 51 of file tp_timeinterval.cpp. ◆ SetEmpty()
Set to empty (1, -1) Definition at line 225 of file tp_timeinterval.h. ◆ SetFull()
Set to full (-inf, +inf) Definition at line 219 of file tp_timeinterval.h. ◆ setLBinf()
Set lower bound to infinity. Definition at line 162 of file tp_timeinterval.h. ◆ SetNegative()
Set to negative (-inf, 0]. Definition at line 238 of file tp_timeinterval.h. ◆ SetPositive()
Set to positive [0, inf) Definition at line 231 of file tp_timeinterval.h. ◆ setUBinf()
Set upper bound to infinity. Definition at line 156 of file tp_timeinterval.h. ◆ Str()
Pretty printable string.
Definition at line 61 of file tp_timeinterval.cpp. ◆ UB() [1/2]
Set the upper bound to a given value. If the value is infinity, it is set exclusive. Otherwise, the exclusive/inclusive flag is kept.
Definition at line 121 of file tp_timeinterval.h. ◆ UB() [2/2]
◆ UBincl() [1/2]
Configures the upper bound to be inclusive. If the upper bound is infinity, it stays exclusive.
Definition at line 135 of file tp_timeinterval.h. ◆ UBincl() [2/2]
Test for upper bound inclusive.
Definition at line 191 of file tp_timeinterval.h. ◆ UBinf()
Test for upper bound infinity.
Definition at line 205 of file tp_timeinterval.h. Member Data Documentation◆ mbLBincl
Flag to indicate that lower boundary is part of the interval. Definition at line 387 of file tp_timeinterval.h. ◆ mbUBincl
Flag to indicate that the upper bound is part of the interval. Definition at line 384 of file tp_timeinterval.h. ◆ mstLB
Lower bound. Definition at line 381 of file tp_timeinterval.h. ◆ mstUB
Upper bound. Definition at line 378 of file tp_timeinterval.h. The documentation for this class was generated from the following files: libFAUDES 2.32b --- 2024.03.01 --- c++ api documentaion by doxygen |