U E D R , A S I H C RSS

데블스캠프2010/Prolog



1. SWI-Prolog & Editor

2. -

man(cronus).
woman(rhea).
is_married_to(cronus, rhea).

is_son_of(hades, cronus).
is_son_of(poseidon, cronus).
is_son_of(zeus, cronus).
is_daughter_of(hestia, cronus).
is_daughter_of(hera, cronus).
is_daughter_of(demeter, cronus).

is_parent_of(Y, X) :- is_son_of(X, Y); is_daughter_of(X, Y).

3.

has_played(peter, titanic).
has_played(peter, hulk).
has_played(donald, titanic).
has_played(willy, matrix).
has_played(susan, titanic).
has_played(susan, matrix).
has_played(jane, highnoon).

4.


A~E 5 .
5 , , .
  • B A .
  • E A .
  • C D .
A ?

5.

... .

.

1. 5 .
2. .
3. , , .
4. , .

15 , ?

1. .
2. .
3. .
4. .
5. .
6.펠(Pall Mall) .
7. 힐(Dunhill) .
8.한 .
9. .
10.(Blend) .
11. 힐(Dunhill) .
12. (Blue Master) .
13. (Prince) .
14. .
15.(Blend) .
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:10
Processing time 0.0368 sec