Class VFMapper

java.lang.Object
org.openscience.cdk.smsd.algorithm.vflib.map.VFMapper
All Implemented Interfaces:
IMapper

@Deprecated public class VFMapper extends Object implements IMapper
Deprecated.
SMSD has been deprecated from the CDK with a newer, more recent version of SMSD is available at http://github.com/asad/smsd.
This class finds mappings of the whole query (every query atom and bond) onto the target molecule using the VF2 algorithm. At most VFMCSMapper.MAX_MAPPINGS mappings are returned or counted. The search has no time limit; the global TimeOut is not checked.
Author:
Syed Asad Rahman <asad@ebi.ac.uk>
  • Constructor Details

    • VFMapper

      public VFMapper(IQuery query)
      Deprecated.
      Creates a mapper for a compiled query.
      Parameters:
      query - the compiled query
    • VFMapper

      public VFMapper(IAtomContainer queryMolecule, boolean bondMatcher)
      Deprecated.
      Creates a mapper for a query molecule.
      Parameters:
      queryMolecule - the query molecule
      bondMatcher - true to match bonds by order and aromaticity
  • Method Details

    • getTimeout

      protected static double getTimeout()
      Deprecated.
      Returns:
      the timeout
    • getTimeManager

      protected static TimeManager getTimeManager()
      Deprecated.
      Returns:
      the timeManager
    • setTimeManager

      protected static void setTimeManager(TimeManager aTimeManager)
      Deprecated.
      Parameters:
      aTimeManager - the timeManager to set
    • hasMap

      public boolean hasMap(IAtomContainer targetMolecule)
      Deprecated.
      checks if a map exits for a molecule.
      Specified by:
      hasMap in interface IMapper
      Parameters:
      targetMolecule - molecule
      Returns:
      true/false.
    • getMaps

      public List<Map<INode,IAtom>> getMaps(IAtomContainer target)
      Deprecated.
      Returns all solution map.
      Specified by:
      getMaps in interface IMapper
      Parameters:
      target - molecule.
      Returns:
      get maps.
    • getFirstMap

      public Map<INode,IAtom> getFirstMap(IAtomContainer target)
      Deprecated.
      Returns first solution map.
      Specified by:
      getFirstMap in interface IMapper
      Parameters:
      target - molecule.
      Returns:
      get first map.
    • countMaps

      public int countMaps(IAtomContainer target)
      Deprecated.
      Returns solution map count.
      Specified by:
      countMaps in interface IMapper
      Parameters:
      target - target molecule.
      Returns:
      map count.
    • hasMap

      public boolean hasMap(TargetProperties targetMolecule)
      Deprecated.
      checks if a map exits for a molecule.
      Specified by:
      hasMap in interface IMapper
      Parameters:
      targetMolecule - molecule
      Returns:
      true/false.
    • getMaps

      public List<Map<INode,IAtom>> getMaps(TargetProperties targetMolecule)
      Deprecated.
      Returns all solution map.
      Specified by:
      getMaps in interface IMapper
      Parameters:
      targetMolecule - molecule.
      Returns:
      get maps.
    • getFirstMap

      public Map<INode,IAtom> getFirstMap(TargetProperties targetMolecule)
      Deprecated.
      Returns first solution map.
      Specified by:
      getFirstMap in interface IMapper
      Parameters:
      targetMolecule - molecule.
      Returns:
      get first map.
    • countMaps

      public int countMaps(TargetProperties targetMolecule)
      Deprecated.
      Returns solution map count.
      Specified by:
      countMaps in interface IMapper
      Parameters:
      targetMolecule - target molecule.
      Returns:
      map count.
    • isTimeOut

      public static boolean isTimeOut()
      Deprecated.