fcmodeler.jsomap
Class EuclideanWGMetric

java.lang.Object
  |
  +--fcmodeler.jsomap.EuclideanWGMetric
All Implemented Interfaces:
jsomap.algorithm.parameters.Metric

public class EuclideanWGMetric
extends java.lang.Object
implements jsomap.algorithm.parameters.Metric

Version:
 
Author:
default

Constructor Summary
EuclideanWGMetric()
          Creates new EuclideanWGMetric
 
Method Summary
 double compare(jsomap.data.Pattern one, jsomap.data.Pattern two)
          Returns the dissimilarity between the two specified patterns.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EuclideanWGMetric

public EuclideanWGMetric()
Creates new EuclideanWGMetric
Method Detail

compare

public double compare(jsomap.data.Pattern one,
                      jsomap.data.Pattern two)
Returns the dissimilarity between the two specified patterns.
Specified by:
compare in interface jsomap.algorithm.parameters.Metric
Parameters:
one - the first pattern.
two - the second pattern.
Returns:
the dissimilarity between the two patterns.
Throws:
NullPointerException - if either one or two is null.