Class FvParameters
java.lang.Object
com.chemaxon.descriptors.vectors.floats.FvParameters
- All Implemented Interfaces:
DescriptorParameters
,Serializable
@Beta
@PublicApi
public final class FvParameters
extends Object
implements DescriptorParameters, Serializable
Parameters for generic float vector descriptor.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Builder for FvParameters.static enum
Representation of the vector coordinates.static enum
Optimization for sparse vectors. -
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Default length (dimensions).static final FvParameters.NumericRepresentation
Default numeric representation.static final double
Default max value for scaling.static final double
Default min value for scaling.static final FvParameters.SparseCompression
Default compression. -
Constructor Summary
ConstructorDescriptionConstruct with default values.FvParameters
(FvParameters.Builder builder) Constructor based on a builder. -
Method Summary
Modifier and TypeMethodDescriptionstatic FvParameters.Builder
Construct a builder for this parameter class, initialized to default.Return the represented descriptor generator.int
Returns represented fingerprint length (bit count) setting.Numeric representation.double
Max value for scaled fixed point representations.double
Min value for scaled fixed point representations.Sparse compression.toString()
-
Field Details
-
DEFAULT_LENGTH
public static final int DEFAULT_LENGTHDefault length (dimensions).- See Also:
-
DEFAULT_NUMERIC_REPRESENTATION
Default numeric representation. -
DEFAULT_SCALED_MIN
public static final double DEFAULT_SCALED_MINDefault min value for scaling.- See Also:
-
DEFAULT_SCALED_MAX
public static final double DEFAULT_SCALED_MAXDefault max value for scaling.- See Also:
-
DEFAULT_SPARSE_COMPRESSION
Default compression.
-
-
Constructor Details
-
FvParameters
Constructor based on a builder.- Parameters:
builder
- Builder which current state will be represented.
-
FvParameters
public FvParameters()Construct with default values.
-
-
Method Details
-
getDescriptorGenerator
Description copied from interface:DescriptorParameters
Return the represented descriptor generator.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.- Specified by:
getDescriptorGenerator
in interfaceDescriptorParameters
- Returns:
- Associated generator
-
toString
-
createNewBuilder
Construct a builder for this parameter class, initialized to default.- Returns:
- Builder initialized to default settings
-
getLength
public int getLength()Returns represented fingerprint length (bit count) setting.- Returns:
- Fingerprint length
-
getNumericRepresentation
Numeric representation.- Returns:
- Numeric representation of underlying vector
-
getSparseCompression
Sparse compression.- Returns:
- Optimization for sparse vectors.
-
getScaledMax
public double getScaledMax()Max value for scaled fixed point representations.- Returns:
- max value
-
getScaledMin
public double getScaledMin()Min value for scaled fixed point representations.- Returns:
- min value
-