001    /*
002     * SimuCS - Simulator to use with Classifier Systems 
003     * MSc project - Oxford University 
004     * by Benoit Isaac - Summer 2005
005     */
006    
007    package simuLCS;
008    
009    /** 
010     * Defines useful constants for the program.
011     * @author Benoit
012     * 
013     */
014    public class Config {
015            
016            /**
017             * Size of the Arena
018             */
019            public static final int SIZE_ARENA = 600;
020            
021            /**
022             * Shift to center the Arena (not stuck to the border)
023             */
024            public static final int SHIFT_ARENA = 20 ;
025    
026            /**
027             * Maximum number of entities to allow for one simulation
028             */
029            public static final int MAX_NB_ENTITIES = 30 ; 
030                    
031            public static final String ERROR = "#";
032            
033            public static final String PROBLEM = "?";
034            
035            /**
036             * Indicates how "verbose" the program should be (for the output in the console)
037             */
038            public static int PRINT_MODE = 3;
039            
040            /**
041             * Change this to write the files in another folder
042             */     
043            public static final String FOLDER_DATA = "./";
044            
045            /**
046             * @return
047             */
048            public static int getPRINT_MODE() {
049                    return PRINT_MODE;
050            }
051    
052            /**
053             * @param i
054             */
055            public static void setPRINT_MODE(int i) {
056                    System.out.println("Print Mode set to :"+i);
057                    PRINT_MODE = i;
058            }
059    
060    }