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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
applyTo(Permutation p)
Do something to the permutationboolean
isFinished()
Check to see if the backtracker is finished.
-
-
-
Method Detail
-
applyTo
void applyTo(Permutation p)
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
-
-