Add spanning tree path to cosets.

This commit is contained in:
2020-01-03 22:37:11 -05:00
parent f1c57b241f
commit 3c3cd69be7
4 changed files with 35 additions and 1 deletions

View File

@@ -4,9 +4,15 @@
#include <vector>
namespace tc {
struct Action {
int coset = -1;
int gen = -1;
};
struct Cosets {
int ngens;
std::vector<int> data;
std::vector<Action> path;
int len;
explicit Cosets(int ngens);
@@ -21,5 +27,4 @@ namespace tc {
[[nodiscard]] int get(int idx) const;
};
}