/third_party/boost/libs/icl/test/ |
D | test_icl_interval.hpp | 17 template <class IntervalT> 20 typedef typename domain_type_of<interval_traits<IntervalT> >::type T; in interval_ctor_4_ordered_types() 28 BOOST_CHECK_EQUAL( icl::is_empty(IntervalT()), true ); in interval_ctor_4_ordered_types() 29 BOOST_CHECK_EQUAL( icl::cardinality(IntervalT()), s_0 ); in interval_ctor_4_ordered_types() 30 BOOST_CHECK_EQUAL( icl::size(IntervalT()), s_0 ); in interval_ctor_4_ordered_types() 32 BOOST_CHECK_EQUAL( IntervalT(), IntervalT() ); in interval_ctor_4_ordered_types() 33 BOOST_CHECK_EQUAL( IntervalT(), IntervalT(IntervalT().lower(), IntervalT().upper()) ); in interval_ctor_4_ordered_types() 34 BOOST_CHECK_EQUAL( IntervalT(), IntervalT(icl::lower(IntervalT()), icl::upper(IntervalT())) ); in interval_ctor_4_ordered_types() 36 BOOST_CHECK_EQUAL(icl::cardinality(IntervalT(t_0, t_1)) >= s_1, true); in interval_ctor_4_ordered_types() 37 BOOST_CHECK_EQUAL(( icl::contains(IntervalT(t_0, t_1), t_0) in interval_ctor_4_ordered_types() [all …]
|
D | test_icl_continuous_interval.hpp | 11 template <class T, class IntervalT> 14 BOOST_CHECK_EQUAL(icl::is_empty(IntervalT()), true); in interval_ctor_4_ordered_types() 15 …BOOST_CHECK_EQUAL(icl::cardinality(IntervalT()), icl::identity_element<typename icl::size_type_of<… in interval_ctor_4_ordered_types() 16 …BOOST_CHECK_EQUAL(icl::size(IntervalT()), icl::identity_element<typename icl::size_type_of<T>::typ… in interval_ctor_4_ordered_types() 18 BOOST_CHECK_EQUAL( IntervalT(), IntervalT() ); in interval_ctor_4_ordered_types() 19 BOOST_CHECK_EQUAL( IntervalT(), IntervalT(IntervalT().lower(), IntervalT().upper()) ); in interval_ctor_4_ordered_types() 20 BOOST_CHECK_EQUAL( IntervalT(), IntervalT(icl::lower(IntervalT()), icl::upper(IntervalT())) ); in interval_ctor_4_ordered_types() 29 typedef typename icl::interval<T,Compare>::type IntervalT; in distant_intervals_4_numeric_continuous_types() typedef 53 test_inner_complement<T,Compare,IntervalT>(I_D(0,4), I_D(8,9)); in distant_intervals_4_numeric_continuous_types() 54 test_inner_complement<T,Compare,IntervalT>(I_D(7,8), I_D(2,3)); in distant_intervals_4_numeric_continuous_types() [all …]
|
D | test_interval_map_mixed.hpp | 117 typedef typename IntervalMapT::interval_type IntervalT; in interval_map_mixed_ctor_4_bicremental_types() typedef 127 IntervalT I1_3D = IntervalT::right_open(v1,v3); in interval_map_mixed_ctor_4_bicremental_types() 128 IntervalT I2_4D = IntervalT::right_open(v2,v4); in interval_map_mixed_ctor_4_bicremental_types() 129 IntervalT I4_5D = IntervalT::right_open(v4,v5); in interval_map_mixed_ctor_4_bicremental_types() 131 std::pair<IntervalT,U> I1_3D_1(I1_3D, u1); in interval_map_mixed_ctor_4_bicremental_types() 132 std::pair<IntervalT,U> I2_4D_1(I2_4D, u1); in interval_map_mixed_ctor_4_bicremental_types() 133 std::pair<IntervalT,U> I4_5D_1(I4_5D, u1); in interval_map_mixed_ctor_4_bicremental_types() 147 typedef typename IntervalMapT::interval_type IntervalT; in interval_map_mixed_assign_4_bicremental_types() typedef 157 IntervalT I1_3D = IntervalT::right_open(v1,v3); in interval_map_mixed_assign_4_bicremental_types() 158 IntervalT I2_4D = IntervalT::right_open(v2,v4); in interval_map_mixed_assign_4_bicremental_types() [all …]
|
D | test_icl_interval_shared.hpp | 19 typedef ICL_INTERVAL_TYPE(Interval,DomainT,Compare) IntervalT; in test_inner_complement() typedef 26 IntervalT in_comp = inner_complement(itv1,itv2); in test_inner_complement() 31 IntervalT inner_comp_itv; in test_inner_complement() 43 IntervalT itv1_comp = hull(itv1, in_comp); in test_inner_complement() 44 IntervalT itv2_comp = hull(itv2, in_comp); in test_inner_complement() 57 template <class IntervalT> 58 void test_inner_complement_(const IntervalT& itv1, const IntervalT& itv2) in test_inner_complement_() 60 typedef typename interval_traits<IntervalT>::domain_type DomainT; in test_inner_complement_() 63 test_inner_complement<DomainT, std::less, IntervalT>(itv1, itv2); in test_inner_complement_() 86 typedef typename icl::interval<T>::type IntervalT; in interval_equal_4_integral_types() typedef [all …]
|
D | test_icl_discrete_interval.hpp | 12 template <class T, class IntervalT> 15 BOOST_CHECK( is_interval<IntervalT>::value ); in discrete_interval_traits() 16 BOOST_CHECK( is_discrete_interval<IntervalT>::value ); in discrete_interval_traits() 17 BOOST_CHECK( is_discrete<typename IntervalT::domain_type>::value ); in discrete_interval_traits() 18 BOOST_CHECK(!is_continuous<typename IntervalT::domain_type>::value); in discrete_interval_traits() 19 BOOST_CHECK( has_dynamic_bounds<IntervalT>::value ); in discrete_interval_traits() 20 BOOST_CHECK(!has_static_bounds<IntervalT>::value ); in discrete_interval_traits() 23 template <class T, class IntervalT> 26 BOOST_CHECK_EQUAL( IntervalT(MK_v(3)), IntervalT(MK_v(3)) ); in discrete_interval_ctor__dis_4_dyn_v_sta() 27 BOOST_CHECK_EQUAL( icl::contains(IntervalT(MK_v(1)), MK_v(1)), true ); in discrete_interval_ctor__dis_4_dyn_v_sta() [all …]
|
D | test_icl_static_interval.hpp | 11 template <class T, class IntervalT> 14 BOOST_CHECK_EQUAL(icl::is_empty(IntervalT()), true); in static_interval_ctor_4_ordered_types() 15 …BOOST_CHECK_EQUAL(icl::cardinality(IntervalT()), icl::identity_element<typename icl::size_type_of<… in static_interval_ctor_4_ordered_types() 16 …BOOST_CHECK_EQUAL(icl::size(IntervalT()), icl::identity_element<typename icl::size_type_of<T>::typ… in static_interval_ctor_4_ordered_types() 18 BOOST_CHECK_EQUAL( IntervalT(), IntervalT() ); in static_interval_ctor_4_ordered_types() 19 BOOST_CHECK_EQUAL( IntervalT(), IntervalT(IntervalT().lower(), IntervalT().upper()) ); in static_interval_ctor_4_ordered_types() 20 BOOST_CHECK_EQUAL( IntervalT(), IntervalT(icl::lower(IntervalT()), icl::upper(IntervalT())) ); in static_interval_ctor_4_ordered_types()
|
D | test_interval_set_mixed.hpp | 121 typedef typename IntervalSetT::interval_type IntervalT; in interval_set_mixed_ctor_4_bicremental_types() typedef 129 IntervalT I1_3D = IntervalT::right_open(v1,v3); in interval_set_mixed_ctor_4_bicremental_types() 130 IntervalT I2_4D = IntervalT::right_open(v2,v4); in interval_set_mixed_ctor_4_bicremental_types() 131 IntervalT I4_5D = IntervalT::right_open(v4,v5); in interval_set_mixed_ctor_4_bicremental_types() 154 typedef typename IntervalSetT::interval_type IntervalT; in interval_set_mixed_assign_4_bicremental_types() typedef 162 IntervalT I1_3D = IntervalT::right_open(v1,v3); in interval_set_mixed_assign_4_bicremental_types() 163 IntervalT I2_4D = IntervalT::right_open(v2,v4); in interval_set_mixed_assign_4_bicremental_types() 164 IntervalT I4_5D = IntervalT::right_open(v4,v5); in interval_set_mixed_assign_4_bicremental_types() 192 typedef typename IntervalSetT::interval_type IntervalT; in interval_set_mixed_equal_4_bicremental_types() typedef 200 IntervalT I1_3D = IntervalT::right_open(v1,v3); in interval_set_mixed_equal_4_bicremental_types() [all …]
|
D | test_icl_dynamic_interval.hpp | 11 template <class IntervalT> 14 typedef typename domain_type_of<interval_traits<IntervalT> >::type T; in dynamic_interval_ctor_4_ordered_types() 16 BOOST_CHECK_EQUAL(IntervalT().lower(), icl::identity_element<T>::value()); in dynamic_interval_ctor_4_ordered_types() 17 BOOST_CHECK_EQUAL(IntervalT().upper(), icl::identity_element<T>::value()); in dynamic_interval_ctor_4_ordered_types() 18 BOOST_CHECK_EQUAL(icl::lower(IntervalT()), icl::identity_element<T>::value()); in dynamic_interval_ctor_4_ordered_types() 19 BOOST_CHECK_EQUAL(icl::upper(IntervalT()), icl::identity_element<T>::value()); in dynamic_interval_ctor_4_ordered_types() 21 …IntervalT empty_itv = IntervalT(icl::identity_element<T>::value(), icl::identity_element<T>::value… in dynamic_interval_ctor_4_ordered_types() 22 BOOST_CHECK_EQUAL(IntervalT(), empty_itv); in dynamic_interval_ctor_4_ordered_types() 23 …BOOST_CHECK_EQUAL(IntervalT(), IntervalT(icl::identity_element<T>::value(), icl::identity_element<… in dynamic_interval_ctor_4_ordered_types() 24 …BOOST_CHECK_EQUAL(IntervalT(), IntervalT(icl::identity_element<T>::value(), icl::identity_element<… in dynamic_interval_ctor_4_ordered_types() [all …]
|
D | test_interval_set_shared.hpp | 18 typedef typename IntervalSetT::interval_type IntervalT; in interval_set_fundamentals_4_ordered_types() typedef 28 IntervalT I0_0I(v0); in interval_set_fundamentals_4_ordered_types() 29 IntervalT I1_1I(v1); in interval_set_fundamentals_4_ordered_types() 30 IntervalT I0_1I(v0, v1, interval_bounds::closed()); in interval_set_fundamentals_4_ordered_types() 44 IntervalT mt_interval = boost::icl::identity_element<IntervalT>::value(); in interval_set_fundamentals_4_ordered_types() 45 BOOST_CHECK_EQUAL(mt_interval, IntervalT()); in interval_set_fundamentals_4_ordered_types() 56 BOOST_CHECK_EQUAL(hull(mt_set), boost::icl::identity_element<IntervalT >::value()); in interval_set_fundamentals_4_ordered_types() 149 typedef typename IntervalSetT::interval_type IntervalT; in interval_set_ctor_4_bicremental_types() typedef 152 IntervalT I4_4I(v4); in interval_set_ctor_4_bicremental_types() 199 typedef typename IntervalSetT::interval_type IntervalT; in interval_set_add_sub_4_bicremental_types() typedef [all …]
|
D | test_interval_map_shared.hpp | 25 typedef typename IntervalMapT::interval_type IntervalT; in interval_map_fundamentals_4_ordered_types() typedef 35 IntervalT I0_0I(v0); in interval_map_fundamentals_4_ordered_types() 36 IntervalT I1_1I(v1); in interval_map_fundamentals_4_ordered_types() 38 IntervalT I0_1I(v0, v1, interval_bounds::closed()); in interval_map_fundamentals_4_ordered_types() 40 IntervalT I0_1I = icl::interval<T>::closed(v0, v1); in interval_map_fundamentals_4_ordered_types() 57 IntervalT mt_interval = boost::icl::identity_element<IntervalT >::value(); in interval_map_fundamentals_4_ordered_types() 58 BOOST_CHECK_EQUAL(mt_interval, IntervalT()); in interval_map_fundamentals_4_ordered_types() 70 BOOST_CHECK_EQUAL(hull(mt_map), boost::icl::identity_element<IntervalT >::value()); in interval_map_fundamentals_4_ordered_types() 180 typedef typename IntervalMapT::interval_type IntervalT; in interval_map_ctor_4_bicremental_types() typedef 184 IntervalT I4_4I(v4); in interval_map_ctor_4_bicremental_types() [all …]
|
/third_party/boost/boost/icl/concept/ |
D | interval_bounds.hpp | 117 template<class IntervalT> 119 boost::enable_if<has_dynamic_bounds<IntervalT>, interval_bounds>::type 120 outer_bounds(const IntervalT& x1, const IntervalT& x2) in outer_bounds() 123 template<class IntervalT> 125 boost::enable_if<has_dynamic_bounds<IntervalT>, interval_bounds>::type 126 inner_bounds(const IntervalT& x1, const IntervalT& x2) in inner_bounds() 129 template<class IntervalT> 131 boost::enable_if<has_dynamic_bounds<IntervalT>, interval_bounds>::type 132 left_bounds(const IntervalT& x1, const IntervalT& x2) in left_bounds() 135 template<class IntervalT> [all …]
|
/third_party/boost/boost/icl/ |
D | interval.hpp | 18 …template <class IntervalT, bool IsDiscrete, bound_type PretendedBounds, bound_type RepresentedBoun… 99 template <class IntervalT, bound_type PretendedBounds, bound_type RepresentedBounds> 100 struct static_interval<IntervalT, true, PretendedBounds, RepresentedBounds> 102 typedef typename interval_traits<IntervalT>::domain_type domain_type; 104 static inline IntervalT construct(const domain_type& low, const domain_type& up) in construct() 106 return icl::construct<IntervalT>( in construct() 113 template <class IntervalT, bound_type PretendedBounds, bound_type RepresentedBounds> 114 struct static_interval<IntervalT, false, PretendedBounds, RepresentedBounds> 116 typedef typename interval_traits<IntervalT>::domain_type domain_type; 118 static inline IntervalT construct(const domain_type& low, const domain_type& up) in construct() [all …]
|
/third_party/boost/boost/icl/detail/ |
D | exclusive_less_than.hpp | 17 template <class IntervalT> 21 bool operator()(const IntervalT& left, const IntervalT& right)const in operator ()()
|
/third_party/boost/libs/icl/test/test_misc_/ |
D | test_misc.cpp | 42 typedef RatioSetT::interval_type IntervalT; in BOOST_AUTO_TEST_CASE() typedef 47 (((set_a += IntervalT(RatT(0), RatT(1) ) ) in BOOST_AUTO_TEST_CASE() 48 -= IntervalT(RatT(1,9), RatT(2,9)) ) in BOOST_AUTO_TEST_CASE() 49 -= IntervalT(RatT(3,9), RatT(4,9)) ) in BOOST_AUTO_TEST_CASE() 50 -= IntervalT(RatT(5,9), RatT(6,9)); in BOOST_AUTO_TEST_CASE() 80 typedef interval<T>::type IntervalT; in BOOST_AUTO_TEST_CASE() typedef 82 IntervalT itv_a = I_D(1,3); in BOOST_AUTO_TEST_CASE() 83 IntervalT itv_b = I_D(5,7); in BOOST_AUTO_TEST_CASE() 85 IntervalT beween_a_b = between(itv_a, itv_b); in BOOST_AUTO_TEST_CASE() 86 IntervalT beween_b_a = between(itv_b, itv_a); in BOOST_AUTO_TEST_CASE()
|
/third_party/boost/libs/icl/doc/ |
D | interface.qbk | 158 [[__itv_bsets__][__itv_set__] [`<DomainT,Compare,IntervalT,Alloc>`]] 159 [[] [__sep_itv_set__][`<DomainT,Compare,IntervalT,Alloc>`]] 160 [[] [__spl_itv_set__][`<DomainT,Compare,IntervalT,Alloc>`]] 174 [[__itv_bsets__] [`DomainT`][`Compare = std::less`] [`IntervalT = interval<DomainT,Compa… 193 [[__itv_bmaps__][__itv_map__] [`<DomainT,CodomainT,Traits,Compare,Combine,Section,IntervalT,Allo… 194 [[] [__spl_itv_map__][`<DomainT,CodomainT,Traits,Compare,Combine,Section,IntervalT,Allo… 209 …ess`] [`Combine = inplace_plus`] [`Section = icl::inplace_et`] [`IntervalT = interval<Domai… 224 I := class IntervalT = icl::interval<D,cp>::type 262 … [`interval_sets/maps`][`typename`] [`IntervalT`] [] [`...` the … 349 [h5 Requirements on IntervalT] [all …]
|