Class FinalMappings

  • All Implemented Interfaces:
    IFinalMapping

    @Deprecated
    public class FinalMappings
    extends Object
    implements IFinalMapping
    Deprecated.
    SMSD has been deprecated from the CDK with a newer, more recent version of SMSD is available at http://github.com/asad/smsd.
    Class that stores raw mapping(s) after each algorithm is executed.
    Author:
    Syed Asad Rahman <asad@ebi.ac.uk>
    Source code:
    main
    Belongs to CDK module:
    smsd
    • Constructor Detail

      • FinalMappings

        protected FinalMappings()
        Deprecated.
    • Method Detail

      • getInstance

        public static FinalMappings getInstance()
        Deprecated.
        Stores mapping solutions
        Returns:
        instance of this object
      • add

        public void add​(Map<Integer,​Integer> mapping)
        Deprecated.
        Adds mapping to the mapping list
        Specified by:
        add in interface IFinalMapping
        Parameters:
        mapping - List of all MCS mapping between a given reactant and product
      • clear

        public void clear()
        Deprecated.
        clear the mapping
        Specified by:
        clear in interface IFinalMapping
      • getSize

        public int getSize()
        Deprecated.
        Returns number of stored mappings
        Specified by:
        getSize in interface IFinalMapping
        Returns:
        size of the mapping