public class StructureKeysBitSetGenerator extends net.idea.modbcum.p.DefaultAmbitProcessor<org.openscience.cdk.interfaces.IAtomContainer,BitSet>
Modifier and Type | Field and Description |
---|---|
protected CDKHueckelAromaticityDetector |
aromaticDetector |
protected AtomConfigurator |
cfg |
protected boolean |
cleanKekuleBonds |
protected IsomorphismTester |
isoTester |
protected static int |
nKeys |
protected static List<List<QuerySequenceElement>> |
sequences |
protected static List<String> |
smartsKeys |
protected static List<org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer> |
smartsQueries |
Constructor and Description |
---|
StructureKeysBitSetGenerator() |
StructureKeysBitSetGenerator(List<String> externalSmartsKeys) |
Modifier and Type | Method and Description |
---|---|
static String |
getKey(int index) |
protected BitSet |
getStructureKeyBits(org.openscience.cdk.interfaces.IAtomContainer ac) |
static int |
indexOf(String key) |
boolean |
isCleanKekuleBonds() |
protected void |
prepareKeySequences(List<String> keys,
int nKeys) |
BitSet |
process(org.openscience.cdk.interfaces.IAtomContainer target) |
void |
setCleanKekuleBonds(boolean cleanKekuleBonds) |
void |
setSmartsKeys(List<String> smartsKeys) |
protected IsomorphismTester isoTester
protected static List<org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer> smartsQueries
protected static List<List<QuerySequenceElement>> sequences
protected static int nKeys
protected AtomConfigurator cfg
protected CDKHueckelAromaticityDetector aromaticDetector
protected boolean cleanKekuleBonds
public StructureKeysBitSetGenerator() throws Exception
Exception
public boolean isCleanKekuleBonds()
public void setCleanKekuleBonds(boolean cleanKekuleBonds)
public void setSmartsKeys(List<String> smartsKeys) throws EmptyMoleculeException
EmptyMoleculeException
protected void prepareKeySequences(List<String> keys, int nKeys) throws EmptyMoleculeException
EmptyMoleculeException
public BitSet process(org.openscience.cdk.interfaces.IAtomContainer target) throws net.idea.modbcum.i.exceptions.AmbitException
net.idea.modbcum.i.exceptions.AmbitException
protected BitSet getStructureKeyBits(org.openscience.cdk.interfaces.IAtomContainer ac)
public static String getKey(int index)
public static int indexOf(String key)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.