interval.h File Reference
Contains the definition of the Interval. More...
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Data Structures | |
struct | Interval |
Structure that contains a signed integer interval. More... | |
Typedefs | |
typedef struct Interval | Interval |
Structure that contains a signed integer interval. More... | |
Functions | |
void | addToInterval (Interval *inter, int x) |
Change the interval (if needed) to contain a new value. More... | |
int | isIntervalIncludeInAnother (Interval int1, Interval int2) |
Is int1 include in int2? More... | |
Detailed Description
Contains the definition of the Interval.
Typedef Documentation
Structure that contains a signed integer interval.
An Interval represents the interval between a lower and an upper bound
Function Documentation
void addToInterval | ( | Interval * | inter, |
int | x | ||
) |
Change the interval (if needed) to contain a new value.
- Parameters
-
inter The interval to change x The integer to add in the interval
Here is the caller graph for this function: