Package org.openscience.cdk.group
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Do something to the permutationboolean
Check 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
-