ro.mosc.reco.test
Class LessEqRelationResolver

java.lang.Object
  extended by ro.mosc.reco.test.LessEqRelationResolver
All Implemented Interfaces:
RelationResolver

public class LessEqRelationResolver
extends java.lang.Object
implements RelationResolver

Sample test class


Field Summary
static double MAX_DISTANCE
           
 
Constructor Summary
LessEqRelationResolver()
           
 
Method Summary
 double getRelationValue(java.lang.Object[] elements)
          Computes characteristic predicate values for a certain relation an for given elements.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAX_DISTANCE

public static final double MAX_DISTANCE
See Also:
Constant Field Values
Constructor Detail

LessEqRelationResolver

public LessEqRelationResolver()
Method Detail

getRelationValue

public double getRelationValue(java.lang.Object[] elements)
Description copied from interface: RelationResolver
Computes characteristic predicate values for a certain relation an for given elements.

Specified by:
getRelationValue in interface RelationResolver
Parameters:
elements - elements in relation
Returns:
a value betwen 0 and 1