nrc.fuzzy
Class SimilarityOperator

java.lang.Object
  |
  +--nrc.fuzzy.SimilarityOperator
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable, SimilarityOperatorInterface
Direct Known Subclasses:
SimilarityByAreaOperator, SimilarityByPossibilityOperator

public abstract class SimilarityOperator
extends java.lang.Object
implements SimilarityOperatorInterface, java.lang.Cloneable, java.io.Serializable

An abstract class that can be sub-classed to provide an operator to calculate the similarity between 2 fuzzy values. By default the SimilarityByArea operator (ratio of area of intersection to area of union of the fuzzy values) is used.

See Also:
SimilarityByAreaOperator, SimilarityByPossibilityOperator, Serialized Form

Constructor Summary
SimilarityOperator()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface nrc.fuzzy.SimilarityOperatorInterface
similarity
 

Constructor Detail

SimilarityOperator

public SimilarityOperator()