Interface BvGenerator

All Superinterfaces:
BinaryVectorMetricFactory<DescriptorComparator<BinaryVectorDescriptor>>, DescriptorGenerator<BinaryVectorDescriptor>, DescriptorSerializer<BinaryVectorDescriptor>, Guarded, MetricFactory<DescriptorComparator<BinaryVectorDescriptor>>, Serializable

Generator for generic binary vector descriptors.

Note that method DescriptorGenerator.generateDescriptor(chemaxon.struc.Molecule) throws UnsupportedOperationException

  • Method Details

    • fromBitSet

      BinaryVectorDescriptor fromBitSet(BitSet bits)
      Create a descriptor from a BitSet representation.
      Parameters:
      bits - Values to represent.
      Returns:
      Descriptor representing the given values.
      Throws:
      IllegalArgumentException - when given BitSet contains set bit which can not be represented by this descriptor.