|
Á¦ ¸ñ |
Sched4.4 ¸¦ Sched5.1 ·Î Conversion ÇÏ´Â ¹®Á¦ |
|
ÀÛ¼ºÀÚ |
Á¤Àç¿ì |
ÀÛ¼ºÀÏ |
2001-09-19 |
Á¶È¸¼ö |
1756 ȸ |
|
÷ºÎÆÄÀÏ |
÷ºÎµÈ ÆÄÀϾøÀ½.
|
|
¾È³çÇϼ¼¿ä? »ï¼ºÀüÀÚ ÀÚµ¿È±×·ì¿¡ ±Ù¹«ÇÏ´Â Á¤Àç¿ìÀÔ´Ï´Ù.
5.1 ±³À°À» ¾È¹Þ¾Ò´ø °ÍÀÌ ¸· ÈÄȸµÇ´Â±º¿ä. ½Ã°£Àº ¾ø°í, ³³±â´Â ÀÓ¹ÚÇØ¿À°í...
Scheduler4.4 ¿¡¼ ÀÚÁÖ »ç¿ëÇß´ø Technic À» 5.1 ¿¡¼ ¾µ·Á±¸ÇÕ´Ï´Ù. ¾Æ·¡ÀÇ 4.4 Sample Goal À» ±×´ë·Î 5.1 ·Î Á» ¹Ù²ãÁÖ¼¼¿ä.
ILCGOAL1( setTime, IlcIntervalActivity, act ){ return IlcOr( act.getStartVariable() == act.getStartMin(), IlcAnd( act.getStartVariable() != act.getStartMin(), this ) ); }
ILCGOAL2( SolveProblem, IlcSchedule s, IlcIntervalActivity, act){ IlcManager m = s.getManager(); m.out() << \"Set Time\" << endl; return setTime( act ); }
IlcGoal SolveProblem( IlcSchedule s, IlcIntervalActivity act, IlcInt nbLots ){ IlcManager m = s.getManager(); cout << \"Number Of Lots : \" << nbLots << endl; return SolveProblem( m, s, act, nbLots ); }
....
m.add( SolveProblem );
|
|
|
|