Ž±¸ µÈ °Í

Bio-Inspired Àü»ê ÀÎÅÚ¸®Àü½º ¾Ë°í¸®ÁòÀ» ÆÄÀ̽㿡¼­ »ý¼ºÇϱâÀ§ÇÑ ÇÁ·¹ÀÓ ¿öÅ©
Áö±Ý ´Ù¿î·Îµå

Ž±¸ µÈ °Í ¼øÀ§ ¹× ¿ä¾à

±¤°í

  • Rating:
  • ƯÇã:
  • GPL v3
  • °¡°Ý:
  • FREE
  • °Ô½ÃÀÚ À̸§:
  • Aaron Garrett
  • °Ô½ÃÀÚ À¥»çÀÌÆ®:
  • http://code.google.com/u/aaron.lee.garrett/

Ž±¸ µÈ °Í ű×


Ž±¸ µÈ °Í ¼³¸í

InspyRed´Â ÁøÈ­·Ð Àû °è»ê, ¶¼ Áö´É ¹× ¸é¿ª ¼÷¹ÚÀ» Æ÷ÇÔÇÏ¿© ÆÄÀ̽㿡¼­ »ý¹°ÇÐÀûÀ¸·Î ¿µ°¨À» ¾òÀº °è»ê Á¤º¸ ¾Ë°í¸®ÁòÀ» ¸¸µé±âÀ§ÇÑ ¹«·á ¹× ¿ÀÇ ¼Ò½º ÆÄÀ̽ã ÇÁ·¹ÀÓ ¿öÅ©ÀÔ´Ï´Ù. ¶ÇÇÑ inspyRed´Â ¸¹Àº »ç¿ëÀÚ Á¤ÀÇ°¡ ÇÊ¿ä¾ø´Â »ç¿ëÀÚ¸¦ À§ÇØ ¸¹Àº Bio-Inspired ¾Ë°í¸®ÁòÀÇ »ç¿ëÇϱ⠽¬¿î Á¤½Ä ¹öÀüÀ» Á¦°øÇÕ´Ï´Ù. exampleThe ´ÙÀ½ ¿¹Á¦´Â ECSPY ÆÐÅ°ÁöÀÇ ±âº» »çÇ×À» º¸¿©ÁÝ´Ï´Ù. ÀÌ ¿¹Á¦¿¡¼­´Â ¼ö½ÅÀÚ ¼Ö·ç¼ÇÀÌ 10 Áø¼ö °ªÀ» ÃÖ´ëÈ­ ÇؾßÇÏ´Â 10 ºñÆ® ¹ÙÀ̳ʸ® ¹®ÀÚ¿­ÀÔ´Ï´Ù. randomport timeimport infardimport timeimport informy_binary (random, args) : bits = args.get ( 'num_bits', 8) ¹üÀ§ÀÇ ¹üÀ§ (ºñÆ®)] @ inspyred.ec.evaluators.evaluatordef evaluate_binary (Èĺ¸ÀÚ, args) : int ( "") int ( "")), Èĺ¸ÀÚÀÇ C¿¡ ´ëÇÑ C), 2) rand = random.random () rand.seed (time.time (time.time (time.time ())) ga = inspyred.ec.ga (rand) ga.observer = inspyred.ec.observers.stats_observerga.terminator = inspyred.ec.terminators.evaluation_terminationfinator_pop = Ga.evolve (evaluator = evaluate_binary, generator = generate_binary, max_evaluation_binary, max_evaluations_binary, num_evaluations = 1, pop_size = 100, num_bits = 10) final_pop.ct (reverse = true) final_pop : print (str (ind)) Á¦Ç°ÀÇ È¨ÆäÀÌÁö


Ž±¸ µÈ °Í °ü·Ã ¼ÒÇÁÆ®¿þ¾î