trunk/chuffed/globals/cumulativeCalendar.c
// Earliest completion time of task i
Earliest completion time of task i
Earliest completion time of task i
inline CUMU_INT 
	ect(CUMU_INT i) { 
		int t = CUMU_PT_GETMIN(start[i]);
		int j = 0;
		while(j < CUMU_PT_GETMIN(dur[i])){
			if(calendar[taskCalendar[i]-1][t]==1) { j++;  }
			t++;
		}
		return t; }
inline CUMU_INT ect ( CUMU_INT i ) { int t = CUMU_PT_GETMIN ( start [ i ] ) ; int j = 0 ; while ( j < CUMU_PT_GETMIN ( dur [ i ] ) ) { if ( calendar [ taskCalendar [ i ] - 1 ] [ t ] == 1 ) { j ++ ; } t ++ ; } return t ; }
Earliest completion time of task i
Earliest completion time of task i