Class AtomContainerAtomPermutor

All Implemented Interfaces:
Iterator<IAtomContainer>

public class AtomContainerAtomPermutor extends AtomContainerPermutor
An atom container atom permutor that uses ranking and unranking to calculate the next permutation in the series.

Typical use:

AtomContainerAtomPermutor permutor = new AtomContainerAtomPermutor(container);
while (permutor.hasNext()) {
  IAtomContainer permutedContainer = permutor.next();
  ...
}
Author:
maclean
Keywords:
permutation
Created on:
2009-09-09
  • Constructor Details

    • AtomContainerAtomPermutor

      public AtomContainerAtomPermutor(IAtomContainer atomContainer)
      A permutor wraps the original atom container, and produces cloned (and permuted!) copies on demand.
      Parameters:
      atomContainer - the atom container to permute
  • Method Details