75 const std::map<const SlicedTubeBase*,std::shared_ptr<SliceBase>>&
slices()
const;
79 using Interval::operator
new;
80 using Interval::operator
delete;
114 bool operator!=(
const Interval& x)
const
116 return !(*
this == x);
119 bool operator==(
const TSlice& x)
const
124 bool operator!=(
const TSlice& x)
const
126 return !(*
this == x);
139 friend std::ostream& operator<<(std::ostream& os,
const TSlice& x)
141 return os << x.t0_tf();
151 std::map<const SlicedTubeBase*,std::shared_ptr<SliceBase>>
_slices;
153 friend class TDomain;
154 friend class SlicedTubeBase;
156 friend class SlicedTube;
Interval class, for representing closed and connected subsets of .
Definition codac2_Interval.h:50
bool is_unbounded() const
Tests if one of the bounds of this is infinite.
Definition codac2_Interval_impl.h:236
bool operator==(const Interval &x) const
Comparison (equality) between two intervals.
Definition codac2_Interval_impl.h:100
bool is_empty() const
Tests if this is empty.
Definition codac2_Interval_impl.h:221
double ub() const
Returns the upper bound of this.
Definition codac2_Interval_impl.h:131
bool intersects(const Interval &x) const
Tests if this and x intersect.
Definition codac2_Interval_impl.h:256
bool is_degenerated() const
Tests if this is degenerated, that is, in the form of .
Definition codac2_Interval_impl.h:241
double diam() const
Returns the diameter of this.
Definition codac2_Interval_impl.h:193
bool is_superset(const Interval &x) const
Tests if this is a superset of x.
Definition codac2_Interval_impl.h:294
double rad() const
Returns the radius of this.
Definition codac2_Interval_impl.h:176
bool is_subset(const Interval &x) const
Tests if this is a subset of x.
Definition codac2_Interval_impl.h:271
Interval()
Creates an interval .
Definition codac2_Interval_impl.h:23
bool contains(const double &x) const
Tests if this contains x.
Definition codac2_Interval_impl.h:226
double lb() const
Returns the lower bound of this.
Definition codac2_Interval_impl.h:126
double mid() const
Returns the midpoint of this.
Definition codac2_Interval_impl.h:136
Base class for codomain slices attached to a temporal slice.
Definition codac2_SliceBase.h:36
Base class for tubes defined over a sliced temporal domain.
Definition codac2_SlicedTubeBase.h:35
Temporal slice shared by sliced tubes.
Definition codac2_TSlice.h:35
const std::map< const SlicedTubeBase *, std::shared_ptr< SliceBase > > & slices() const
Returns the slices attached to this temporal slice.
bool is_gate() const
Tests whether this temporal slice is a gate.
std::map< const SlicedTubeBase *, std::shared_ptr< SliceBase > > _slices
Slices attached to each sliced tube over this temporal interval.
Definition codac2_TSlice.h:151
TSlice(const TSlice &tslice, const Interval &tdomain)
Creates a temporal slice from another one over a new time interval.
const Interval & t0_tf() const
Returns a read-only reference to the temporal interval.
Definition codac2_TSlice.h:99
TSlice(const Interval &tdomain)
Creates a temporal slice over the given time interval.
bool operator==(const Matrix< U_, R_, C_ > &x) const
Compares this matrix with another matrix for equality.
Definition codac2_Matrix_addons_Base.h:78
Definition codac2_OctaSym.h:21