add bound to support for infinite groups and free relations

special values tc::UNBOUND and tc::FREE used for this.
This commit is contained in:
David Allemang
2022-09-16 11:49:09 -04:00
parent a867631393
commit c7c6784643
5 changed files with 70 additions and 22 deletions

View File

@@ -10,5 +10,7 @@
#include "group.hpp"
namespace tc {
Cosets solve(const Group &group, const std::vector<Gen> &sub_gens);
constexpr Coset UNBOUNDED = (Coset) (-1);
Cosets solve(const Group &group, const std::vector<Gen> &sub_gens, const Coset &bound = UNBOUNDED);
}