View Javadoc

1   package org.kit.furia;
2   
3   /*
4    Furia-chan: An Open Source software license violation detector.    
5    Copyright (C) 2008 Kyushu Institute of Technology
6   
7    This program is free software: you can redistribute it and/or modify
8    it under the terms of the GNU General Public License as published by
9    the Free Software Foundation, either version 3 of the License, or
10   (at your option) any later version.
11  
12   This program is distributed in the hope that it will be useful,
13   but WITHOUT ANY WARRANTY; without even the implied warranty of
14   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15   GNU General Public License for more details.
16  
17   You should have received a copy of the GNU General Public License
18   along with this program.  If not, see <http://www.gnu.org/licenses/>.
19   */
20  
21  /**
22   * FuriaChanConstants contains constants used by all the other programs.
23   * @author Arnoldo Jose Muller Molina
24   */
25  
26  public class FuriaChanConstants {
27  
28      /**
29       * Maximum number of nodes to be accepted per fragment.
30       * Warning: This value must be observed by all the fragment engines.
31       */
32      public static final int MAX_NODES_PER_FRAGMENT = 1000;
33  
34      /**
35       * Minimum number of nodes to be accepted per fragment.
36       * Warning: This value must be observed by all the fragment engines.
37       */
38      public static final int MIN_NODES_PER_FRAGMENT = 1;
39  
40      /**
41       * Minimum number of different fragments that a program must hold to be
42       * retrieved successfully.
43       */
44      public static int MIN_DOC_SIZE = 100;
45  
46  }