ãåå¼·ä¼ã®éåæãã«æããéåæ
http://www16.atwiki.jp/tokoroten/pages/904.html
1000speakersã¯ãã®è¾ºãéã£ã¦ãã¦ãå§åçã«ä¾¡å¤ã®é«ã西尾ããã¨Amachangããããã«ç«ã¤ãã¨ã«ãã£ã¦ãããã«æºãã人ãã¡ãéã¾ã£ã¦ããã
ãã®ããã西尾ããã¨Amachangã«ã¯å©çããªããã©ããã®ä»ã®äººã«ã¯èªåããã価å¤ãé«ã人ãåå¨ããã¨ããç¶æ ã«ãªãããããããã®äººã¯å¤§ããªå©çãåãããã¨ã«ãªãã
ããã¯èª¤è§£ä»¥å¤ã®ä½ç©ã§ããªããä¾ãã°ä»åã§ããã°ãã¸ã¼ãCurlã£ã¦ããããè¨èªãªãã ã¼ãæå¤ã¨ä½¿ããã¦ãããã ã¼ããã¨ãããªãã»ã©ãOpenCOBOLã§ãããªãã¨ãã§ãããã ï¼ç®ããé±ï¼ãã¨ããã£ãããã ããid:amachangãFPGAã®è©±ã«ããªãé¢å¿ãæã£ã¦è²ã 質åãã¦ãã¿ããã ãã
ãããããããããåã«ã¨ã£ã¦éåæã®ããèãæ¹ããçºçããçç±ã«ã¡ãã£ã¨èå³ãåºã¦ããã
ãã¡ããè²ã è°è«ãããä¸ã§ç©äºãã·ã³ãã«ãªã¢ãã«ã§è¡¨ç¾ãããã¨ã¯å¿ è¦ã ãããããåªãã人ã¨å£ã£ã人ããããã¨ããèãæ¹ã¯ã人ãããç·ã®ä¸ã«ä¸¦ãã§ãã¦ãããå´ã«é²ãã»ã©åªãã人ã§å対å´ã«é²ãã»ã©å£ã£ã人ãã¨ããæ°ç´ç·ã®ã¢ãã«ã使ã£ã¦ããããã ããããã¯æ£ãããªãã¢ãã«åã ã¨æãã
ã¾ãã¯ãã®å³ãè¦ã¦ã»ããã
http://en.wikipedia.org/wiki/Image:Hasse_diagram_of_powerset_of_3.svg
ããã¯ãã¼ã«æã¨ããã¢ãã«ãªãã ãã©ããããªååã¯ã©ãã§ããããããã®å³ã§ä¸çªä¸ã«ããÏã¯ãä½ãç¥ããªãçã¾ããã°ããã®èµ¤ãåã{x}ã¯xã ããç¥ã£ã¦ãã人ã{y}ã¯yã ããç¥ã£ã¦ãã人ã{x, y}ã¯xã¨yãç¥ã£ã¦ãã人ã
çã¾ããã°ããã®ä½ãç¥ããªã赤ãåã¯ããããã«ç¥èã®é¢ã§ã¯èª°ãããå£ã£ã¦ãããã§ããè±èªã®åèªãå¤å°ç¥ã£ã¦ãã¦æ¥æ¬èªã®åèªã¯ããã¾ãç¥ããªã3æ³å ã{x}ã¨ãæ¥æ¬èªã®åèªãå¤å°ç¥ã£ã¦ãã¦è±èªã®åèªã¯ããã¾ãç¥ããªã3æ³å ã{y}ã®éã«åªå£ã¯ãªãããã¡ãã大人ã«ãªã£ã¦è±èªãåå¼·ããæ¥æ¬äººã®ä¸ã«ã¯ã©ã¡ãã®åèªãç¥ã£ã¦ãã{x, y}ã«ç¸å½ãã人ãããã ããããã®äººã¯ã©ã¡ãã®3æ³å ãããç¥èã®é¢ã§åªãã¦ããã¨è¨ããã ããã
ãã®å³ã§ã¯ãç¥ããã¨ã®åºæ¥ãæ å ±ããx, y, zã®3ã¤ãããªãã®ã§ãå ¨é¨ãç¥ã£ã¦ãã{x, y, z}ã£ã¦äººããããããªæ°ããã¦ãã¾ããããããç¾å®ã«ã¯ã人éãç¥ãããæ å ±ãã¯ãã®ãããè¨å¤§ã ãããã¦ã人éã¨ããçãç©ã¯æ®å¿µãªãããçã¾ãã¦ãã1ã¡ã¬æé以å ã«æ©è½åæ¢ãã¦ãã¾ããé ä¸ã«ãã©ãçãã©ãããããªãã
ãããåã®èããã人éã¨ãã®ç¥èã«é¢ããã¢ãã«ãã ã{a, b, c}ã®äººã¨{a, e, g}ã®äººã®éã«åªå£ã¯ãªããããã¦çã¾ããã¨ãã¯èª°ã§ã空ã£ã½Ïã§ãããå¹´é½¢ã¨ããã«ä¼´ãçµé¨ã«ãã£ã¦ä¸èº«ãå¢ãã¦ãããä¸èº«ã®æ°ãå¤ãæ¹ãåªãã¦ããã¨èãã人ãããã ããããããã¯åã«ãå¹´é·è ãå°éãããã¨è¨ã£ã¦ããã®ã¨åãããã®èãæ¹ã«ã¯åååæãããå¹´é·è ã®æ¹ãåããããããããªãã¨ãç¥ã£ã¦ããã®ã§ãå½ç¶ããã¯å°éããããããå¹´é·è ãç¥ããªãã¦åãç¥ã£ã¦ãããã¨ãããã®ãªããèªåãä¸æ¹çã«å£ã£ãåå¨ã ã¨ã¯æããªããæ人ãã人éã¯ããããè²ã ãªçµé¨ãç©ãã§ããç©ãªã®ã§ã誰ãã誰ãããåªãã¦ããããªãã¦ç¶æ ã¯ããã¾ãã«ããèµ·ããªãã
ã価å¤ãããã¨è¦ãªãç¥èããçµãè¾¼ãã¨ãåªå£é¢ä¿ãç¾ãããã¨ããããä¾ãã°åã®ç¥èã®ãã¡Pythoné¢é£ã®ç©ãPã§è¡¨ç¾ãã¦{a, b, c, P1, P2, x, y, z}ã¨ããããåã¨åãå¹´ã§å¶æ¥ã®ä»äºããã¦ãã人ãããã¨ãã¦ãå¶æ¥é¢é£ã®ç¥èãEã§è¡¨ç¾ãã¦{a, b, c, E1, E2, u, v, w}ã¨ãããããã®äºäººã®éã«ã¯åªå£ã¯ãªãã®ã ãããã話é¡ãPythonã«éå®ãã¦ä»ã®ç¥èãç¡è¦ããã¨äºäººã¯{P1, P2}ã¨Ïã«ãªãããããªãåè ã®æ¹ãåªãã¦ãããããããéã«å¶æ¥ã«é¢ä¿ãªããã®ãç¡è¦ããã¨äºäººã¯Ï, {E1, E2}ã¨ãªã£ã¦ãä»åº¦ã¯å¾è ã®æ¹ãåªãã¦ããã¨ãããã¨ã«ãªããæ¥å¸¸ä¼è©±ã§äººã®åªå£ãèªãå ´åãæé»ã®ãã¡ã«ã¸ã£ã³ã«ãä½ãã«éå®ãã¦ãããåªå£ã¯ããã¾ã§ãã®ã¸ã£ã³ã«ã¨ã©ããããããããã¦ãããã表ãå¤ã«ããããã¸ã£ã³ã«ã®é¸ã³æ¹ã«ãã£ã¦å¤§ããå½±é¿ãããã