Document 7749727

Download Report

Transcript Document 7749727

A more expressive metalevel for the LAG
adaptation language
Maurice Hendrix
Outline
•
•
•
•
•
•
Adaptive Systems
CAF
Adaptation Language
Limitations of LAG
System setup of extension
Proposed extension
Adaptive systems
• Adaptive Systems adapt
content towards the user
• Based upon a User Model
• Domain model for domain
content
• Goal model for specific
gathering of contents
Layered Model
•
•
•
•
•
Domain Model (DM)
Goal & Constraints Model (GM)
User Model (UM)
Adaptation Model (AM)
Presentation Model (PM)
CAF
• XML format for transporting
content between AHA systems
• Describes the goal model and
used domain models
<domainmodel><concept>
<name>AH</name>
<concept>
<name>AHS</name>
<attribute>
<name>title</name>
<contents>Systems</contents>
</attribute>
</concept>
</concept>
</domainmodel>
<goalmodel>
<lesson weight=“0" label=“">
<link weight=“50"
label=“intermediate">AH\AHS\title</link>
</lesson>
</goalmodel>
Adaptation Language
• Describes adaptation
initialization(
while true
(PM.GM.Concept.show = true)
)
implementation ()
Limitations of LAG
• Inherent run-time limitations.
• No access to all items during
run-time
• Thus no Access to set of labels
and weights in use
System setup of
extension
Templated LAG processor
Templ
ated
LAG
CAF
Preprocessor
LAG
AHA! Lesson
creation
AHA!
Lesso
n
Proposed extension
•
•
•
•
XML format for the additions
Easy to implement and maintain
Can cope with changing LAG
Adding like statement capturing
labels with reg expr
DTD
<!ELEMENT CAF (LAGfragment*, LIKE*,
LAGfragment*)*>
<!ELEMENT LIKE attribute CDATA "" value
CDATA "" (LAGfragment+, MATCH,
LAGfragment+, (LAGfragment*, LABEL,
LAGfragment*)*) >
<!ELEMENT LAGfragment (#PCDATA)>
<!ELEMENT MATCH EMPTY>
<!ELEMENT LABEL EMPTY>
Example
<like
attribute='GM.Concept.label'
value='beginner'>
while <match/>
UM.GM.<label/>_number += 1
)
</like>
Conclusion
• Using a simple pre-processing
some limitations of LAG can be
overcome
• Next in line is building and
trying out a prototype
Fire away with
questions.