public class FastSmartsMatcher extends AbstractSmartsPattern<org.openscience.cdk.interfaces.IAtomContainer>
Modifier and Type | Field and Description |
---|---|
protected IsomorphismTester |
isoTester |
protected org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer |
query |
protected SMARTSPropertiesReader |
reader |
protected SmartsParser |
sp |
Constructor and Description |
---|
FastSmartsMatcher() |
FastSmartsMatcher(String smarts,
boolean negate) |
Modifier and Type | Method and Description |
---|---|
org.openscience.cdk.interfaces.IAtomContainer |
getMatchingStructure(org.openscience.cdk.interfaces.IAtomContainer mol) |
org.openscience.cdk.interfaces.IAtomContainer |
getObjectToVerify(org.openscience.cdk.interfaces.IAtomContainer mol) |
org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer |
getQuery() |
int |
hasSMARTSPattern(org.openscience.cdk.interfaces.IAtomContainer mol) |
void |
setQuery(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query) |
void |
setSmarts(String smarts) |
void |
useMOEvPrimitive(boolean flag) |
protected IsomorphismTester isoTester
protected SmartsParser sp
protected org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query
protected SMARTSPropertiesReader reader
public FastSmartsMatcher()
public FastSmartsMatcher(String smarts, boolean negate) throws SMARTSException
SMARTSException
public org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer getQuery()
public void setQuery(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query)
public org.openscience.cdk.interfaces.IAtomContainer getMatchingStructure(org.openscience.cdk.interfaces.IAtomContainer mol) throws SMARTSException
SMARTSException
public org.openscience.cdk.interfaces.IAtomContainer getObjectToVerify(org.openscience.cdk.interfaces.IAtomContainer mol)
public void setSmarts(String smarts) throws SMARTSException
setSmarts
in interface ISmartsPattern<org.openscience.cdk.interfaces.IAtomContainer>
setSmarts
in class AbstractSmartsPattern<org.openscience.cdk.interfaces.IAtomContainer>
SMARTSException
public int hasSMARTSPattern(org.openscience.cdk.interfaces.IAtomContainer mol) throws SMARTSException
SMARTSException
public void useMOEvPrimitive(boolean flag) throws UnsupportedOperationException
UnsupportedOperationException
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.