@TestClass(value="org.openscience.cdk.smsd.algorithm.single.SingleMappingHandlerTest") public class SingleMappingHandler extends AbstractMCSAlgorithm implements IMCSBase
SingleMapping).| Constructor and Description |
|---|
SingleMappingHandler(boolean removeH) |
| 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.
|
void |
searchMCS(boolean bondTypeMatch)
Initialise the MCS 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="setMCSAlgorithm") public SingleMappingHandler(boolean removeH)
removeH - true@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 void searchMCS(boolean bondTypeMatch)
searchMCS in class AbstractMCSAlgorithmbondTypeMatch - @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