QueryProcessor.SF.ScoringFunction
Class ScoringFunctionAVGGreedy

java.lang.Object
  extended by QueryProcessor.SF.ScoringFunction.ScoringFunction
      extended by QueryProcessor.SF.ScoringFunction.ScoringFunctionAVG
          extended by QueryProcessor.SF.ScoringFunction.ScoringFunctionAVGGreedy

public class ScoringFunctionAVGGreedy
extends ScoringFunctionAVG

Class for computing the average scoring function using the hill climbing assignment algorithm.


Constructor Summary
ScoringFunctionAVGGreedy()
           
 
Method Summary
 double distance(Image i1, Image i2, Matrix distances)
          Computes the distance between two images given the matrix of distances between images' regions.
 
Methods inherited from class QueryProcessor.SF.ScoringFunction.ScoringFunctionAVG
threshold
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScoringFunctionAVGGreedy

public ScoringFunctionAVGGreedy()
Method Detail

distance

public double distance(Image i1,
                       Image i2,
                       Matrix distances)
Computes the distance between two images given the matrix of distances between images' regions.

Overrides:
distance in class ScoringFunctionAVG
Parameters:
i1 - First image.
i2 - Second image.
distances - Matrix containing distance values between images' regions.
Returns:
The distance between the two given images.