Interface PermutationGroup.Backtracker
- Enclosing class:
PermutationGroup
public static interface PermutationGroup.Backtracker
An interface for use with the apply method, which runs through all the
permutations in this group.
- Author:
- maclean
-
Method Summary
Modifier and TypeMethodDescriptionvoidDo something to the permutationbooleanCheck to see if the backtracker is finished.
-
Method Details
-
applyTo
Do something to the permutation- Parameters:
p- a permutation in the full group
-
isFinished
boolean isFinished()Check to see if the backtracker is finished.- Returns:
- true if complete
-