1 /*-----------------------------------------------------------------------------+
2 Copyright (c) 2008-2009: Joachim Faulhaber
3 +------------------------------------------------------------------------------+
4    Distributed under the Boost Software License, Version 1.0.
5       (See accompanying file LICENCE.txt or copy at
6            http://www.boost.org/LICENSE_1_0.txt)
7 +-----------------------------------------------------------------------------*/
8 #ifndef BOOST_ICL_FASTEST_TOTAL_INTERVAL_QUANTIFIER_CASES_HPP_JOFA_090703
9 #define BOOST_ICL_FASTEST_TOTAL_INTERVAL_QUANTIFIER_CASES_HPP_JOFA_090703
10 
11 //------------------------------------------------------------------------------
12 // total_absorber
13 //------------------------------------------------------------------------------
BOOST_AUTO_TEST_CASE(fastest_itl_total_icl_quantifier_check_monoid_plus_4_bicremental_types)14 BOOST_AUTO_TEST_CASE
15 (fastest_itl_total_icl_quantifier_check_monoid_plus_4_bicremental_types)
16 {                  icl_quantifier_check_monoid_plus_4_bicremental_types<bicremental_type_1, std::string, total_absorber, INTERVAL_MAP>();}
17 
BOOST_AUTO_TEST_CASE(fastest_itl_total_icl_quantifier_check_monoid_et_4_bicremental_types)18 BOOST_AUTO_TEST_CASE
19 (fastest_itl_total_icl_quantifier_check_monoid_et_4_bicremental_types)
20 {                  icl_quantifier_check_monoid_et_4_bicremental_types<bicremental_type_2, int, total_absorber, INTERVAL_MAP>();}
21 
BOOST_AUTO_TEST_CASE(fastest_itl_total_icl_quantifier_check_abelian_monoid_plus_4_bicremental_types)22 BOOST_AUTO_TEST_CASE
23 (fastest_itl_total_icl_quantifier_check_abelian_monoid_plus_4_bicremental_types)
24 {                  icl_quantifier_check_abelian_monoid_plus_4_bicremental_types<bicremental_type_3, std::string, total_absorber, INTERVAL_MAP>();}
25 
BOOST_AUTO_TEST_CASE(fastest_itl_total_icl_quantifier_check_abelian_monoid_et_4_bicremental_types)26 BOOST_AUTO_TEST_CASE
27 (fastest_itl_total_icl_quantifier_check_abelian_monoid_et_4_bicremental_types)
28 {                  icl_quantifier_check_abelian_monoid_et_4_bicremental_types<bicremental_type_4, float, total_absorber, INTERVAL_MAP>();}
29 
30 // (0-x) + x = 0 | total absorber
BOOST_AUTO_TEST_CASE(fastest_itl_total_icl_quantifier_check_abelian_group_plus_4_bicremental_domain_and_discrete_codomain)31 BOOST_AUTO_TEST_CASE
32 (fastest_itl_total_icl_quantifier_check_abelian_group_plus_4_bicremental_domain_and_discrete_codomain)
33 {                  icl_quantifier_check_abelian_group_plus_4_bicremental_types<bicremental_type_5, int, total_absorber, INTERVAL_MAP>();}
34 
BOOST_AUTO_TEST_CASE(fastest_itl_total_icl_quantifier_check_abelian_group_plus_4_bicremental_domain_and_continuous_codomain_1)35 BOOST_AUTO_TEST_CASE
36 (fastest_itl_total_icl_quantifier_check_abelian_group_plus_4_bicremental_domain_and_continuous_codomain_1)
37 {                  icl_quantifier_check_abelian_group_plus_4_bicremental_types<bicremental_type_5, double, total_absorber, INTERVAL_MAP>();}
38 
BOOST_AUTO_TEST_CASE(fastest_itl_total_icl_quantifier_check_abelian_group_plus_4_bicremental_domain_and_continuous_codomain_2)39 BOOST_AUTO_TEST_CASE
40 (fastest_itl_total_icl_quantifier_check_abelian_group_plus_4_bicremental_domain_and_continuous_codomain_2)
41 {                  icl_quantifier_check_abelian_group_plus_4_bicremental_types<bicremental_type_5, boost::rational<int>, total_absorber, INTERVAL_MAP>();}
42 
43 //------------------------------------------------------------------------------
44 // total_enricher
45 //------------------------------------------------------------------------------
BOOST_AUTO_TEST_CASE(fastest_itl_total_enricher_icl_quantifier_check_monoid_plus_4_bicremental_types)46 BOOST_AUTO_TEST_CASE
47 (fastest_itl_total_enricher_icl_quantifier_check_monoid_plus_4_bicremental_types)
48 {                           icl_quantifier_check_monoid_plus_4_bicremental_types<bicremental_type_6, std::string, total_enricher, INTERVAL_MAP>();}
49 
BOOST_AUTO_TEST_CASE(fastest_itl_total_enricher_icl_quantifier_check_monoid_et_4_bicremental_types)50 BOOST_AUTO_TEST_CASE
51 (fastest_itl_total_enricher_icl_quantifier_check_monoid_et_4_bicremental_types)
52 {                           icl_quantifier_check_monoid_et_4_bicremental_types<bicremental_type_7, int, total_enricher, INTERVAL_MAP>();}
53 
BOOST_AUTO_TEST_CASE(fastest_itl_total_enricher_icl_quantifier_check_abelian_monoid_plus_4_bicremental_types)54 BOOST_AUTO_TEST_CASE
55 (fastest_itl_total_enricher_icl_quantifier_check_abelian_monoid_plus_4_bicremental_types)
56 {                           icl_quantifier_check_abelian_monoid_plus_4_bicremental_types<bicremental_type_8, std::string, total_enricher, INTERVAL_MAP>();}
57 
BOOST_AUTO_TEST_CASE(fastest_itl_total_enricher_icl_quantifier_check_abelian_monoid_et_4_bicremental_types)58 BOOST_AUTO_TEST_CASE
59 (fastest_itl_total_enricher_icl_quantifier_check_abelian_monoid_et_4_bicremental_types)
60 {                           icl_quantifier_check_abelian_monoid_et_4_bicremental_types<bicremental_type_1, double, total_enricher, INTERVAL_MAP>();}
61 
62 // (0-x) + x =d= 0 | total absorber
BOOST_AUTO_TEST_CASE(fastest_itl_total_enricher_icl_quantifier_check_abelian_group_plus_prot_inv_4_bicremental_domain_discrete_codomain)63 BOOST_AUTO_TEST_CASE
64 (fastest_itl_total_enricher_icl_quantifier_check_abelian_group_plus_prot_inv_4_bicremental_domain_discrete_codomain)
65 {                           icl_quantifier_check_abelian_group_plus_prot_inv_4_bicremental_types<bicremental_type_2, int, total_enricher, INTERVAL_MAP>();}
66 
BOOST_AUTO_TEST_CASE(fastest_itl_total_enricher_icl_quantifier_check_abelian_group_plus_prot_inv_4_bicremental_domain_continuous_codomain_1)67 BOOST_AUTO_TEST_CASE
68 (fastest_itl_total_enricher_icl_quantifier_check_abelian_group_plus_prot_inv_4_bicremental_domain_continuous_codomain_1)
69 {                           icl_quantifier_check_abelian_group_plus_prot_inv_4_bicremental_types<bicremental_type_3, float, total_enricher, INTERVAL_MAP>();}
70 
BOOST_AUTO_TEST_CASE(fastest_itl_total_enricher_icl_quantifier_check_abelian_group_plus_prot_inv_4_bicremental_domain_continuous_codomain_2)71 BOOST_AUTO_TEST_CASE
72 (fastest_itl_total_enricher_icl_quantifier_check_abelian_group_plus_prot_inv_4_bicremental_domain_continuous_codomain_2)
73 {                           icl_quantifier_check_abelian_group_plus_prot_inv_4_bicremental_types<bicremental_type_4, boost::rational<int>, total_enricher, INTERVAL_MAP>();}
74 
75 
76 //            absorber      enricher
77 // partial    x - x == 0    x - x =d= 0   partiality of subtraction
78 // total    (-x)+ x == 0  (-x)+ x =d= 0   totality   of subtraction
79 
80 
81 
82 
83 #endif // BOOST_ICL_FASTEST_TOTAL_INTERVAL_QUANTIFIER_CASES_HPP_JOFA_090703
84 
85