Game Development Reference
In-Depth Information
TABLE 5.2 Examples for making an eating decision a
Example
Attributes
Eat?
Hungry
Food
Taste
1
Ye s
Rock
0
No
2
Ye s
Grass
0
Ye s
3
Ye s
Tree
2
Ye s
4
Ye s
Cow
2
Ye s
5
No
Cow
2
Ye s
6
No
Grass
2
Ye s
7
No
Rock
1
No
8
No
Tree
0
No
9
Ye s
Tree
0
Ye s
10
Ye s
Grass
1
Ye s
a Values for the attribute taste are 0 for awful, 1 for ok, and 2 for tasty.
TABLE 5.3 Attribute influence over the final eat decision
Attribute
Eat = yes
Eat = no
Total
influences
Hungry
Ye s
5
1
No
2
2
Total exclusive 0s
0
0
0
Food
Rock
0
2
Grass
3
0
Tree
2
1
Cow
2
0
Total exclusive 0s
1
2
3
Taste
0
2
2
1
1
1
2
4
0
Total exclusive 0s
0
1
1
 
Search Nedrilad ::




Custom Search