|
jklustor-all-api-0.0.7-20140619012755 (ChemAxon) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Objectcom.chemaxon.descriptors.vectors.binary.BvParameters
@Beta public final class BvParameters
Parameters for generic binary vector descriptor.
Nested Class Summary | |
---|---|
static class |
BvParameters.Builder
Builder for BvParameters. |
protected static interface |
BvParameters.ConstructBvGenerator
Interface representing BvGenerator implementation constructor |
static class |
BvParameters.StringFormat
Fingerprint textual representation. |
Field Summary | |
---|---|
static BinaryVectors.Endianness |
DEFAULT_ENDIANNESS
Default endianness of packing operations. |
static int |
DEFAULT_LENGTH
Default length (bit count). |
static BvParameters.StringFormat |
DEFAULT_STRING_FORMAT
Default String format. |
Constructor Summary | |
---|---|
BvParameters()
Construct with default values. |
|
BvParameters(BvParameters.Builder builder)
Constructor based on a builder. |
Method Summary | |
---|---|
static BvParameters.Builder |
createNewBuilder()
Construct a builder for this parameter class, initialized to default. |
BvGenerator |
getDescriptorGenerator()
Return the represented descriptor generator. |
BinaryVectors.Endianness |
getEndianness()
Endianness of packing operations. |
int |
getLength()
Returns represented fingerprint length (bit count) setting. |
BvParameters.StringFormat |
getStringFormat()
Returns represented string format. |
String |
toString()
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_LENGTH
public static final BvParameters.StringFormat DEFAULT_STRING_FORMAT
public static final BinaryVectors.Endianness DEFAULT_ENDIANNESS
Constructor Detail |
---|
public BvParameters(BvParameters.Builder builder)
builder
- Builder which current state will be represented.public BvParameters()
Method Detail |
---|
public BvGenerator 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 String toString()
toString
in class Object
public static BvParameters.Builder createNewBuilder()
public int getLength()
Note that length is positive and multiply of 64 (bitcount of long).
public BvParameters.StringFormat getStringFormat()
public BinaryVectors.Endianness getEndianness()
Binary vectors (fingerprints) represent a fixed number of bits identified by bit indices. The same fingerprint can be represented as a binary string, int, long or byte array. The first bit (having index 0), always maps to the first element from each of the packed array representations. Further mapping is determined by the endianness parameter.
|
jklustor-all-api-0.0.7-20140619012755 (ChemAxon) |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |