public class IsomorphismTester extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
FlagCheckStereoElements |
protected boolean |
FlagStoreIsomorphismNode |
protected boolean |
isomorphismFound |
protected List<Node> |
isomorphismNodes |
protected org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer |
query |
protected List<QuerySequenceElement> |
sequence |
protected List<org.openscience.cdk.isomorphism.matchers.IQueryAtom> |
sequencedAtoms |
protected List<org.openscience.cdk.isomorphism.matchers.IQueryAtom> |
sequencedBondAt1 |
protected List<org.openscience.cdk.isomorphism.matchers.IQueryAtom> |
sequencedBondAt2 |
protected Stack<Node> |
stack |
protected org.openscience.cdk.interfaces.IAtomContainer |
target |
protected List<org.openscience.cdk.interfaces.IAtom> |
targetAt |
Constructor and Description |
---|
IsomorphismTester() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkIsomorphismAtPosition(org.openscience.cdk.interfaces.IAtomContainer container,
int atomNum) |
List<org.openscience.cdk.interfaces.IBond> |
generateBondMapping(org.openscience.cdk.interfaces.IAtomContainer container,
List<org.openscience.cdk.interfaces.IAtom> atomMapping) |
List<List<org.openscience.cdk.interfaces.IAtom>> |
getAllIsomorphismMappings(org.openscience.cdk.interfaces.IAtomContainer container)
If no isomorphism is found the result is empty vector
|
List<org.openscience.cdk.interfaces.IAtom> |
getIsomorphismMapping(org.openscience.cdk.interfaces.IAtomContainer container)
This function returns null if no isomorphism is found
|
List<Integer> |
getIsomorphismPositions(org.openscience.cdk.interfaces.IAtomContainer container) |
List<List<org.openscience.cdk.interfaces.IAtom>> |
getNonIdenticalMappings(org.openscience.cdk.interfaces.IAtomContainer container) |
List<List<org.openscience.cdk.interfaces.IAtom>> |
getNonOverlappingMappings(org.openscience.cdk.interfaces.IAtomContainer container) |
List<List<Integer>> |
getOverlappedMappingClusters(List<List<org.openscience.cdk.interfaces.IAtom>> maps) |
List<QuerySequenceElement> |
getSequence() |
boolean |
hasIsomorphism(org.openscience.cdk.interfaces.IAtomContainer container) |
boolean |
isFlagCheckStereoElements() |
void |
printDebugInfo() |
void |
setFlagCheckStereoElements(boolean flagCheckStereoElements) |
void |
setQuery(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer container) |
void |
setSequence(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer queryContainer,
List<QuerySequenceElement> externalSequence) |
List<QuerySequenceElement> |
transferSequenceToOwner() |
protected boolean FlagCheckStereoElements
protected org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer query
protected org.openscience.cdk.interfaces.IAtomContainer target
protected boolean isomorphismFound
protected boolean FlagStoreIsomorphismNode
protected List<org.openscience.cdk.interfaces.IAtom> targetAt
protected List<QuerySequenceElement> sequence
protected List<org.openscience.cdk.isomorphism.matchers.IQueryAtom> sequencedAtoms
protected List<org.openscience.cdk.isomorphism.matchers.IQueryAtom> sequencedBondAt1
protected List<org.openscience.cdk.isomorphism.matchers.IQueryAtom> sequencedBondAt2
public boolean isFlagCheckStereoElements()
public void setFlagCheckStereoElements(boolean flagCheckStereoElements)
public void setQuery(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer container) throws EmptyMoleculeException
EmptyMoleculeException
public List<QuerySequenceElement> getSequence()
public void setSequence(org.openscience.cdk.isomorphism.matchers.IQueryAtomContainer queryContainer, List<QuerySequenceElement> externalSequence)
public List<QuerySequenceElement> transferSequenceToOwner()
public boolean hasIsomorphism(org.openscience.cdk.interfaces.IAtomContainer container)
public List<Integer> getIsomorphismPositions(org.openscience.cdk.interfaces.IAtomContainer container)
public boolean checkIsomorphismAtPosition(org.openscience.cdk.interfaces.IAtomContainer container, int atomNum)
public List<org.openscience.cdk.interfaces.IAtom> getIsomorphismMapping(org.openscience.cdk.interfaces.IAtomContainer container)
container
- public List<org.openscience.cdk.interfaces.IBond> generateBondMapping(org.openscience.cdk.interfaces.IAtomContainer container, List<org.openscience.cdk.interfaces.IAtom> atomMapping)
public List<List<org.openscience.cdk.interfaces.IAtom>> getAllIsomorphismMappings(org.openscience.cdk.interfaces.IAtomContainer container)
container
- public List<List<org.openscience.cdk.interfaces.IAtom>> getNonIdenticalMappings(org.openscience.cdk.interfaces.IAtomContainer container)
public List<List<org.openscience.cdk.interfaces.IAtom>> getNonOverlappingMappings(org.openscience.cdk.interfaces.IAtomContainer container)
public List<List<Integer>> getOverlappedMappingClusters(List<List<org.openscience.cdk.interfaces.IAtom>> maps)
public void printDebugInfo()
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.