Class CfpParameters
java.lang.Object
com.chemaxon.descriptors.fingerprints.cfp.CfpParameters
- All Implemented Interfaces:
DescriptorParameters,Serializable
CFP parameters class.
Please note that this class is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class for the immutable parameter object.static interfaceInterface representing CFP generator constructor. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe number of bits used to code each pattern in the hashed binary vector representation.static final intDefault length (bit count) for CFP - folded binary fingerprint representation.static final intThe maximum length of consecutive bonds in the linear paths that are considered during the fragmentation of the molecule.static final booleanDefault ring settings. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CfpParameters.BuilderConstruct a builder for this parameter class, initialized to default.intBits set for each pattern.intMax pattern length considered (bond count).Return the represented descriptor generator.intReturns represented fingerprint length (bit count) setting.booleangetRings()Return rings settings.toString()
-
Field Details
-
DEFAULT_CFP_MAX_PATTERN_LENGTH
public static final int DEFAULT_CFP_MAX_PATTERN_LENGTHThe maximum length of consecutive bonds in the linear paths that are considered during the fragmentation of the molecule.The length of cyclic patterns is limited to a fixed ring size.
- See Also:
-
DEFAULT_BITS_TO_SET_FOR_PATTERNS
public static final int DEFAULT_BITS_TO_SET_FOR_PATTERNSThe number of bits used to code each pattern in the hashed binary vector representation.- See Also:
-
DEFAULT_CFP_LENGTH
public static final int DEFAULT_CFP_LENGTHDefault length (bit count) for CFP - folded binary fingerprint representation.- See Also:
-
DEFAULT_CONSIDER_RINGS
public static final boolean DEFAULT_CONSIDER_RINGSDefault ring settings.- See Also:
-
-
Constructor Details
-
CfpParameters
public CfpParameters()Constructor using the default settings.
-
-
Method Details
-
getDescriptorGenerator
Description copied from interface:DescriptorParametersReturn the represented descriptor generator.Please note that certain descriptors might provide multiple
DescriptorGeneratorimplementations 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.- Specified by:
getDescriptorGeneratorin interfaceDescriptorParameters- Returns:
- Associated generator
-
createNewBuilder
Construct a builder for this parameter class, initialized to default.- Returns:
- Builder initialized to default settings
-
toString
-
getBondCount
public int getBondCount()Max pattern length considered (bond count).- Returns:
- Max pattern length considered (bond count).
-
getBitsPerPattern
public int getBitsPerPattern()Bits set for each pattern.- Returns:
- Bits set for each pattern.
-
getLength
public int getLength()Returns represented fingerprint length (bit count) setting.- Returns:
- Fingerprint length
-
getRings
public boolean getRings()Return rings settings.- Returns:
- Rings settings
-