@Deprecated public final class McGregor extends Object
The SMSD algorithm is described in this paper. please refer Rahman et.al. 2009 [Rahman, S.A. and Bashton, M. and Holliday, G.L. and Schrader, R. and Thornton, J.M. , Small Molecule Subgraph Detector (SMSD) Toolkit, Journal of Cheminformatics, 2009, 1:12, doi:10.1186/1758-2946-1-12].
Constructor and Description |
---|
McGregor(IAtomContainer source,
IAtomContainer target,
List<List<Integer>> mappings,
boolean shouldMatchBonds)
Deprecated.
Constructor for the McGregor algorithm.
|
McGregor(IQueryAtomContainer source,
IAtomContainer target,
List<List<Integer>> mappings)
Deprecated.
Constructor for the McGregor algorithm.
|
Modifier and Type | Method and Description |
---|---|
List<List<Integer>> |
getMappings()
Deprecated.
Returns computed mappings.
|
int |
getMCSSize()
Deprecated.
Returns MCS size.
|
boolean |
isNewMatrix()
Deprecated.
Checks if its a new Matrix.
|
void |
setNewMatrix(boolean newMatrix)
Deprecated.
set a new Matrix.
|
void |
startMcGregorIteration(int largestMappingSize,
List<Integer> cliqueVector,
List<Integer> compGraphNodes)
Deprecated.
Start McGregor search and extend the mappings if possible.
|
void |
startMcGregorIteration(int largestMappingSize,
Map<Integer,Integer> presentMapping)
Deprecated.
Start McGregor search and extend the mappings if possible.
|
public McGregor(IAtomContainer source, IAtomContainer target, List<List<Integer>> mappings, boolean shouldMatchBonds)
source
- target
- mappings
- shouldMatchBonds
- public McGregor(IQueryAtomContainer source, IAtomContainer target, List<List<Integer>> mappings)
source
- target
- mappings
- public void startMcGregorIteration(int largestMappingSize, Map<Integer,Integer> presentMapping) throws IOException
largestMappingSize
- presentMapping
- IOException
public void startMcGregorIteration(int largestMappingSize, List<Integer> cliqueVector, List<Integer> compGraphNodes) throws IOException
largestMappingSize
- cliqueVector
- compGraphNodes
- IOException
public List<List<Integer>> getMappings()
public int getMCSSize()
public boolean isNewMatrix()
public void setNewMatrix(boolean newMatrix)
newMatrix
- the newMatrix to setCopyright © 2017. All Rights Reserved.