<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zehnpaard</author_name>
  <author_url>https://blog.hatena.ne.jp/zehnpaard/</author_url>
  <blog_title>Arantium Maestum</blog_title>
  <blog_url>https://zehnpaard.hatenablog.com/</blog_url>
  <categories>
    <anon>Clojure</anon>
  </categories>
  <description>これも「関数型オブジェクト指向AIプログラミング」から。 宣教師と食人鬼に続き、同じような川渡りロジック問題の農夫と狼とヤギとキャベツを解いてみる。 前回のコードをほぼ流用。元の本では差分プログラミング的にWolfGoatCabbageクラスをMissionariesAndCannibalsクラスを継承して作っているが、さすがにそんなことはしない。 データ構造もほぼ同じで、以下のようになる： [{:farmer 1 :wolf 1 :goat 1 :cabbage 1} {:farmer 0 :wolf 0 :goat 0 :cabbage 0} :left] 左岸、右岸、ボートの位置。 それ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzehnpaard.hatenablog.com%2Fentry%2F2016%2F05%2F30%2F053752&quot; title=&quot;Clojureで農夫と狼とヤギとキャベツ問題 - Arantium Maestum&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>2016-05-30 05:37:52</published>
  <title>Clojureで農夫と狼とヤギとキャベツ問題</title>
  <type>rich</type>
  <url>https://zehnpaard.hatenablog.com/entry/2016/05/30/053752</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
