| °ÔÀÓ :: lmsolve :: Base. °ÔÀÓ :: lmsolve :: Base´Â ÆÛÁñ ¼Ö¹öÀÇ ±âº» Ŭ·¡½ºÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
°ÔÀÓ :: lmsolve :: Base. ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~shlomif/
°ÔÀÓ :: lmsolve :: Base. ű×
°ÔÀÓ :: lmsolve :: Base. ¼³¸í
°ÔÀÓ :: LMSOLVE :: Base´Â ÆÛÁñ ¼Ö¹öÀÇ ±âº» Ŭ·¡½ºÀÔ´Ï´Ù. °ÔÀÓ :: LMSOLVE :: Base´Â ÆÛÁñ ¼Ö¹ö¸¦À§ÇÑ ±âº» Ŭ·¡½ºÀÔ´Ï´Ù .Synopsis ÆÐÅ°Áö MyPuzzle :: Solver; °ÔÀÓ :: lmsolve :: Base; @isa = qw (°ÔÀÓ :: lmsolve :: base); #ÀÌ ¸Þ¼Òµå¸¦ ÀçÁ¤ÀÇÇϽʽÿÀ : sub input_board {...} sub unpack_state {... ...} sub display_state {...} sub check_if_final_state {...} sub enumerate_move {...} Sub perminal_move { ...} # ¼±ÅÃÀûÀ¸·Î : sub render_move {...} sub check_if_unsolvable {...} ÆÐÅ°Áö ¸ÞÀÎ; ³» $ self = myPuzzle :: Solver-> new (); $ self-> solve_board ($ filename);ÀÌ Å¬·¡½º´Â ´ÜÀÏ Ç÷¹ÀÌ¾î °ÔÀÓÀ»À§ÇÑ ÀϹÝÀûÀÎ ¼Ö¹ö¸¦ ±¸ÇöÇÕ´Ï´Ù. À̸¦ »ç¿ëÇϱâ À§Çؼ´Â »ó¼ÓÇؾßÇϸç ÀϺΠÃß»ó ¹æ¹ýÀ» ±¸ÇöÇؾßÇÕ´Ï´Ù. ±×·± ´ÙÀ½ ÀÎÅÍÆäÀ̽º ±â´ÉÀ» ½ÇÁ¦·Î ½ÇÁ¦·Î ÇØ°áÇϱâ À§ÇØ È£Ãâ ÇÒ ¼ö ÀÖ½À´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
°ÔÀÓ :: lmsolve :: Base. °ü·Ã ¼ÒÇÁÆ®¿þ¾î