<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>faith_and_brave</author_name>
  <author_url>https://blog.hatena.ne.jp/faith_and_brave/</author_url>
  <blog_title>Faith and Brave - C++で遊ぼう</blog_title>
  <blog_url>https://faithandbrave.hateblo.jp/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>Boost.Randomのジェネレータでシードの再設定をするには、ジェネレータのseed()メンバ関数を使用します。 この関数は、ジェネレータのコンセプトとして規定されているので、Boost.Randomの全てのジェネレータで同じように使用できます。 以下は、メルセンヌ・ツイスターの例： #include &lt;iostream&gt; #include &lt;boost/random.hpp&gt; int main() { std::size_t seed = 0; boost::random::mt19937 gen(seed); for (int i = 0; i &lt; 3; ++i) { std::cou…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ffaithandbrave.hateblo.jp%2Fentry%2F20121031%2F1351667223&quot; title=&quot; Boost.Random シードの再設定 - Faith and Brave - C++で遊ぼう&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>2012-10-31 16:07:03</published>
  <title> Boost.Random シードの再設定</title>
  <type>rich</type>
  <url>https://faithandbrave.hateblo.jp/entry/20121031/1351667223</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
