OSDN Git Service

ed2cb5e7154863754e74c0d97295c166ee489ea9
[stigmata/stigmata.git] / src / main / java / jp / sourceforge / stigmata / ComparisonMethod.java
1 package jp.sourceforge.stigmata;
2
3 /*
4  * $Id$
5  */
6
7 /**
8  * This enum represents birthmark comparison method. let <it>X</it> be a set of
9  * target <it>{ x1, x2, ..., xn, }</it> and <it>Y</it> be a set of target
10  * <it>{ y1, y2, ..., ym, }</it>.
11  * 
12  * @author Haruaki Tamada
13  * @version $Revision$ 
14  */
15 public enum ComparisonMethod{
16     /**
17      * This constants represents comparing all combination between <it>X</it>
18      * and <it>Y</it>. <it>x1 - y1, x1 - y2, x1 - y3, ..., xn - ym-1, xn, ym</it>.
19      */
20     ROUND_ROBIN_XY,
21     /**
22      * This constants represents comparing all combination between <it>X</it>.
23      * <it>x1 - x1, x1 - x2, x1 - x3, ..., xn - xn-1 xn, xn</it>.
24      */
25     ROUND_ROBIN_SAME_PAIR,
26     /**
27      * This constants represents comparing all combination between <it>X</it>.
28      * <it>x1 - x1, x1 - x2, x1 - x3, ..., xn - xn-1 xn, xn</it>.
29      */
30     ROUND_ROBIN_WITHOUT_SAME_PAIR,
31     /**
32      * This constants represents comparing some pairs. The pair is guessed by
33      * its name. If x1 and y3 have same name, then the pair of x1 and y3 is
34      * compared.
35      */
36     GUESSED_PAIR,
37     /**
38      * This constants represents comparing some pairs. The pair is specified by
39      * user.
40      */
41     SPECIFIED_PAIR,
42 }