<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>E_Mattsan</author_name>
  <author_url>https://blog.hatena.ne.jp/E_Mattsan/</author_url>
  <blog_title>エンジニアのソフトウェア的愛情</blog_title>
  <blog_url>https://blog.emattsan.org/</blog_url>
  <categories>
    <anon>Prolog</anon>
  </categories>
  <description>相変わらず「どう書く」から。 今回は第3回の参考問題と本題から。 オフラインリアルタイムどう書く第三回の参考問題 / ボールカウント(野球) Y字路巡り 〜 横へな 2012.9.7 Prologで書くステートマシン 野球のボールカウントは、現在の状態があって、入力がはいると次の状態に変化する、ということなのでステートマシンとしてあらわすことができると直感的にはわかると思います。今回、Prologで試行錯誤しているうちに、次のようなパタンでステートマシンをあらわすことができることがわかってきました。 rule(入力列, 出力列) :- rule(入力列, 初期状態, 出力列). rule([]…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.emattsan.org%2Fentry%2F20121103%2F1351902558&quot; title=&quot;Prologとステートマシン - エンジニアのソフトウェア的愛情&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-11-03 09:29:18</published>
  <title>Prologとステートマシン</title>
  <type>rich</type>
  <url>https://blog.emattsan.org/entry/20121103/1351902558</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
