X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/8b3703a5f29947df55368d0cf0ef9aed381e0e83..8b3b322359561c6c1ba4d00927400c0e5c6eecf2:/puzzles.h diff --git a/puzzles.h b/puzzles.h index 129ddd1..30ffcb0 100644 --- a/puzzles.h +++ b/puzzles.h @@ -288,6 +288,7 @@ void print_dsf(int *dsf, int size); * indicating whether the canonical element is inverse to val. */ int edsf_canonify(int *dsf, int val, int *inverse); int dsf_canonify(int *dsf, int val); +int dsf_size(int *dsf, int val); /* Allow the caller to specify that two elements should be in the same * equivalence class. If 'inverse' is TRUE, the elements are actually opposite