<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>YukiMoto</author_name>
  <author_url>https://blog.hatena.ne.jp/YukiMoto/</author_url>
  <blog_title>文系プログラマーのプログラミング備忘録</blog_title>
  <blog_url>https://jpliterature.hatenablog.com/</blog_url>
  <categories>
    <anon>アルゴリズム</anon>
    <anon>アルゴリズム-幅優先探索</anon>
  </categories>
  <description>Java で幅優先探索をおこなうには、Queue というデータ構造を使います。 ja.wikipedia.org キューは先入れ先出し、すなわち、先に入れられたデータから順に取り出されるデータ構造です。 ところてん式といったほうがわかりやすいかもしれませんね。 では、このキューを使って実際に問題を解いてみます。今回解くのは以下の問題です。 atcoder.jp コードを載せるに先立って、今回のコードの中で使っているクラスや変数などを紹介します。 Pointクラス class Point{ private int x; private int y; Point(int a, int b) {x=…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjpliterature.hatenablog.com%2Fentry%2Fjava-breadth-first-search-1&quot; title=&quot;Javaで迷路を幅優先探索（ゴールまでの歩数を求める） - 文系プログラマーのプログラミング備忘録&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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-03-04 15:36:30</published>
  <title>Javaで迷路を幅優先探索（ゴールまでの歩数を求める）</title>
  <type>rich</type>
  <url>https://jpliterature.hatenablog.com/entry/java-breadth-first-search-1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
