東京大学 情報理工学系研究科 創造情報学専攻 2013年8月実施 筆記試験 第4問
Author
itsuitsuki, 祭音Myyura
Description
日本語
以下に示す情報システムに関する8項目から4項目を選択し、各項目を4~8行程度で説明せよ。必要に応じて例や図を用いてよい。
- tf-idf
- ZMP (Zero Moment Point)
- 分散ハッシュ
- 最短経路問題
- ベイジアンネットワーク
- キャリー・ルック・アヘッド
- クロージャ(閉包)
- 有限オートマトン
English
Select four items out of the following eight items concerning information systems, and explain each item in approximately 4~8 lines of text. If necessary, use examples or figures.
- tf-idf
- ZMP (Zero Moment Point)
- Distributed hash
- Shortest path problem
- Bayesian network
- Carry look-ahead
- Closure
- Finite automaton
题目描述
从下列八个信息系统相关主题中任选四个,每个用约 4~8 行说明;必要时可使用示例或图。
- tf-idf。
- ZMP(零力矩点)。
- 分布式哈希。
- 最短路径问题。
- 贝叶斯网络。
- 超前进位。
- 闭包(closure)。
- 有限自动机。
Kai
Shortest path problem
For a weighted graph with edge weight , the shortest-path problem asks for a path with minimum cost, where the cost is the sum of the weights of all edges composing the path. For a single-source problem, we constrain . For a single-pair problem, we also constrain .
Bellman--Ford (and its queue-based implementation commonly called SPFA) tackles single-source shortest paths with negative edges and can detect a reachable negative cycle; Dijkstra's algorithm does the same faster when all edge weights are nonnegative, but cannot handle negative edges or detect negative cycles; Floyd--Warshall computes shortest paths from every vertex to every vertex in cubic time, provided no negative cycle makes a distance undefined.
Carry look-ahead
Carry look-ahead is a method for adding two -bit binary numbers in parallel. For every bit place, the carry includes two stages: Generate and Propagate. For bit , define carry generation and carry propagation , where Boolean OR is and AND is juxtaposition. Then
The output carry is thus the generated carry or a propagated input carry. Carry look-ahead expands this recursive equation inline for each carry output. By this we can directly compute the carries from , , and instead of passing them through many full adders, in parallel with the circuit getting the sums.
Closure
A closure is a function together with the lexical environment containing its free variables. The captured variables remain accessible after the creating scope returns. For example, a function returning lambda: count can retain its own private count state.
Finite automaton
A DFA is a tuple with finite state set , transition function , initial state , and accepting states . It accepts a word exactly when the state reached after reading the whole word lies in . DFAs recognize precisely the regular languages.