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 Type
    Method
    Description
    void
    Do something to the permutation
    boolean
    Check to see if the backtracker is finished.
  • Method Details

    • 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