public class AtomContainerBondPermutor extends AtomContainerPermutor
Typical use:
AtomContainerBondPermutor permutor = new AtomContainerBondPermutor(container); while (permutor.hasNext()) { IAtomContainer permutedContainer = permutor.next(); ... }
atomContainer
Constructor and Description |
---|
AtomContainerBondPermutor(IAtomContainer atomContainer)
A permutor wraps the original atom container, and produces cloned
(and permuted!) copies on demand.
|
Modifier and Type | Method and Description |
---|---|
IAtomContainer |
containerFromPermutation(int[] permutation)
Convert a permutation (expressed as a list of numbers) into a permuted
atom container.
|
next, randomNext, remove
calculateMaxRank, getCurrentPermutation, getNextPermutation, getRandomNextPermutation, getRank, hasNext, setPermutation, setRank
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining, hasNext
public AtomContainerBondPermutor(IAtomContainer atomContainer)
atomContainer
- the atom container to permutepublic IAtomContainer containerFromPermutation(int[] permutation)
AtomContainerPermutor
containerFromPermutation
in class AtomContainerPermutor
Copyright © 2022. All rights reserved.