<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bonotake</author_name>
  <author_url>https://blog.hatena.ne.jp/bonotake/</author_url>
  <blog_title>bonotakeの日記</blog_title>
  <blog_url>https://bonotake.hatenablog.com/</blog_url>
  <categories>
    <anon>雑記</anon>
  </categories>
  <description>http://d.hatena.ne.jp/m-hiyama/20060701/1151716681より。任意のネットワークで考えるのは面倒なので、リストでやってみました。つまり、N人の人が一列に並んでいて、隣同士の人だけ「知っている」ような、元の問題のサブセット。 初期値のリストを与えると、その先頭から順に「富の再配分」をしていきます。 それを100回繰り返した結果をCSV形式で吐き出す、そんなHaskellのコード。きれいじゃないけど。 import Char import System times = 100 share :: [Float] -&gt; [Float] share [] = …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbonotake.hatenablog.com%2Fentry%2F20060701%2F1151727665&quot; title=&quot;富の再配分 - bonotakeの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2006-07-01 13:21:05</published>
  <title>富の再配分</title>
  <type>rich</type>
  <url>https://bonotake.hatenablog.com/entry/20060701/1151727665</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
