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 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