clingo
|
#include <intervals.hh>
Classes | |
struct | Interval |
struct | LBound |
struct | RBound |
Public Types | |
using | Value = T |
using | IntervalVec = std::vector< Interval > |
using | const_iterator = typename IntervalVec::const_iterator |
Public Member Functions | |
void | add (Interval const &x) |
void | remove (Interval const &x) |
bool | contains (Interval const &x) const |
bool | intersects (Interval const &x) const |
bool | empty () const |
void | clear () |
void | add (Value const &a, bool ta, Value const &b, bool tb) |
const_iterator | begin () const |
const_iterator | end () const |
void | remove (Value const &a, bool ta, Value const &b, bool tb) |
Public Attributes | |
IntervalVec | vec |
using Gringo::IntervalSet< T >::const_iterator = typename IntervalVec::const_iterator |
using Gringo::IntervalSet< T >::IntervalVec = std::vector<Interval> |
using Gringo::IntervalSet< T >::Value = T |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
IntervalVec Gringo::IntervalSet< T >::vec |