21017155

UEC passport / UEC Communications ScienceUEC028z 

1年, 2年, 3年, 4年前学期集中

学域特別講義A(アルゴリズムの基礎) (Fundamentals of Algorithms)

Special Lecture on Informatics and Engineering A (Fundamentals of Algorithms)

小林 聡

単位区分

単位数: 1単位
必修
課程・類・プログラム
種別
先端工学基礎課程

関連Webサイト

Google classroom を利用します。クラスコード: gczdfntq

主題および達成目標

本講義の目的は、いくつかの基礎的な問題に対する効率の良いアルゴリズムの設計方法を与えることである。達成目標は、
(1) 講義で議論するアルゴリズムの振る舞い、正当性、時間計算量を理解できること、および
(2) 動的計画法や貪欲算法などのアルゴリズムの設計手法を理解できること
である。

The purpose of this lecture is to provide the theory and technique to design
efficient algorithms for some fundamental problems.
The goals of the students are to achieve the following points:
(1) to understand the behavior, correctness, and time complexity analysis
of the algorithms discussed in the lecture,
(2) to understand the principles of design methodologies of algorithms, such as
dynamic programming, greedy method, etc.

前もって履修しておくべき科目

C言語のプログラミングに関する科目、および、アルゴリズムの基礎的なデータ構造(リスト、二文木、ヒープ、など)と基礎アルゴリズム(ソートアルゴリズムなど)を理解できていること。
Registered students should have ability to write C programs. Furthermore,
the knowledge about some basic data structures (list, binary tree, heap, etc.) and
basic algorithms (sorting, etc.) are required.

前もって履修しておくことが望ましい科目

文脈自由文法に関する知識
Some knowledge about context-free grammars

教科書等

Google classroom で資料を配布する。
Some handouts are provided at the google classroom.

授業内容とその進め方

(a) 授業の内容
[1] 最小全域木と貪欲算法
[2] Prim のアルゴリズムと Kruskal のアルゴリズムの正当性
[3] 他の問題に対する貪欲算法
[4] 最短経路問題と動的計画法
[5] 動的計画法(1)―DFAの正則表現への変換
[6] 動的計画法(2)―文脈自由文法とその認識問題
[7] 動的計画法(3)―文脈自由文法の認識問題に対するCKYアルゴリズム
[8] 動的計画法(4)―近似文字列照合アルゴリズム

(b) 授業の進め方
各問題に対して背景などを説明した後、アルゴリズムを与える。
アルゴリズムの正当性と時間計算量の解析は詳細に行う。
理解を深めるために実行例も与える。

すべて講義について、講義ビデオを事前に与える。授業時間は
講義ビデオの内容に関する質問を受け付けるために用いる。

(a) Contents of the lecture

[1] Minimum spanning tree problem and greedy algorithms
[2] Correctness of Prim's and Kruskal's algorithm
[3] Greedy algorithms for other problems
[4] Shortest path problem and Dynamic Programming (DP)
[5] DP Method (1) --- Transform DFAs to regular expressions
[6] DP Method (2) --- Context-free grammar and its recognition problem
[7] DP Method (3) --- CYK algorithm for CFG recognition
[8] DP Method (4) --- Approximate string matching algorithms

(b) How does this lecture proceed?

For each problem, we first discuss on its background and motivation, and then
give an algorithm for the problem. The correctness and time complexity
analysis of the given algorithm will be discussed in details.
Example runs will be used to enrich the understanding.

Every lecture is given as a lecture video beforehand.
At the lecture time, students can ask questions.

授業時間外の学習

学生は、講義の内容に関連した問題をオンラインで解くことが要求される。
Students should solve some problems online related to lecture topics.

成績評価方法および評価基準

成績は、与えた問題に対する評価で決まる。最低基準は、60%以上
正解することである。
Academic performance is evaluated by giving problems online.
The lowest standard is 60%.

オフィスアワー・授業相談

学生からの電子メールによる質問を受け付ける。
しかしながら、講義開始前に講義ビデオをすべて与えるので、講義時間に
できるだけ質問してほしい。講義時間は、学生への質問に答えるために
利用する。

Students may ask questions by e-mails.
Since all the lecture videos are provided before starting the lecture, please ask
questions at the lecture time as far as possible. Each lecture time is used for
answering questions of the students.

学生へのメッセージ

なし
None

その

なし
None

キーワード

Dynamic programming
context free grammars
etc
greedy algorithms
最終変更日時: 2026/03/10 23:52:42