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