<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>JunKobayashi</author_name>
  <author_url>https://blog.hatena.ne.jp/JunKobayashi/</author_url>
  <blog_title>JunKobayashi's Diary</blog_title>
  <blog_url>https://junkobayashi.hatenablog.com/</blog_url>
  <categories>
    <anon>貪欲法</anon>
    <anon>正当性証明</anon>
  </categories>
  <description>「区間スケジューリング問題の中でも最も原始的なものに対する貪欲法が正当であることの証明」という今更感が濃厚な内容ではあるが、最近までよく理解できていなかったということで記載する。 ＜問題設定＞ \(N\)個のタスクがあり、それぞれに対して\(1,2, \dotsc, N\)と番号が与えられている。タスク\(i\)に取り組むことにすると、時刻が半開区間\([L[i],R[i])\)に属す限りタスク\(i\)に専念し続けねばならず、他のタスクに取り掛かるのは不可能であるとする（ただし、任意のタスク\(i\)について\(L[i] \lt R[i]\)が成り立つ）。それぞれのタスクに対して「やる」「や…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjunkobayashi.hatenablog.com%2Fentry%2F2025%2F11%2F27%2F132321&quot; title=&quot;区間スケジューリング問題に対する貪欲方針の正当性証明 - JunKobayashi&amp;#39;s Diary&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>2025-11-27 13:23:21</published>
  <title>区間スケジューリング問題に対する貪欲方針の正当性証明</title>
  <type>rich</type>
  <url>https://junkobayashi.hatenablog.com/entry/2025/11/27/132321</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
