OKlibrary  0.2.1.6
Subsets.mac
Go to the documentation of this file.
00001 /* Matthew Gwynne, 21.1.2009 (Swansea) */
00002 /* Copyright 2009, 2010 Oliver Kullmann
00003 This file is part of the OKlibrary. OKlibrary is free software; you can redistribute
00004 it and/or modify it under the terms of the GNU General Public License as published by
00005 the Free Software Foundation and included in this library; either version 3 of the
00006 License, or any later version. */
00007 
00021 oklib_include("OKlib/ComputerAlgebra/Combinatorics/Lisp/Enumeration/Subsets.mac")$
00022 oklib_include("OKlib/ComputerAlgebra/Combinatorics/Lisp/Enumeration/tests/Subsets.mac")$
00023 
00024 /* ************
00025    * Counting *
00026    ************
00027 */
00028 
00029 okltest_count_ksubsets_s(count_ksubsets_s);
00030 okltest_count_ksubsets(count_ksubsets);
00031 
00032 /* ****************************
00033    * Lexicographical ordering *
00034    ****************************
00035 */
00036 
00037 okltest_lex_ksubsets_l(lex_ksubsets_l);
00038 okltest_lex_ksubsets_ll(lex_ksubsets_ll);
00039 okltest_rank_lex_ksubsets(rank_lex_ksubsets);
00040 okltest_unrank_lex_ksubsets(unrank_lex_ksubsets);
00041 
00042 /* ******************************
00043    * Colexicographical ordering *
00044    ******************************
00045 */
00046 
00047 okltest_colex_ksubsets_l(colex_ksubsets_l);
00048 okltest_colex_ksubsets_ll(colex_ksubsets_ll);
00049 okltest_rank_colex_ksubsets(rank_colex_ksubsets);
00050 okltest_unrank_colex_ksubsets(unrank_colex_ksubsets);
00051