public void computeChoice (int ART_MODE) {
    	double top, bottom;
    	
    	if (ART_MODE == FUZZYART) {
           // System.out.println("Phase code T computationation FUZZYART");
    		for (int j=0; j<numCode; j++) {
    			activityF2[j] = 0;
                        top = 0;
    			bottom = alpha;
    			for (int k=0; k<numF1; k++) {
    				for (int i=0; i<maxIdEvents; i++) {
    					top += Math.min(activityF1[k][i],weight[j][k][i]);
    					bottom += weight[j][k][i];
    				}
    				
    			}
                        activityF2[j] += gamma * (top/bottom);
                       // System.out.println("Code"+j+"_T="+activityF2[j]);
                        
    		}
    	}
    	
    	else if (ART_MODE == ART2) {
           // System.out.println("Phase code T computationation ART2");
    		for (int j=0; j<numCode; j++) {
    			activityF2[j] = 0;
                        top = 0;
    			for (int k=0; k<numF1; k++) {
    				
    				for (int i=0; i<maxIdEvents; i++)
    					top += activityF1[k][i] * weight[j][k][i];
    				
    			}
                        top /= ((double)(maxIdEvents*numF1));
    			activityF2[j] += top;
                        //System.out.println("Code"+j+"_T="+activityF2[j]);
    		}
    	}
    }