@Beta public class FrameworkClusteringResultsMolImpl extends Object implements FrameworkClusteringResults
FrameworkClusteringResults
.
Framework storage is backed by a List
of framework Molecule
objects.Constructor and Description |
---|
FrameworkClusteringResultsMolImpl(IDBasedHierarchicClustering hierarchy,
List<Molecule> frameworks)
Construct.
|
Modifier and Type | Method and Description |
---|---|
Molecule |
getFrameworkAsMolecule(int clusterIndex)
Get framework as Molecule.
|
Function<Integer,Molecule> |
getFrameworkAsMoleculeFunction()
|
String |
getFrameworkAsSmiles(int clusterIndex)
Get framework as SMILES.
|
Function<Integer,String> |
getFrameworkAsSmilesFunction()
|
int |
getFrameworksCount()
Total represented frameworks.
|
IDBasedHierarchicClustering |
getHierarchy()
Get clustering hierarchy.
|
public FrameworkClusteringResultsMolImpl(IDBasedHierarchicClustering hierarchy, List<Molecule> frameworks)
hierarchy
- Clustering hierarchyframeworks
- Associated frameworkspublic String getFrameworkAsSmiles(int clusterIndex)
FrameworkClusteringResults
getFrameworkAsSmiles
in interface FrameworkClusteringResults
clusterIndex
- Cluster indexpublic Molecule getFrameworkAsMolecule(int clusterIndex)
FrameworkClusteringResults
getFrameworkAsMolecule
in interface FrameworkClusteringResults
clusterIndex
- Cluster indexpublic int getFrameworksCount()
FrameworkClusteringResults
getFrameworksCount
in interface FrameworkClusteringResults
public IDBasedHierarchicClustering getHierarchy()
FrameworkClusteringResults
getHierarchy
in interface FrameworkClusteringResults
public Function<Integer,String> getFrameworkAsSmilesFunction()
FrameworkClusteringResults
getFrameworkAsSmilesFunction
in interface FrameworkClusteringResults
Function
to retrieve frameworks for clusterId
s as SMILES Strings.public Function<Integer,Molecule> getFrameworkAsMoleculeFunction()
FrameworkClusteringResults
getFrameworkAsMoleculeFunction
in interface FrameworkClusteringResults
Function
to retrieve frameworks for clusterId
s as Molecule
objects..