<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>m-hiyama-memo</author_name>
  <author_url>https://blog.hatena.ne.jp/m-hiyama-memo/</author_url>
  <blog_title>(保存用) 檜山正幸のキマイラ飼育記 メモ編</blog_title>
  <blog_url>https://m-hiyama-memo.hatenablog.jp/</blog_url>
  <categories>
    <anon>Caty</anon>
    <anon>形式言語理論</anon>
    <anon>型検査</anon>
  </categories>
  <description>再帰的データ型の包含性の判定、わかった - 檜山正幸のキマイラ飼育記 メモ編 の「すべてのノードをくまなくチェックしたことの確認が難しい。」というハナシ。これも大丈夫だろう。とりあえず、練習問題としてサイクルがあるツリー（言葉は変だが）のノード列挙問題を考えるとよい。一番アホだが一番確実なのは、訪れたノードを全部記録しておくこと。「一度訪れたノードは二度行かない」という制限付きで、深さ優先再帰的トラバースはできる。「過去は全部記録方式」のトラバースを、参照（部分構造の共有）がある場合に拡張する。参照先への“ハイパージャンプ”があるが、ハイパージャンプの履歴も記録して“戻るボタン”を有効にする。…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fm-hiyama-memo.hatenablog.jp%2Fentry%2F20110516%2F1305503157&quot; title=&quot;サイクルがあるとき、確実な列挙方法 - (保存用) 檜山正幸のキマイラ飼育記 メモ編&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>2011-05-16 08:45:57</published>
  <title>サイクルがあるとき、確実な列挙方法</title>
  <type>rich</type>
  <url>https://m-hiyama-memo.hatenablog.jp/entry/20110516/1305503157</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
