<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>syou6162</author_name>
  <author_url>https://blog.hatena.ne.jp/syou6162/</author_url>
  <blog_title>yasuhisa's blog</blog_title>
  <blog_url>https://www.yasuhisay.info/</blog_url>
  <categories>
    <anon>アルゴリズム</anon>
    <anon>グラフ理論</anon>
    <anon>Ruby</anon>
  </categories>
  <description>index グラフの勉強だけじゃなくてRubyの勉強にもなりそうなソースだなーと思ったので、メモしておく。ファイルは2つとなっていて把握しやすい。 graph.rb graph_algorithm.rb graph.rb module Graphとclass DirectedHashGraph、DirectedHashGraphを拡張したclass UndirectedHashGraphからなっている each_vertexメソッドは、グラフの各頂点に対して操作を繰り返す どういう操作かは自分でブロックを渡せる 定義はこんな感じになっている。 def each_vertex(&amp;block) f…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yasuhisay.info%2Fentry%2F20090509%2F1241850315&quot; title=&quot;グラフを扱うためのライブラリを覗いてみる - yasuhisa&amp;#39;s blog&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-05-09 15:25:15</published>
  <title>グラフを扱うためのライブラリを覗いてみる</title>
  <type>rich</type>
  <url>https://www.yasuhisay.info/entry/20090509/1241850315</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
