public class SmartsManager extends Object
Modifier and Type | Field and Description |
---|---|
protected org.openscience.cdk.interfaces.IChemObjectBuilder |
builder |
boolean |
mGenerateSubQueries |
protected org.openscience.cdk.isomorphism.UniversalIsomorphismTester |
uit |
Constructor and Description |
---|
SmartsManager(org.openscience.cdk.interfaces.IChemObjectBuilder builder) |
Modifier and Type | Method and Description |
---|---|
void |
calcSmartsDataForTarget(org.openscience.cdk.interfaces.IAtomContainer mol) |
protected boolean |
checkComponentInCombination(int n,
int[] a) |
List<org.openscience.cdk.interfaces.IAtom> |
generateFullAtomMapping(List bondMapList,
org.openscience.cdk.interfaces.IAtomContainer target,
org.openscience.cdk.interfaces.IAtomContainer queryStr)
This function generates full Atom Mapping from a Bond mapping (result
from the CDK isomorphism
|
org.openscience.cdk.interfaces.IAtomContainer |
generateFullIsomorphismMapping(List bondMapList,
org.openscience.cdk.interfaces.IAtomContainer target,
org.openscience.cdk.interfaces.IAtomContainer queryStr) |
org.openscience.cdk.interfaces.IAtomContainerSet |
getAllIsomorphismMappings(org.openscience.cdk.interfaces.IAtomContainer target) |
List |
getBondMappings(org.openscience.cdk.interfaces.IAtomContainer target) |
String |
getErrors() |
List<org.openscience.cdk.interfaces.IAtom> |
getFirstPosAtomMappings(org.openscience.cdk.interfaces.IAtomContainer target) |
boolean |
getIsomorphismTesterFlagCheckStereoElements() |
List<List<org.openscience.cdk.interfaces.IAtom>> |
getMappingsForGroup(org.openscience.cdk.interfaces.IAtomContainer target,
org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer groupQuery,
SmartsConst.SSM_MODE FlagSSMode) |
org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer |
getQueryContaner() |
boolean |
getSupportDoubleBondAromaticityNotSpecified() |
boolean |
getSupportMOEExtension() |
boolean |
getSupportOpenBabelExtension() |
boolean |
getSupportOpenEyeExtension() |
boolean |
getUseMOEvPrimitive() |
void |
handleGroupRecursiveAtoms(org.openscience.cdk.interfaces.IAtomContainer target,
org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer groupQuery) |
boolean |
isFlagUseCDKIsomorphismTester() |
void |
markAtomGroups(org.openscience.cdk.interfaces.IAtomContainer target,
List<org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer> groupQueries)
Calculates for each atom a bit set which describes the participation of this
atom in each of the predefined groups.
|
void |
markAtomGroups(org.openscience.cdk.interfaces.IAtomContainer target,
List<org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer> groupQueries,
SmartsConst.SSM_MODE FlagSSMode) |
String |
matchesToString(org.openscience.cdk.interfaces.IAtomContainer target,
List<org.openscience.cdk.interfaces.IAtom> atomMaps) |
boolean |
searchIn(org.openscience.cdk.interfaces.IAtomContainer target) |
void |
setIsomorphismTesterFlagCheckStereoElements(boolean checkStereoElements) |
void |
setQuery(String smQuery) |
void |
setSmartsDataForTarget(boolean flag) |
void |
setUseCDKIsomorphismTester(boolean flag) |
void |
supportDoubleBondAromaticityNotSpecified(boolean support) |
void |
supportMOEExtension(boolean support) |
void |
supportOpenBabelExtension(boolean support) |
void |
supportOpenEyeExtension(boolean support) |
void |
testCombinations() |
void |
testSubQueries() |
void |
testTopLayers() |
void |
useMOEvPrimitive(boolean support) |
protected org.openscience.cdk.isomorphism.UniversalIsomorphismTester uit
public boolean mGenerateSubQueries
protected org.openscience.cdk.interfaces.IChemObjectBuilder builder
public SmartsManager(org.openscience.cdk.interfaces.IChemObjectBuilder builder)
public boolean isFlagUseCDKIsomorphismTester()
public void setQuery(String smQuery)
public String getErrors()
public org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer getQueryContaner()
public void setSmartsDataForTarget(boolean flag)
public void calcSmartsDataForTarget(org.openscience.cdk.interfaces.IAtomContainer mol) throws Exception
Exception
public void setUseCDKIsomorphismTester(boolean flag)
public void supportMOEExtension(boolean support)
public void supportOpenEyeExtension(boolean support)
public void supportOpenBabelExtension(boolean support)
public void supportDoubleBondAromaticityNotSpecified(boolean support)
public void useMOEvPrimitive(boolean support)
public boolean getSupportMOEExtension()
public boolean getSupportOpenEyeExtension()
public boolean getSupportOpenBabelExtension()
public boolean getSupportDoubleBondAromaticityNotSpecified()
public boolean getUseMOEvPrimitive()
public boolean searchIn(org.openscience.cdk.interfaces.IAtomContainer target) throws Exception
Exception
protected boolean checkComponentInCombination(int n, int[] a)
public org.openscience.cdk.interfaces.IAtomContainerSet getAllIsomorphismMappings(org.openscience.cdk.interfaces.IAtomContainer target) throws Exception
Exception
public List<org.openscience.cdk.interfaces.IAtom> getFirstPosAtomMappings(org.openscience.cdk.interfaces.IAtomContainer target) throws Exception
Exception
public List getBondMappings(org.openscience.cdk.interfaces.IAtomContainer target) throws Exception
Exception
public String matchesToString(org.openscience.cdk.interfaces.IAtomContainer target, List<org.openscience.cdk.interfaces.IAtom> atomMaps)
public List<org.openscience.cdk.interfaces.IAtom> generateFullAtomMapping(List bondMapList, org.openscience.cdk.interfaces.IAtomContainer target, org.openscience.cdk.interfaces.IAtomContainer queryStr)
public org.openscience.cdk.interfaces.IAtomContainer generateFullIsomorphismMapping(List bondMapList, org.openscience.cdk.interfaces.IAtomContainer target, org.openscience.cdk.interfaces.IAtomContainer queryStr)
public void markAtomGroups(org.openscience.cdk.interfaces.IAtomContainer target, List<org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer> groupQueries) throws EmptyMoleculeException
target
- groupQueries
- EmptyMoleculeException
public void markAtomGroups(org.openscience.cdk.interfaces.IAtomContainer target, List<org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer> groupQueries, SmartsConst.SSM_MODE FlagSSMode) throws EmptyMoleculeException
EmptyMoleculeException
public void handleGroupRecursiveAtoms(org.openscience.cdk.interfaces.IAtomContainer target, org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer groupQuery) throws EmptyMoleculeException
EmptyMoleculeException
public List<List<org.openscience.cdk.interfaces.IAtom>> getMappingsForGroup(org.openscience.cdk.interfaces.IAtomContainer target, org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer groupQuery, SmartsConst.SSM_MODE FlagSSMode)
public void testCombinations()
public void testTopLayers()
public void testSubQueries()
public boolean getIsomorphismTesterFlagCheckStereoElements()
public void setIsomorphismTesterFlagCheckStereoElements(boolean checkStereoElements)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.