開発環境
- OS X Lion - Apple(OS)
- Emacs、BBEdit - Bare Bones Software, Inc. (Text Editor)
- Scheme (プログラミング言語)
- MIT/GNU Scheme (処理系)
計算機プログラムの構造と解釈(Gerald Jay Sussman(原著)、Julie Sussman(原著)、Harold Abelson(原著)、和田 英一(翻訳)、ピアソンエデュケーション、原書: Structure and Interpretation of Computer Programs (MIT Electrical Engineering and Computer Science)(SICP))の4(超言語的抽象)、4.4(論理型プログラミング)、4.4.1(推論的情報検索)、データベースの例、単純質問、合成質問、問題 4.56を解いてみる。
その他参考書籍
問題 4.56
;; a (and (supervisor ?name (Bitdiddle Ben)) (address ?name ?where)) ;; b (and (salary ?name ?amount1) (salary (Bitdiddle Ben) ?amount2) (list-value < ?amount1 ?amount2)) ;; c (and (supervisor ?name1 ?name2) (not (job ?name2 (computer . ?type))) (job ?name2 ?x))
質問システムの実装はまだ(この先に実装もあるみたい)なので、実装できたら入出力結果を確認してみることに。
0 コメント:
コメントを投稿