"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/engine/generate.cpp" between
fet-5.47.0.tar.bz2 and fet-5.47.1.tar.bz2

About: FET allows to automatically schedule a timetable for e.g. of a school, high-school or university.

generate.cpp  (fet-5.47.0.tar.bz2):generate.cpp  (fet-5.47.1.tar.bz2)
skipping to change at line 5692 skipping to change at line 5692
impossibleactivityendsstudentsday: impossibleactivityendsstudentsday:
if(!okactivityendsstudentsday){ if(!okactivityendsstudentsday){
//if(updateSubgroups || updateTeachers) //if(updateSubgroups || updateTeachers)
// removeAiFromNewTimetable(ai, act, d, h); // removeAiFromNewTimetable(ai, act, d, h);
//removeConflActivities(conflActivities[newtime], nConflA ctivities[newtime], act, newtime); //removeConflActivities(conflActivities[newtime], nConflA ctivities[newtime], act, newtime);
nConflActivities[newtime]=MAX_ACTIVITIES; nConflActivities[newtime]=MAX_ACTIVITIES;
continue; continue;
} }
////////////////////////////////////////////////////////////////////////////////
/////////////
////////////////////////////////////////////////// //////////////////////////////////////////////////
if(updateSubgroups || updateTeachers){ if(updateSubgroups || updateTeachers){
addAiToNewTimetable(ai, act, d, h); addAiToNewTimetable(ai, act, d, h);
if(updateTeachers) if(updateTeachers)
updateTeachersNHoursGaps(ai, d); updateTeachersNHoursGaps(ai, d);
if(updateSubgroups) if(updateSubgroups)
updateSubgroupsNHoursGaps(ai, d); updateSubgroupsNHoursGaps(ai, d);
} }
////////////////////////////////////////////////// //////////////////////////////////////////////////
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)