1 package jp.sourceforge.stigmata;
4 * Interface for comparing given two birthmarks and calculate similarity.
6 * @author Haruaki TAMADA
8 public interface BirthmarkComparator {
10 * compare given two birthmarks and returns calculated similarity.
12 public double compare(Birthmark b1, Birthmark b2, BirthmarkContext context);
15 * returns the number of comparison.
17 public int getCompareCount(Birthmark b1, Birthmark b2);
20 * returns the type of birthmarks this comparator supports.
22 public String getType();