Package chemaxon.clustering.adapter
Class LegacyLibraryMcsAdapter
java.lang.Object
chemaxon.clustering.adapter.LegacyLibraryMcsAdapter
@SubjectToRemoval(date=JAN_01_2025)
@Deprecated(forRemoval=true)
@PublicApi
@Beta
public final class LegacyLibraryMcsAdapter
extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
API adapter to use
LibraryMcs
clustering with the new clustering API.
Please note that this class is marked with the Beta
annotation. This class might be changed or
completely removed in any of the subsequent releases.
-
Method Summary
Modifier and TypeMethodDescriptionstatic FrameworkClusteringResults
cluster
(LegacyLibraryMcsParameters parameters, Iterator<Molecule> molecules) Deprecated, for removal: This API element is subject to removal in a future version.Launch clustering.static LegacyLibraryMcsParameters
Deprecated, for removal: This API element is subject to removal in a future version.Create default clustering parameters.
-
Method Details
-
defaultParameters
Deprecated, for removal: This API element is subject to removal in a future version.Create default clustering parameters.- Returns:
- Default clustering parameters.
-
cluster
public static FrameworkClusteringResults cluster(LegacyLibraryMcsParameters parameters, Iterator<Molecule> molecules) Deprecated, for removal: This API element is subject to removal in a future version.Launch clustering.- Parameters:
parameters
- Parameters for the underlyingLibraryMcs
clusteringmolecules
- Input molecules. Please note that the input molecules will be altered during clustering: they will be aromatized usingMoleculeGraph.aromatize()
and additional properties (structure index) will be stored.- Returns:
- Clustering results. Please note that the retrieval of the original input structures is not a responsibility of the returned results object.
-
LegacyLibraryMcsAdapter
.