<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>LS3600</author_name>
  <author_url>https://blog.hatena.ne.jp/LS3600/</author_url>
  <blog_title>Bonanzaソース完全解析ブログ</blog_title>
  <blog_url>https://ls3600.hatenadiary.org/</blog_url>
  <categories>
  </categories>
  <description>■ 将棋プログラムに何故coroutineが必要なのか Bonanzaの3手詰めルーチンや静止探索ではcoroutineが使われている。coroutineについて理解していないとこれらの処理はとても読みがたく、理解できない。 今回は、将棋プログラムに何故coroutineが必要なのかについて考えてみたい。 ■ 将棋プログラムを遅延処理(lazy evaluation)という観点で捉える 探索はいい手が見つかるとそこで打ち切られる。打ち切りというより、以前の分岐場所まで巻き戻す(unwind)というほうが近いかも知れない。 つまり、 ・すべての指し手を生成しても、それらをすべて使わないかも知れな…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fls3600.hatenadiary.org%2Fentry%2F20091120&quot; title=&quot;将棋プログラムに何故coroutineが必要なのか - Bonanzaソース完全解析ブログ&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>2009-11-20 00:00:00</published>
  <title>将棋プログラムに何故coroutineが必要なのか</title>
  <type>rich</type>
  <url>https://ls3600.hatenadiary.org/entry/20091120</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
