{"id":267,"date":"2007-07-08T12:52:45","date_gmt":"2007-07-08T16:52:45","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/jreyes\/2007\/07\/08\/genetics-by-the-poolside\/"},"modified":"2007-08-03T17:20:34","modified_gmt":"2007-08-03T21:20:34","slug":"genetics-by-the-poolside","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/jreyes\/2007\/07\/08\/genetics-by-the-poolside\/","title":{"rendered":"Genetics by the Poolside"},"content":{"rendered":"<p>\nHappy Independence Day! To celebrate our nation&#8217;s founding, my family and I often hit up the Cape. This year was no exception, there&#8217;s little to report. The weather has been spotty: a little rain here, a few showers there, but nothing substantial. Someone was playing bagpipes the other night. And I witnessed a gruesome car accident a few feet from my balcony during the fireworks spectacular. A mass of people immediately sprang up to help the man, direct traffic, and call 911 repeatedly until emergency vehicles could make their way here. I was genuinely impressed by the response, professional and make-shift alike. Within seconds the response team had the guy off to the hospital in no time flat. I think it prudent not to speculate on the cyclist&#8217;s health. I don&#8217;t want to jinx anything, you know.\n<\/p>\n<p>\nAnd since it&#8217;s vacation time, I&#8217;m here, at the kitchen table, on my laptop, implementing genetic algorithms. Maybe later I&#8217;ll describe what I did. Maybe if I do, someone will be able to tell me if my results make any sense. Whether or not my programs reproduce the classical results isn&#8217;t really the point, though. Look at the evolution of strategies for playing the <a href=\"http:\/\/www.dougsimpson.com\/blog\/archives\/000248.html\">iterated prisoner&#8217;s dilemma<\/a>: they make perfect modern art tile mosaics! I bet someone&#8217;d love to have this pattern on their pool floor or garden wall. (Don&#8217;t be alarmed that they don&#8217;t appear all that related. Each row in black represents the fittest individual from one of a number of independent runs. That is, they probably never had the chance to meet each other.) Imagine the graphic tastefully obscured by flowering vines. (<a href=\"http:\/\/blogs.law.harvard.edu\/jreyes\/files\/2007\/07\/pd-ga.png\" rel=\"lightbox\">Click on it for a larger image.<\/a>)\n<\/p>\n<p>\n<a href=\"http:\/\/blogs.law.harvard.edu\/jreyes\/files\/2007\/07\/pd-ga.png\" rel=\"lightbox\" title=\"Several runs of the Iterated Prisoner's Dilemma using a dynamic fitness landscape and a genetic algorithm.\"><img decoding=\"async\" src=\"http:\/\/blogs.law.harvard.edu\/jreyes\/files\/2007\/07\/pd-ga-thumbnail.png\"><\/a>\n<\/p>\n<p>\nI can see an upside-down raccoon in it. What can you find?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Happy Independence Day! To celebrate our nation&#8217;s founding, my family and I often hit up the Cape. This year was no exception, there&#8217;s little to report. The weather has been spotty: a little rain here, a few showers there, but &hellip; <a href=\"https:\/\/archive.blogs.harvard.edu\/jreyes\/2007\/07\/08\/genetics-by-the-poolside\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":102,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[380,114,142,146],"tags":[],"class_list":["post-267","post","type-post","status-publish","format-standard","hentry","category-computer-science","category-personal","category-technology","category-travel"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/jreyes\/wp-json\/wp\/v2\/posts\/267","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/jreyes\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/jreyes\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/jreyes\/wp-json\/wp\/v2\/users\/102"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/jreyes\/wp-json\/wp\/v2\/comments?post=267"}],"version-history":[{"count":0,"href":"https:\/\/archive.blogs.harvard.edu\/jreyes\/wp-json\/wp\/v2\/posts\/267\/revisions"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/jreyes\/wp-json\/wp\/v2\/media?parent=267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/jreyes\/wp-json\/wp\/v2\/categories?post=267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/jreyes\/wp-json\/wp\/v2\/tags?post=267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}