@TestClass(value="org.openscience.cdk.smsd.algorithm.cdk.CDKMCSHandlerTest") public class CDKSubGraphHandler extends AbstractSubGraph implements IMCSBase
CDKMCS
algorithm.Constructor and Description |
---|
CDKSubGraphHandler() |
Modifier and Type | Method and Description |
---|---|
List<Map<IAtom,IAtom>> |
getAllAtomMapping()
Returns all plausible mappings between query and target molecules.
|
List<Map<Integer,Integer>> |
getAllMapping()
Returns all plausible mappings between query and target molecules.
|
Map<IAtom,IAtom> |
getFirstAtomMapping()
Returns one of the best matches with atoms mapped.
|
Map<Integer,Integer> |
getFirstMapping()
Returns one of the best matches with atom indexes mapped.
|
boolean |
isSubgraph(boolean shouldMatchBonds)
Initialise the Subgraph search algorithm.
|
void |
set(IQueryAtomContainer source,
IAtomContainer target)
Initialise the query and target molecule.
|
void |
set(MolHandler source,
MolHandler target)
Initialise the query and target molecule.
|
@TestMethod(value="testSet_MolHandler_MolHandler") public void set(MolHandler source, MolHandler target)
@TestMethod(value="testSet_IQueryAtomContainer_MolHandler") public void set(IQueryAtomContainer source, IAtomContainer target)
@TestMethod(value="testSearchMCS") public boolean isSubgraph(boolean shouldMatchBonds)
isSubgraph
in class AbstractSubGraph
shouldMatchBonds
- @TestMethod(value="testGetAllMapping") public List<Map<Integer,Integer>> getAllMapping()
getAllMapping
in interface IMCSBase
@TestMethod(value="testGetFirstMapping") public Map<Integer,Integer> getFirstMapping()
getFirstMapping
in interface IMCSBase
@TestMethod(value="testGetAllAtomMapping") public List<Map<IAtom,IAtom>> getAllAtomMapping()
getAllAtomMapping
in interface IMCSBase
@TestMethod(value="testGetFirstAtomMapping") public Map<IAtom,IAtom> getFirstAtomMapping()
getFirstAtomMapping
in interface IMCSBase