jklustor-overlap-0.0.2-20140619012940 (ChemAxon)


com.chemaxon.overlap.bruteforce
Class SelfKnn.Calc<T>

Object
  extended by com.chemaxon.overlap.bruteforce.SelfKnn.Calc<T>
Type Parameters:
T - Type of unguarded descriptors
All Implemented Interfaces:
Function<ImmutableList<T>,Dissimilarities[]>
Enclosing class:
SelfKnn

static class SelfKnn.Calc<T>
extends Object
implements Function<ImmutableList<T>,Dissimilarities[]>

Calculator function.

Function to calculate the knn lists of query structures.


Constructor Summary
SelfKnn.Calc(int k, List<T> queries, UnguardedDissimilarityCalculator<T> calc)
          Construct.
 
Method Summary
 Dissimilarities[] apply(ImmutableList<T> targets)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.google.common.base.Function
equals
 

Constructor Detail

SelfKnn.Calc

public SelfKnn.Calc(int k,
                    List<T> queries,
                    UnguardedDissimilarityCalculator<T> calc)
Construct.

Parameters:
k - Number of nearest neighbors to store
queries - List of queries
calc - Calculator of dissimilarity
Method Detail

apply

public Dissimilarities[] apply(ImmutableList<T> targets)
Specified by:
apply in interface Function<ImmutableList<T>,Dissimilarities[]>

jklustor-overlap-0.0.2-20140619012940 (ChemAxon)