Commit Graph

10 Commits

Author SHA1 Message Date
David Allemang
47de177626 Improve tc::Group, tc::Cosets API.
This is a combination of many commits:

---------------------------------------------------------------------------

final. add public/private for core classes.

wip - big cleanup cosets.

index<>, cosets<>, and group<> all defined

transparent <void> overrides that operate directly on indices, not names

inheritance hierarchy means one can drop or change generator names

still missing path support.

wip - named cosets

fix lang test

wip - named generators

Move Group docstring away from specialization.

Remove tc::Gen; use Group<void>

remove tc::Rel

add thousands separators for benchmark limits

add generators list to tc::group

remove pair_map
2022-11-19 12:32:37 -05:00
David Allemang
164d4f6d29 use coxeter notation parser for benchmark and tests 2022-10-09 21:05:50 -04:00
David Allemang
6d1bb807f3 remove invalid benchmarks 2022-09-16 13:09:49 -04:00
David Allemang
9ccd85e1eb use gtest 2022-09-15 12:13:51 -04:00
David Allemang
cdd0e628e1 add gtest 2022-09-15 11:13:43 -04:00
David Allemang
e513572389 add nontrivial tests to solver test 2022-09-15 10:55:10 -04:00
David Allemang
687c72ea77 correctly type Cosets methods 2022-09-14 21:59:25 -04:00
David Allemang
4347f1f9ec Correctly typed cosets/indexes
Coset type is now `unsigned int`. Half the size as before; speeds up malloc.

Index type is now `size_t` for correctness. More expressive and ___might___ speed up array lookup?? Difference seems negligible since we aren't allocating tons and tons of those.
2022-09-14 21:28:58 -04:00
David Allemang
c3e3043912 convert Group::solve to tc::solve function 2022-09-13 23:00:05 -04:00
David Allemang
cd435dcf54 Improve tests 2022-09-13 23:00:05 -04:00