| 1 | package felix.util; |
| 2 | |
| 3 | import tuffy.util.Config; |
| 4 | |
| 5 | |
| 6 | /** |
| 7 | * Container of global configuration parameters. |
| 8 | */ |
| 9 | public class FelixConfig extends Config{ |
| 10 | |
| 11 | /** |
| 12 | * Overriding Tuffy fields to get new identity |
| 13 | */ |
| 14 | public static void overrideID() { |
| 15 | product_line = "felix"; |
| 16 | product_name = "Felix 0.2"; |
| 17 | path_conf = "./felix.conf"; |
| 18 | dir_working = "/tmp/felix-workspace"; |
| 19 | |
| 20 | Config.db_schema = "tuffy_testing10"; |
| 21 | } |
| 22 | |
| 23 | public static boolean hadoopLocal = false; |
| 24 | public static String auxSchema = null; |
| 25 | public static boolean forceExt = false; |
| 26 | |
| 27 | /** |
| 28 | * Fields specialized to Felix |
| 29 | */ |
| 30 | public static int currentIndent = 1; |
| 31 | |
| 32 | public static boolean isFirstRunOfDD = false; |
| 33 | |
| 34 | public static boolean allRuleAsMLN = false; |
| 35 | |
| 36 | public static boolean pickRandom = false; |
| 37 | |
| 38 | public static boolean explainMode = false; |
| 39 | |
| 40 | public static int nCores = 1; |
| 41 | |
| 42 | public static boolean allView = false; |
| 43 | |
| 44 | public static boolean allMat = false; |
| 45 | |
| 46 | public static boolean mixturedLoading = false; |
| 47 | |
| 48 | public static String hdfsServer = "hdfs://d-02.cs.wisc.edu:9000/"; |
| 49 | |
| 50 | public static String mrServer = "hdfs://d-02.cs.wisc.edu:9001/"; |
| 51 | |
| 52 | public static int nReduce = 30; |
| 53 | |
| 54 | public static int nDDIT = 5; |
| 55 | |
| 56 | } |