<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>podhmo</author_name>
  <author_url>https://blog.hatena.ne.jp/podhmo/</author_url>
  <blog_title>podhmoの日記</blog_title>
  <blog_url>https://podhmo.hatenadiary.org/</blog_url>
  <categories>
    <anon>python</anon>
  </categories>
  <description>やりたいこと A -B -&gt; C -D -&gt; Eというような依存関係がある時、依存関係の解決したものから順に利用したい。上の例だと例えばこんな感じ。 C , B , E , D , ADAG -&gt; トポロジカルソート -&gt; 反転と同じような感じ。たぶん、探せば絶対あるけど、とりあえず必要なので作ってみる。 node.py node_serializer.py node.pyは依存関係の木を作るためのもの。 node_serializerはそれを上のような順序で取り出すためのもの。 node.py # -*- coding: utf-8 -*- import sys class Node(obj…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpodhmo.hatenadiary.org%2Fentry%2F20110608%2F1307545827&quot; title=&quot;依存関係のあるものを順に並べる。 - podhmoの日記&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-06-08 00:10:27</published>
  <title>依存関係のあるものを順に並べる。</title>
  <type>rich</type>
  <url>https://podhmo.hatenadiary.org/entry/20110608/1307545827</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
