jklustor-overlap-0.0.2-20140619012940 (ChemAxon)


com.chemaxon.overlap.concurrent
Interface ResultHandler<S,T>

Type Parameters:
S - Type of sources
T - Type of process results
All Known Implementing Classes:
FullMatrix.Report, SelfKnn.Report

public interface ResultHandler<S,T>

Callback to report processing results.

Author:
Gabor Imre

Method Summary
 long result(int sourceIndex, S s, T t)
          Report process result.
 

Method Detail

result

long result(int sourceIndex,
            S s,
            T t)
Report process result.

Parameters:
sourceIndex - 0-based index of the processed source
s - The processed source
t - The result
Returns:
Number of work units to be reported

jklustor-overlap-0.0.2-20140619012940 (ChemAxon)