<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aike</author_name>
  <author_url>https://blog.hatena.ne.jp/aike/</author_url>
  <blog_title>aike’s blog</blog_title>
  <blog_url>https://aike.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>最近、PageRankを計算するPHPソースコードを公開している人がいたので、Rubyで書き直してみました。 PHPからRubyへは移植というよりほとんど写経のような感じでそのままポーティングできます。pagerank.rb #!/usr/bin/ruby # original PHP source http://phpir.com/pagerank-in-php def calculatePageRank(linkGraph, dampingFactor = 0.15) pageRank = Hash.new tempRank = Hash.new nodeCount = linkGraph…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faike.hatenablog.com%2Fentry%2F20091223&quot; title=&quot;Rubyでもっとも重要なライブラリは何か？PageRankで計算してみた - aike’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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/aike/20091223/20091223164342.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-12-23 00:00:00</published>
  <title>Rubyでもっとも重要なライブラリは何か？PageRankで計算してみた</title>
  <type>rich</type>
  <url>https://aike.hatenablog.com/entry/20091223</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
