OSDN Git Service

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