27 explicit TDomain(
const Interval& t0_tf);
28 explicit TDomain(
const Interval& t0_tf,
double dt,
bool with_gates =
false);
29 const Interval t0_tf()
const;
30 std::list<TSlice>::iterator iterator_tslice(
double t);
31 size_t nb_tslices()
const;
32 size_t nb_tubes()
const;
33 bool all_gates_defined()
const;
34 std::list<TSlice>::iterator sample(
double t,
bool with_gate =
false);
35 void sample(
const Interval& t0_tf,
double dt,
bool with_gates =
false);
36 friend std::ostream& operator<<(std::ostream& os,
const TDomain& x);
37 const std::list<TSlice>& tslices()
const;
38 std::list<TSlice>& tslices();
40 static bool are_same(
const std::shared_ptr<TDomain>& tdom1,
const std::shared_ptr<TDomain>& tdom2);
45 std::list<TSlice> _tslices;
51 std::shared_ptr<TDomain> create_tdomain(
const Interval& t0_tf =
Interval(-oo,oo));
52 std::shared_ptr<TDomain> create_tdomain(
const Interval& t0_tf,
double dt,
bool with_gates =
false);
Interval class, for representing closed and connected subsets of .
Definition codac2_Interval.h:62