<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inamori</author_name>
  <author_url>https://blog.hatena.ne.jp/inamori/</author_url>
  <blog_title>inamori’s diary</blog_title>
  <blog_url>https://inamori.hateblo.jp/</blog_url>
  <categories>
    <anon>グラフ</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>m点でn辺のグラフが連結である確率を疑似乱数を使って計算している。 今回は、PythonからC++に移植して少し工夫した。すると、速度が100倍になった。そこで、繰り返し回数を10万回にして、m=3200を追加した。疑似乱数が少し気になるが、この問題ではあまり気を使わなくていいだろう。そして、連結である確率が0.5,0.9,0.99,0.999を通過するn/mをプロットした。かなりよく並ぶ。それぞれの近似式は、 p = 0.5 n = m(0.52522log(m) + 0.000266) p = 0.9 n = m(0.56929log(m) + 0.627942) p = 0.99 n =…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finamori.hateblo.jp%2Fentry%2F20090410%2Fp1&quot; title=&quot;グラフが連結である確率（8） - inamori’s diary&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>https://cdn-ak.f.st-hatena.com/images/fotolife/i/inamori/20090410/20090410134421.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-04-10 00:00:01</published>
  <title>グラフが連結である確率（8）</title>
  <type>rich</type>
  <url>https://inamori.hateblo.jp/entry/20090410/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
