X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/afc306fc5098945e25027fd6bce572d44a8a139f..7b5c79f87e8a6bc0fcb1fb4ce197592210aa5228:/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