±×·¡ÇÁ :: ¸ÅÆ®¸¯½º

±×·¡ÇÁ :: Matrix´Â Graph GÀÇ V x V ¸ÅÆ®¸¯½º¸¦ »ý¼ºÇÏ°í Á¶ÀÛÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù.
Áö±Ý ´Ù¿î·Îµå

±×·¡ÇÁ :: ¸ÅÆ®¸¯½º ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • Perl Artistic License
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Jarkko Hietaniemi
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://search.cpan.org/~jhi/

±×·¡ÇÁ :: ¸ÅÆ®¸¯½º ű×


±×·¡ÇÁ :: ¸ÅÆ®¸¯½º ¼³¸í

Graph :: Matrix´Â ±×·¡ÇÁ GÀÇ V x V ¸ÅÆ®¸¯½º¸¦ »ý¼ºÇÏ°í Á¶ÀÛÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. Graph :: Matrix´Â ±×·¡ÇÁ G.Synopsis ±×·¡ÇÁ :: ¸ÅÆ®¸¯½º¸¦ »ç¿ëÇÏ´Â V x V ¸ÅÆ®¸¯½º¸¦ »ý¼ºÇÏ°í Á¶ÀÛÇÏ´Â Perl ¸ðµâÀÔ´Ï´Ù. ±×·¡ÇÁ :: Áö½Ã; ³» $ G = ±×·¡ÇÁ :: Directed-> New; $ g-> add _... (); # $ g ³» $ m = ±×·¡ÇÁ :: matrix-> new ($ g); $ M-> GET ($ u, $ v) $ S-> GET ($ u, $ v, $ v, $ val)ÀÌ ¸ðµâÀº ±×·¡ÇÁ Module.class MethodsNew ($ g)°¡ »õ Çà·ÄÀ» ±¸¼ºÇÏ´Â ±×·¡ÇÁ ¸ðµâ¿¡¼­ ³»ºÎ »ç¿ëÀ»À§ÇÑ °ÍÀÔ´Ï´Ù. ±×·¡ÇÁ $ G.Object ¹æ¹ý get ($ u, $ v) $ u·Î $ v.set ($ u, $ v, $ val)ÀÇ °¡ÀåÀÚ¸®ÀÇ °ªÀ» $ u·Î $ v¿¡¼­ $ v·Î ¼³Á¤ÇÏ¿© °ªÀ» °¡Ä¡ÀÖ°Ô ¼³Á¤ÇÕ´Ï´Ù. ¹ß. ¿ä±¸ »çÇ× : ¡¤ Perl.


±×·¡ÇÁ :: ¸ÅÆ®¸¯½º °ü·Ã ¼ÒÇÁÆ®¿þ¾î