ã¿ãã«1å¤æ°é¢æ°ã¨å¤å¤æ°é¢æ°ãåºå¥ããªããã°ãªããªãç¶æ³ã¨ãã¦ãè¤ç·å½¢ååã®è©±ããã¦ãæå¾ã«å¾©åã¨å¤åã«å°ã触ãã¾ãã
å 容ï¼
- å¤å¤ã¨å¤å¼æ°
- å¤å¤æ°é¢æ°
- è¤ç·å½¢åå
- ææ§è¨æ³ãç ´ç¶»ããã¨ã
- è¤åãå¤å
å¤å¤ã¨å¤å¼æ°
é¢æ°ãå¤å¤ã§ããã¨ã¯ãä¸åº¦ã«è¤æ°ã®å¤ãè¿ããã¨ã§ããä½åã®é¨åéåãè¿ãé決å®æ§é¢æ°ãnondeterministic functionãã®ãã¨ã§ã¯ããã¾ãããã¾ããã¿ãã«ãã¼ã¿ã1ã¤è¿ãã®ã§ããªãã¦ãè¤æ°ã®å¤ãè¿ãã®ãå¤å¤é¢æ°ã§ãã
å¤å¤é¢æ°ã®è©±ã¯ã2006å¹´2æ9æ¥ãã2æ22æ¥ã®ããã ã«æ¬¡ã®è¨äºãæ¸ãã¦ãã¾ããããããªãã¨ããã£ããªã¼ãã¨ææ§ã®å¿µï¼
- ãªããå¤å¤é¢æ°ã¯äººæ°ããªãã®ã ãã
- å¤å¤é¢æ° é¢é£
- å¤å¤é¢æ°ã®è©±ãããå°ã -- 課é¡ã3ã¤
- å¤å¤é¢æ°é¢é£ï¼èªå®¶è£½ã¾ã¨ããªã³ã¯é
- ã²ã£ããã¨ç¶ãã¦ããå¤å¤ã®è°è«
ã¨ããã§ãé¢æ°ã®å¤ã§ã¯ãªãã¦å¼æ°ãå ¥åããè¤æ°ãªã®ã¯çããã¯ãªãã§ãããç¹ã«é£ãããã¨ãé¢ç½ããã¨ããªãããã§ããã§ãããç¶æ³ã«ãã£ã¦ã¯ãã¿ãã«ãã¼ã¿ã1ã¤åãåãé¢æ°ã¨ãè¤æ°ã®å¼æ°ãåãåãé¢æ°ãåºå¥ããå¿ è¦ãããã¾ããé常ãåºå¥ã¯ãã¦ãªãï¼ããå¿ è¦ããªãï¼ã®ã§ãåºå¥ãã¹ãç¶æ³ã§ã®å¯¾å¿ãé£ããããã§ããå ·ä½çã«è¨ãã°ãè¤ç·å½¢ååãå¤éç·å½¢ååãã®è°è«ã§ã ãã¶é¢é£ããã¿ããã
ã¨ããããã§ããã®è¨äºã§ã¯ãå¤å¼æ°é¢æ° -- å¤å¤æ°é¢æ°ã¨å¼ã¶ã®ãæ®éã㪠-- ã«ã¤ãã¦ä¸»é¡çã«æ±ãã¾ãã
å¤å¤æ°é¢æ°
ã¿ãã«å¤æ°ã¨å¤å¤æ°ãåºå¥ããªãç°å¢ã«æ £ãã¦ãã人ï¼å¤§é¨åã®äººã«ã¯ãä½ãåé¡ããåããã«ãã¨æãã¾ããããæ æã«æ¬¡ã®ã«ã¼ã«ãè¨ãã¾ãã
- ã¿ãã«ã¯ãè§æ¬å¼§ã§å²ãå¿ è¦ãããã
- ã¿ãã«ã®ä¸¦ã³ã¯ç¸¦æ¹åã§ããã
- å¤å¤æ°ã®ä¸¦ã³ã¯ï¼å¾æ¥ã©ããï¼æ¨ªæ¹åã§ããã
ãã®ã«ã¼ã«ãå®ãã¨ãã¦ã足ãç®ãããé¢æ° add ã«ã2 㨠3 ãå¼æ°ã¨ãã¦æ¸¡ãæ¹æ³ã¯æ¬¡ã®2ã¤ãããã¾ãã
å¼æ°ã®æ¸¡ãæ¹ãéãã°é¢æ°ã¯å¥ç©ã¨ã¿ãªãã¾ãããªã¼ãã¼ãã¼ãããã®ã便å©ã§ããããªã¼ãã¼ãã¼ããç¦æ¢ã§ãã次ã®ããã«ååãå¤ããããããã¾ããï¼æ©è½ã¯åã足ãç®ã§ãï¼ã
add1 㨠add2 ã®ãããã¡ã¤ã«ã次ã®ããã«æ¸ãã¾ãã
3ã¤ã®å®æ°ã®æ å ±ãå¿ è¦ã¨ããé¢æ°ã®ãããã¡ã¤ã«ã¯ä½ç¨®é¡ãããã¾ãã
ããããã®å¼æ°ã®æ¸¡ãæ¹ã¯æ¬¡ã®ããã«ãªãã¾ãã
ãããªåºå¥ããã¦æ¸ãå¿ è¦ããããã§ããããï¼ 3ã¤ã®å®æ°åã®æ å ±ãè²°ãã°é¢æ°ã¯ä»äºã§ãããã ãããã©ãã ã£ã¦åãã§ãã -- ããæãã¾ããããã¦â¥â¥
è¤ç·å½¢åå
ããã¯ãã«ç©ºéã¨ãã¾ããåç¯ã® f1, f2, f3, f4 ã¯ãå¼æ°ãæ»ãå¤ãå®æ°ãå®æ°ã¿ãã«ã§ãããããã®ç¯ããå ã¯æ¬¡ã®ãããã¡ã¤ã«ã§èãã¾ãã
ãã¯ãã«ç©ºéã®å ´åãå°éåã®ç´ç©ã«ç·å½¢æ§é ï¼è¶³ãç®ã¨ã¹ã«ã©ã¼åï¼ãå ¥ãããã¯ãã«ç©ºéã¯ç´åãã¯ãã«ç©ºéã¨å¼ã³ãè¨å· '' ã使ã£ã¦æ¸ãã¾ã*1ããã次ã®ããã«æ¸ããã»ããããã§ãããã
ã¨ãã¦ãå¼æ°ã®æ¸¡ãæ¹ã¯åç¯ã¨åãã§ãã
ãã¦ãä¸è¬ã«ããã¯ãã«å¼æ°ãå¹¾ã¤ãæã¤ãã¯ãã«å¤ã®é¢æ°ãè¤ç·å½¢ååãmultilinear mapãã ã¨ã¯ãã©ã®å¼æ°ãå ¥åå¤æ°ãã«é¢ãã¦ããä»ã®å¼æ°ãåºå®ãã¦ç·å½¢ã«ãªããã¨ã§ãã
f1, f2, f3, f4 ãè¤ç·å½¢ååã§ããæ¡ä»¶ã®ãã¡ãå¤æ°ãå¼æ°ããã¨ã«è¶³ãç®ãä¿åãããã¨ï¼å æ³æ§ï¼ã ããæ¸ãã¦ã¿ã¾ããè¤ç·å½¢ååã®æ¡ä»¶ã«ã¯ãå¤æ°ãå¼æ°ããã¨ã«ã¹ã«ã©ã¼åãä¿åãããã¨ãããã¾ãããããã¯å²æãã¾ãã
f1 ãå¤æ°ãå¼æ°ããã¨ã«å æ³ç â
f2 ãå¤æ°ãå¼æ°ããã¨ã«å æ³ç â
f3 ãå¤æ°ãå¼æ°ããã¨ã«å æ³ç â
f4 ãå¤æ°ãå¼æ°ããã¨ã«å æ³ç â
å¤æ°ãå¼æ°ãã®åæ°ãéãã¨ããå æ³çã§ãããã¨ããæ¡ä»¶ã®å½¢ãéã£ã¦ãã¾ãã
注æãã¦æ¬²ããã®ã¯ããè¤ç·å½¢ååãã«ã復ãã®åãå ¥ã£ã¦ãã¦ããæ®éã®ç·å½¢ååï¼å¼·ãã¦è¨ãã°ãåç·å½¢ååãï¼ãé¤å¤ãã¦ãªããã¨ã§ããå¤æ°ãå¼æ°ãã1åã§ããè¤ç·å½¢ååã¯æ®éã®ç·å½¢ååã®ãã¨ã§ãã
ãå¤é å¼ãã«ãå¤ãã®åãå ¥ã£ã¦ãããããåé å¼ã¯å¤é å¼ã§ã¯ãªããã¨ãè¨ã人ãããããã§ããããå¤ãã復ãã®ãããªåã®å°è±¡ã§ãã¯ãã«ã«ã¿ã¼ã ã®æå³ã決ã¾ãããã§ãï¼æ±ºããããã§ãããã¾ãããåã®å°è±¡ãèªæã§ãã¯ãã«ã«ã¿ã¼ã ã解éããã®ã¯ãã³ãããã¦ãã
ææ§è¨æ³ãç ´ç¶»ããã¨ã
ããã§ãã¿ãã«ãè§æ¬å¼§ã»ç¸¦æ¹åã§ãªãã¦ä¸¸æ¬å¼§ã»æ¨ªæ¹åã§ãããã¨ãã¾ããããããã¨ï¼
å ¥ãåã®ä¸¸æ¬å¼§ã¯ããã©ãããã鬱é¶ãããªï¼ãã¨çç¥ãå§ãã¾ãã
ãããã¦ãã¿ãã«1å¤æ°ã¨2å¤æ°ã®åºå¥ãå¿ãã¦ãã¾ãã¾ãããããã横çããã¦ããå®å®³ãåºããã¨ã¯å°ãªãã®ã§åãã¨ãããããããã¨ã¯ããã¾ããã
ãã¦ã次ã®åé¡ãåºãããã¨ãã¾ã
- ãè¤ç·å½¢ååã§ããæ¡ä»¶ãæ¸ããã ãã
ããããããã®åé¡ã®åºãæ¹ãä¸é©åã§ããããã®ä¸é©åããææãããªããã¿ãã«1å¤æ°ã¨2å¤æ°ã®åºå¥ãæèããªãã¦ã¯ãªãã¾ããã
åé¡ã® ãã¿ãã«1å¤æ° ã ã¨ããã°ãè¤ç·å½¢ååã§ãããã¨ã¯åç·å½¢ååã§ãããã¨ã§ãããã次ã®æ¡ä»¶ã«ãªãã¾ãã
1.
2.
åé¡ã® ã2å¤æ°ã ã¨ããã°ãè¤ç·å½¢ååã§ãããã¨ã¯åç·å½¢ååã§ãããã¨ã§ãããã次ã®æ¡ä»¶ã«ãªãã¾ãã
1.
2.
3.
4.
é常æã ã使ã£ã¦ããè¨æ³ ã¯ãã¿ãã«1å¤æ°ã ã2å¤æ°ã ãææ§ã«ãªã£ã¦ãã¾ããå¤ãã®ç¶æ³ä¸ã§ã¯ææ§ã§ãåé¡ãªãããããææ§ãªã»ãã便å©ãªãã¨ãããã¾ããããããè¤ç·å½¢ååã®è°è«ãããã¨ãã«ãã¿ãã«1å¤æ°ã¨ãè¨ãããã2å¤æ°ã¨ãè¨ãããã§ã¯åãæããªãã®ã§ãã
è¤åãå¤å
ã¿ãã«1å¤æ°ã¨å¤å¤æ°ãåºå¥ããå¿ è¦ãããããããã¯åºå¥ããã»ãã便å©ã§ããç¶æ³ãæ±ãæ½è±¡çæ çµã¿ã«å¾©åãmulticategoryããããã¾ããåºåã«é¢ãã¦ããã¿ãã«1å¤ã¨å¤å¤ãåºå¥ããã®ãªãå¤åãpolycategoryãã¨ããæ çµã¿ã使ãã¾ããå ¥åã常ã«åä¸ã§åºåå´ã ããå¤å¤ã§ããã¨ãã¯ä½è¤åãcomulticategoryãã¦ã®ãããã¾ãããè¤åã®æ¹åãã²ã£ããè¿ãã ããªã®ã§ãã»ã¨ãã©è¨åããã¾ããã
- one-in one-out ãªãå
- multi-in one-out ãªã復å
- one-in multi-out ãªãä½å¾©å
- multi-in multi-out ãªãå¤å
è¤ç·å½¢ååã¯ãåã®å°ã¨ãã¦ã¯æ±ãã«ããå ¸åä¾ã§ãããã ãããã¯ãã«ç©ºéã®ãã³ã½ã«ç©ã使ãã¨ãè¤ç·å½¢ååãåãªãåã®ãªãã«æ¼ãè¾¼ãããã¨ãã§ãã¾ãããããããã³ã½ã«ç©ã便å©ã§å¤ç¨ãããçç±ã§ãã
è¤ç·å½¢ååã®å¾©åã§ã¯ãªãã¦ãå¤å°ç¡çç¢çã«è¤ç·å½¢ååã®åã ãã§é å¼µãæ¹æ³ãããã¾ãããã¢ããã使ã£ã¦å¤ç·å½¢ååã®åãä½ããã§è¿°ã¹ã¦ãã¾ãã
æ¢åã®ã¢ãã¤ãåãã復åãå¤åãä½ãã¨ãæ±ãããããåä¸ãããã¨ãããã¾ããããã«ã¤ãã¦ã¯æ¬¡ã®è¨äºã«ããã¾ãã
æã ã«é¦´æã¿ã®éååï¼ã¢ãã¤ãç©ã¯ç´ç©ï¼ã«å¯¾ãã¦ãã対å¿ãã復å MultiSetãå¤å PolySet ãä½ãã¾ããã»ã¨ãã©ä½¿ãããªãã®ã¯ãå¾ãããã¡ãªããã¨ç ©éãã®ä»£åã天秤ã«ããã¦ããã¾ãå¬ãããªãããã§ãã
ã¡ãªããã大ããã¨ãã¯ãåã ãã§ã¯ãªãã¦å¾©åï¼å¤åã使ãã¨è©±ãã¹ã ã¼ãºã«é²ã¿ã¾ããç¹ã«ãã¢ãã¤ãåãå¤ååããã¨ã¹ããªã³ã°å³ã¨ã®ç¸æ§ãããé«ã¾ãã¾ãã