net.fortytwo.flow.rdf.ranking
Interface Approximation<T,E extends Exception>

All Known Subinterfaces:
WeightedVectorApproximation<T,E>
All Known Implementing Classes:
ApproxFairOperation, ApproxIntersection, ApproxUnion, NormalizedApproxVector, RDFSpreadVector

public interface Approximation<T,E extends Exception>

Author:
Joshua Shinavier (http://fortytwo.net)

Method Summary
 int compute(int cycles)
           
 T currentResult()
           
 

Method Detail

compute

int compute(int cycles)
            throws E extends Exception
Parameters:
cycles - the number of cycles available
Returns:
the number of cycles actually consumed
Throws:
E - an implementation-specific exception
E extends Exception

currentResult

T currentResult()


Copyright © 2007-2014. All Rights Reserved.