ro.mosc.reco.glyphdesciption
Class PointsInLineRelationResolver

java.lang.Object
  extended by ro.mosc.reco.glyphdesciption.PointsInLineRelationResolver
All Implemented Interfaces:
RelationResolver

public class PointsInLineRelationResolver
extends java.lang.Object
implements RelationResolver

Two points in a line - relation resolver.


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

PointsInLineRelationResolver

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