19 - Frames
19 - Frames
Frames
What is a Frame
Developed by Marvin Minsky in 1975 at MIT.
Represent mental models of a stereotypical situation.
Knowledge about an object or event is stored together in
a memory as one unit
A frame is a prototype of a concept
Denoting the attributes of a concept
The class of objects or concepts to which the concept belongs
And some more things …
Fido is a dog
The concept dog
Fido is a particular dog
Dog legs
4
owner :
Instance of
Teeth Sharpe
legs
Fido 4
owner : Nisheeth
Object-Attribute-Value (o,a,v)
Head
subclass
size
Bear
Large
instance
likes
Baloo Honey
Bear
{
is a: animal;
found_in: Africa;
has_part: Head;
size: large;
}
Baloo
{
instance_of: Bear;
}
Slots
Values
Types
Constraints over possible values
Predicates
Daemons/ Functions
Compare with object oriented systems
Slots can be structured – frames within slots –
pointer to frames
OOS and FBS
• Frame
Class
• Instances
Objects
• Daemons
Methods
Girl
Is_a Human_Being
Name String
Stays_at String
Studies_in String
Grades Results
Writes_with Right_hand
Predicates in Slot
Name
Age
Height If added
test(constraint)
Stays_at
Studies_in
Grades
If needed compute
Writes with CGPA(Girl,results)
Rita
Instance_of Girl
Age 18
Height5.4
Studies_in BCA
Grades
If needed compute
CGPA(Rita,results)
Generic Value