@Deprecated public class ChemicalFilters extends Object
Constructor and Description |
---|
ChemicalFilters(List<Map<Integer,Integer>> allMCS,
List<Map<IAtom,IAtom>> allAtomMCS,
Map<Integer,Integer> firstSolution,
Map<IAtom,IAtom> firstAtomMCS,
IAtomContainer sourceMol,
IAtomContainer targetMol)
Deprecated.
This class has all the three chemical filters supported by the SMSD.
|
Modifier and Type | Method and Description |
---|---|
static int |
convertBondOrder(IBond bond)
Deprecated.
Get bond order value as
int value. |
static int |
convertBondStereo(IBond bond)
Deprecated.
Get stereo value as integer
|
static IBond.Order |
convertOrder(double srcOrder)
Deprecated.
Get bond order value as
IBond.Order . |
static IBond.Stereo |
convertStereo(int stereoValue)
Deprecated.
Get stereo value as Stereo enum
|
List<Double> |
getSortedEnergy()
Deprecated.
Return sorted energy in ascending order.
|
List<Integer> |
getSortedFragment()
Deprecated.
Return sorted fragment in ascending order of the size.
|
List<Double> |
getStereoMatches()
Deprecated.
Return Stereo matches in descending order.
|
void |
sortResultsByEnergies()
Deprecated.
Sort MCS solution by bond breaking energy.
|
void |
sortResultsByFragments()
Deprecated.
Sort solution by ascending order of the fragment count.
|
void |
sortResultsByStereoAndBondMatch()
Deprecated.
Sort MCS solution by stereo and bond type matches.
|
public ChemicalFilters(List<Map<Integer,Integer>> allMCS, List<Map<IAtom,IAtom>> allAtomMCS, Map<Integer,Integer> firstSolution, Map<IAtom,IAtom> firstAtomMCS, IAtomContainer sourceMol, IAtomContainer targetMol)
allMCS
- allAtomMCS
- firstSolution
- firstAtomMCS
- sourceMol
- targetMol
- public void sortResultsByStereoAndBondMatch() throws CDKException
CDKException
public void sortResultsByFragments()
public void sortResultsByEnergies() throws CDKException
CDKException
public List<Double> getSortedEnergy()
public List<Integer> getSortedFragment()
public List<Double> getStereoMatches()
public static IBond.Order convertOrder(double srcOrder)
IBond.Order
.srcOrder
- numerical bond orderpublic static int convertBondOrder(IBond bond)
int
value.bond
- The IBond
for which the order is returned.public static int convertBondStereo(IBond bond)
bond
- public static IBond.Stereo convertStereo(int stereoValue)
stereoValue
- Copyright © 2021. All rights reserved.