MobilityDB 1.1
Functions

Comparison functions for set and span types. More...

Collaboration diagram for Comparison functions:

Functions

int set_cmp (const Set *s1, const Set *s2)
 Return -1, 0, or 1 depending on whether the first set is less than, equal, or greater than the second one. More...
 
bool set_eq (const Set *s1, const Set *s2)
 Return true if the first set is equal to the second one. More...
 
bool set_ge (const Set *s1, const Set *s2)
 Return true if the first set is greater than or equal to the second one. More...
 
bool set_gt (const Set *s1, const Set *s2)
 Return true if the first set is greater than the second one. More...
 
bool set_le (const Set *s1, const Set *s2)
 Return true if the first set is less than or equal to the second one. More...
 
bool set_lt (const Set *s1, const Set *s2)
 Return true if the first set is less than the second one. More...
 
bool set_ne (const Set *s1, const Set *s2)
 Return true if the first set is different from the second one. More...
 
int span_cmp (const Span *s1, const Span *s2)
 Return -1, 0, or 1 depending on whether the first span is less than, equal, or greater than the second one. More...
 
bool span_eq (const Span *s1, const Span *s2)
 Return true if the first span is equal to the second one. More...
 
bool span_ge (const Span *s1, const Span *s2)
 Return true if the first span is greater than or equal to the second one. More...
 
bool span_gt (const Span *s1, const Span *s2)
 Return true if the first span is greater than the second one. More...
 
bool span_le (const Span *s1, const Span *s2)
 Return true if the first span is less than or equal to the second one. More...
 
bool span_lt (const Span *s1, const Span *s2)
 Return true if the first span is less than the second one. More...
 
bool span_ne (const Span *s1, const Span *s2)
 Return true if the first span is different from the second one. More...
 
int spanset_cmp (const SpanSet *ss1, const SpanSet *ss2)
 Return -1, 0, or 1 depending on whether the first span set is less than, equal, or greater than the second one. More...
 
bool spanset_eq (const SpanSet *ss1, const SpanSet *ss2)
 Return true if the first span set is equal to the second one. More...
 
bool spanset_ge (const SpanSet *ss1, const SpanSet *ss2)
 Return true if the first span set is greater than or equal to the second one. More...
 
bool spanset_gt (const SpanSet *ss1, const SpanSet *ss2)
 Return true if the first span set is greater than the second one. More...
 
bool spanset_le (const SpanSet *ss1, const SpanSet *ss2)
 Return true if the first span set is less than or equal to the second one. More...
 
bool spanset_lt (const SpanSet *ss1, const SpanSet *ss2)
 Return true if the first span set is less than the second one. More...
 
bool spanset_ne (const SpanSet *ss1, const SpanSet *ss2)
 Return true if the first span set is different from the second one. More...
 

Detailed Description

Comparison functions for set and span types.