similarity
The similarity function to use. By default Tanimoto will be used on APset objects.
Internally, this will be converted to a distance function using 1-similarity(a,b)
, so
whatever similarity function you use should return a value between 0 and 1.