Package org.openscience.cdk.smsd.helper
Class FinalMappings
- java.lang.Object
-
- org.openscience.cdk.smsd.helper.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 Summary
Constructors Modifier Constructor Description protected
FinalMappings()
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
add(Map<Integer,Integer> mapping)
Deprecated.Adds mapping to the mapping listvoid
clear()
Deprecated.clear the mappingList<Map<Integer,Integer>>
getFinalMapping()
Deprecated.Returns the stored mappingsstatic FinalMappings
getInstance()
Deprecated.Stores mapping solutionsIterator<Map<Integer,Integer>>
getIterator()
Deprecated.Returns a mapping Iteratorint
getSize()
Deprecated.Returns number of stored mappingsvoid
set(List<Map<Integer,Integer>> list)
Deprecated.Sets mapping list
-
-
-
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 interfaceIFinalMapping
- Parameters:
mapping
- List of all MCS mapping between a given reactant and product
-
set
public final void set(List<Map<Integer,Integer>> list)
Deprecated.Sets mapping list- Specified by:
set
in interfaceIFinalMapping
- Parameters:
list
- list of mappings
-
getIterator
public Iterator<Map<Integer,Integer>> getIterator()
Deprecated.Returns a mapping Iterator- Specified by:
getIterator
in interfaceIFinalMapping
- Returns:
- Iterator of mappings
-
clear
public void clear()
Deprecated.clear the mapping- Specified by:
clear
in interfaceIFinalMapping
-
getFinalMapping
public List<Map<Integer,Integer>> getFinalMapping()
Deprecated.Returns the stored mappings- Specified by:
getFinalMapping
in interfaceIFinalMapping
- Returns:
- get of MCS mapping List
-
getSize
public int getSize()
Deprecated.Returns number of stored mappings- Specified by:
getSize
in interfaceIFinalMapping
- Returns:
- size of the mapping
-
-