|
Go to the documentation of this file.
43 if(time< mstLB) return false;
44 if(time> mstUB) return false;
64 std::stringstream resstream;
67 resstream << "[empty]";
73 else resstream << "(";
74 if( LBinf()) resstream << "-inf";
75 else resstream << mstLB;
77 if( UBinf()) resstream << "inf";
78 else resstream << mstUB;
80 else resstream << ")";
89 FD_DC( "TimeInterval::Intersect(otherinterval): " << Str()<< " & " <<
90 rOtherInterval. Str() );
93 if( UB()==rOtherInterval. UB()) {
97 if( UB() > rOtherInterval. UB()) {
98 UB(rOtherInterval. UB());
102 if( LB()==rOtherInterval. LB()) {
106 if( LB() < rOtherInterval. LB()) {
107 LB(rOtherInterval. LB());
111 FD_DC( "TimeInterval::Intersect( ... ), ret: " << Str());
117 FD_DC( "TimeInterval::Intersect(" << rInterval1. Str()<< ", " <<
118 rInterval2. Str() << ")");
121 FD_DC( "TimeInterval::Intersect( ... ), ret: " << res. Str());
129 if( UB()==rOtherInterval. UB()) {
133 if( UB() < rOtherInterval. UB()) {
134 UB(rOtherInterval. UB());
138 if( LB()==rOtherInterval. LB()) {
142 if( LB()<rOtherInterval. LB()) {
143 LB(rOtherInterval. LB());
151 res. Merge(rInterval2);
void Merge(const TimeInterval &rOtherInterval)
Time::Type LB(void) const
void PositiveLeftShift(Time::Type time)
Time::Type UB(void) const
bool In(Time::Type time) const
std::string Str(void) const
void Intersect(const TimeInterval &rOtherInterval)
libFAUDES 2.33c
--- 2025.05.15
--- c++ api documentaion by doxygen
|