ro.mosc.reco.test
Class EqRelationResolver

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

public class EqRelationResolver
extends java.lang.Object
implements RelationResolver

Sample test class


Constructor Summary
EqRelationResolver()
           
 
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
 

Constructor Detail

EqRelationResolver

public EqRelationResolver()
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