A: With the following statements, please use the corresponding predicate formula to express them separately.
(1) Some people like plum blossom, some people like Chrysanthemum, some people both like plum blossom and like chrysanthemum.
Solution: Predicate definition
P (x): X is Human
L (x, y): x likes y
Where Y's individual domain is {plum, chrysanthemum}.
The knowledge is represented by a predicate as:
(∃x) (P (x) →l (x, Plum) ∨l (x, Chrysanthemum) ∨l (x, Plum) ∧l (x, Chrysanthemum))
(2) Some people go to play basketball every afternoon.
Solution: Defining predicates
P (x): X is Human
B (x): X Play Basketball
A (Y): Y is afternoon
The knowledge is represented by a predicate as:
(∃x) (∀y) (A (Y) →b (x) ∧p (x))
(3) The new type of computer is fast and the storage capacity is large.
Solution: Defining predicates
NC (x): X is a new type of computer
F (x): Fast x speed
B (x): Large x capacity
The knowledge is represented by a predicate as:
(∀x) (NC (x) →f (x) ∧b (x))
(4) Not every computer department student likes the computer creates Macintosh program. Solution: Defining predicates
S (x): X is a student of computer science
L (x,pragramming): x likes programming
U (X,computer): x use computer
The knowledge is represented by a predicate as:
¬ (∀x) (S (x) →l (x,pragramming) ∧u (X,computer))
(5) Anyone who likes to program is fond of computers.
Solution: Defining predicates
P (x): X is Human
L (x, y): x likes y
The knowledge is represented by a predicate as:
(∀x) (P (x) ∧l (x,pragramming) →l (X,computer))
Two: Using predicate notation to denote farmers, wolves, goats, cabbage problems.
The farmer, the wolf, the goat, the cabbage all on the left bank of a river, now to send them to the right bank of the river, the farmer has a boat, when the river, in addition to the farmer can carry wolf, goat, cabbage of one kind. The Wolf eats the sheep, the goat eats the cabbage, unless the farmer is there. Planning a plan to make sure you're safe across the river. Please write out the definition of the predicate used, and give the function and individual domain of each predicate.
Solution: (1) A predicate defining a description state is defined as follows:
AL (x): X is on the left bank where X's individual domain is a farmer, ship, wolf, goat, cabbage, corresponding to the ¬al (x) indicated on the right bank.
Initial state of the problem: Al (Farmer), AL (ship), AL (Wolf), Al (Goat), AL (cabbage).
The target state of the problem: ¬al (farmer), ¬al (ship), ¬al (Wolf), ¬al (goat), ¬al (cabbage).
(2) The predicate describing the operation is defined as follows:
L-r: The farmer himself rowed from the left bank to the right bank,
L-r (x): Farmer with X rowing from the left bank to the right bank,
R-l: The farmer himself rowed from the right bank to the left bank,
R-l (x): Farmers take x boating from the right bank to the left bank.
where X's individual domain is {wolf, goat, cabbage}
(3) Problem solving process
Three: Write out their semantic networks for the following propositions.
(1) Each student has a computer.
(2) High teacher from March to July to the computer department students to talk about the "computer network" class.
(3) The students of the workshop were male, female, graduate students and undergraduates.
(4) The innovation Company at 56th Hoi An avenue, Liu Yang is the company's manager, he is 32 years old, Master's degree.
(5) The red team played football with the Blue team and the final 3:2 ended.
Four: Please express the following proposition with a semantic network.
(1) Trees and grasses are plants.
(2) Both the tree and the grass have leaves and roots.
(3) Weeds are grass and live in water
(4) fruit trees are trees and will result.
(5) Pear tree is a kind of fruit tree, it will knot pear.
All together:
13 The second operation of the 136201010472 Ma Shun