@Beta @PublicAPI public class CfpParameters extends Object implements DescriptorParameters
Please note that this class is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.
Modifier and Type | Class and Description |
---|---|
static class |
CfpParameters.Builder
Builder class for the immutable parameter object.
|
static interface |
CfpParameters.ConstructCfpGenerator
Interface representing CFP generator constructor.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_BITS_TO_SET_FOR_PATTERNS
The number of bits used to code each pattern in the hashed binary vector representation.
|
static int |
DEFAULT_CFP_LENGTH
Default length (bit count) for CFP - folded binary fingerprint representation.
|
static int |
DEFAULT_CFP_MAX_PATTERN_LENGTH
The maximum length of consecutive bonds in the linear paths that are considered during the fragmentation of the
molecule.
|
static boolean |
DEFAULT_CONSIDER_RINGS
Default ring settings.
|
Constructor and Description |
---|
CfpParameters()
Constructor using the default settings.
|
Modifier and Type | Method and Description |
---|---|
static CfpParameters.Builder |
createNewBuilder()
Construct a builder for this parameter class, initialized to default.
|
int |
getBitsPerPattern()
Bits set for each pattern.
|
int |
getBondCount()
Max pattern length considered (bond count).
|
CfpGenerator |
getDescriptorGenerator()
Return the represented descriptor generator.
|
int |
getLength()
Returns represented fingerprint length (bit count) setting.
|
boolean |
getRings()
Return rings settings.
|
String |
toString() |
public static final int DEFAULT_CFP_MAX_PATTERN_LENGTH
The length of cyclic patterns is limited to a fixed ring size.
public static final int DEFAULT_BITS_TO_SET_FOR_PATTERNS
public static final int DEFAULT_CFP_LENGTH
public static final boolean DEFAULT_CONSIDER_RINGS
public CfpGenerator getDescriptorGenerator()
DescriptorParameters
Please note that certain descriptors might provide multiple DescriptorGenerator
implementations for
different descriptor representations. (Consider structure based fingerprints feature list/feature counts/folded
finite binary vector representations.) Such different descriptor generators might be exposed through their
parameters object as multiple factory methods.
getDescriptorGenerator
in interface DescriptorParameters
public static CfpParameters.Builder createNewBuilder()
public int getBondCount()
public int getBitsPerPattern()
public int getLength()
public boolean getRings()