import jp.naist.se.stigmata.utils.LocalizedDescriptionManager;\r
\r
/**\r
- * Birthmark Service Provider Interface.\r
+ * Abstract service provider interface for comparing birthmarks.\r
*\r
* @author Haruaki TAMADA\r
* @version $Revision: 20 $ $Date: 2007-01-17 11:06:01 +0900 (Wed, 17 Jan 2007) $\r
/**
* calculate similarities between two birthmarks by DP matching algorithm.
- *
*
* @author Haruaki TAMADA
* @version $Revision$ $Date$
import jp.naist.se.stigmata.spi.BirthmarkSpi;\r
\r
/**\r
- * Birthmark Service Provider Interface.\r
+ * SPI of {@link BirthmarkComparator <code>BirthmarkComparator</code>}.\r
+ * Comparing birthmarks by DP matching algorithm.\r
*\r
* @author Haruaki TAMADA\r
* @version $Revision: 20 $ $Date: 2007-01-17 11:06:01 +0900 (Wed, 17 Jan 2007) $\r
import jp.naist.se.stigmata.spi.BirthmarkSpi;\r
\r
/**\r
- * Birthmark Service Provider Interface.\r
+ * SPI of {@link BirthmarkComparator <code>BirthmarkComparator</code>}.\r
+ * Comparing birthmarks by edit distance algorithm.\r
*\r
* @author Haruaki TAMADA\r
* @version $Revision: 20 $ $Date: 2007-01-17 11:06:01 +0900 (Wed, 17 Jan 2007) $\r
import jp.naist.se.stigmata.spi.BirthmarkSpi;\r
\r
/**\r
- * Birthmark Service Provider Interface.\r
+ * SPI of {@link BirthmarkComparator <code>BirthmarkComparator</code>}.\r
+ * Comparing birthmarks by extended edit distance algorithm.\r
*\r
* @author Haruaki TAMADA\r
* @version $Revision: 20 $ $Date: 2007-01-17 11:06:01 +0900 (Wed, 17 Jan 2007) $\r
import jp.naist.se.stigmata.spi.BirthmarkSpi;\r
\r
/**\r
- * Birthmark Service Provider Interface.\r
+ * SPI of {@link BirthmarkComparator <code>BirthmarkComparator</code>}.\r
+ * Comparing birthmarks by logical AND algorithm.\r
*\r
* @author Haruaki TAMADA\r
* @version $Revision: 20 $ $Date: 2007-01-17 11:06:01 +0900 (Wed, 17 Jan 2007) $\r
import jp.naist.se.stigmata.spi.BirthmarkSpi;
/**
+ * An implementation of {@link BirthmarkComparator
+ * <code>BirthmarkComparator</code>}. Let <i>p</i> and <i>q</i> be
+ * programs, <i>f(p)</i> and <i>f(q)</i> be extracted birthmarks from
+ * <i>p</i> and <i>q</i>. Let <i>|f(p)|</i> be a element count of
+ * <i>f(p)</i>. Then, expression of comparing birthmarks algorithm of
+ * this class is defined as <i>|f(p) and f(q)|/(|f(p)| + |f(q)|)</i>.
*
* @author Haruaki TAMADA
* @version $Revision$ $Date$
import jp.naist.se.stigmata.spi.BirthmarkSpi;\r
\r
/**\r
- * Birthmark Service Provider Interface.\r
+ * SPI of {@link BirthmarkComparator <code>BirthmarkComparator</code>}.\r
+ * Comparing birthmarks by default matching algorithm.\r
*\r
* @author Haruaki TAMADA\r
* @version $Revision: 20 $ $Date: 2007-01-17 11:06:01 +0900 (Wed, 17 Jan 2007) $\r