<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sonota88</author_name>
  <author_url>https://blog.hatena.ne.jp/sonota88/</author_url>
  <blog_title>memo486</blog_title>
  <blog_url>https://memo88.hatenablog.com/</blog_url>
  <categories>
    <anon>kairo-gokko</anon>
  </categories>
  <description>目次ページに戻る / 前 / 次 前回はエッジ1本と複数のスイッチのケースまで対応しました。 今回はもう少し複雑なパターンとして、途中で分岐してスイッチが並列になっている回路の通電判定を考えます。 「並列つなぎ」というやつですね。 小学校の理科でやるレベルのものですから、さすがにこのくらいはなんとかしたい。 少し整理して、エッジとスイッチに e1〜e4, s1, s2 と名前を付けました。 まずは「このパターンになっているか？」を調べて、 次に通電判定を行う、という方針で進めましょう。 (1) パターンの認識 前回とはエッジの本数が違いますので、まずはそれで分岐させましょうか。 class C…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo88.hatenablog.com%2Fentry%2F2020%2F03%2F01%2F080739&quot; title=&quot;kairo-gokko (14) 通電 4 - memo486&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/s/sonota88/20200301/20200301041056.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-03-01 08:07:39</published>
  <title>kairo-gokko (14) 通電 4</title>
  <type>rich</type>
  <url>https://memo88.hatenablog.com/entry/2020/03/01/080739</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
