←
Artificial Intelligence
Slots As Objects
Slots as Objects: How can we to represent the following properties in frames?
- Attributes such as weight, age be attached and make sense.
- Constraints on values such as age being less than a hundred
- Default values
- Rules for inheritance of values such as children inheriting parent's names
- Rules for computing values
- Many values for a slot.
A slot is a relation that maps from its domain of classes to its range of values. A relation is a set of ordered pairs so one relation is a subset of another. Since slot is a set the set of all slots can be represent by a metaclass called Slot, say. Consider the following: