jklustor-overlap-0.0.2-20140619012940 (ChemAxon)


com.chemaxon.overlap.bruteforce
Class FullMatrix.Report<T>

Object
  extended by com.chemaxon.overlap.bruteforce.FullMatrix.Report<T>
All Implemented Interfaces:
ResultHandler<ImmutableList<T>,double[][]>
Enclosing class:
FullMatrix

static class FullMatrix.Report<T>
extends Object
implements ResultHandler<ImmutableList<T>,double[][]>

Report dissimilarity vectors.

Note that according to the ResultHandler API contracts results are expected to be reported in correct ordering.


Constructor Summary
FullMatrix.Report(double[][] res)
          Construct.
 
Method Summary
 long result(int sourceIndex, ImmutableList<T> s, double[][] t)
          Report process result.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FullMatrix.Report

FullMatrix.Report(double[][] res)
Construct.

Parameters:
res - Full allocated dissimilarity matrix.
Method Detail

result

public long result(int sourceIndex,
                   ImmutableList<T> s,
                   double[][] t)
Description copied from interface: ResultHandler
Report process result.

Specified by:
result in interface ResultHandler<ImmutableList<T>,double[][]>
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)