The LAG Grammar for Authoring the Adaptive Web - PowerPoint PPT Presentation

1 / 28
About This Presentation
Title:

The LAG Grammar for Authoring the Adaptive Web

Description:

Modern Web & Grid Track, ITCC'04, US /department of mathematics and computer science ... Modern Web & Grid Track, ITCC'04, US /department of mathematics and ... – PowerPoint PPT presentation

Number of Views:27
Avg rating:3.0/5.0
Slides: 29
Provided by: alexandr52
Category:

less

Transcript and Presenter's Notes

Title: The LAG Grammar for Authoring the Adaptive Web


1
The LAG Grammar for Authoring the Adaptive Web
  • Alexandra Cristea
  • a.i.cristea_at_tue.nl
  • http//wwwis.win.tue.nl/alex/

2
Outline
  • Introduction
  • LAOS
  • LAG
  • Adaptation language
  • Grammars
  • GAL
  • GIAL
  • Adaptation procedures
  • Adaptation strategies
  • Conclusions

3
LAOS
  • based on AHAM
  • supporting adaptive hypermedia authoring
  • five layers
  • Domain Model (DM)
  • Goal and constraints Model (GM)
  • User Model (UM)
  • Adaptation Model (AM)
  • Presentation Model (PM)

4
LAG
  • LAOS adaptation model
  • direct adaptation techniques / rules
  • IF-THEN, or condition-action (CA) rules
  • adaptation language
  • adaptation strategies adaptation procedures

5
What does the adaptation language do?
  • Captures adaptation patterns, typical for AHS,
    for reuse
  • We start with a set of desired adaptive behavior
  • While, For Break, Generalize, Specialize
  • Conditions, Enough conditions
  • Inherited from direct adaptation techniques If,
    Action

6
Generalize, Specialize
  • DM is concept map with hierarchy

Generalize
Specialize
7
How to implement the adaptation language?
  • context-free grammar
  • tuple (V, T, S, P) with
  • V a finite set of variables
  • T a finite set of terminals
  • S the start variable (S ? V)
  • P a finite set of production rules of the form
    A ? x with A ? V and x ? (union(V, T)).
  • GAL (written in
    CAPITALS, written bold, PROG, P).
  • P given in Backus Naur Form

8
GAL production rules
PROG ? STATEMENT STATEMENT ? IFSTAT WHILESTAT
FORSTAT BREAKSTAT GENSTAT SPECSTAT
(STATEMENT) STATEMENT ACTION
IFSTAT ? if CONDITION then
(STATEMENT) WHILESTAT ? while CONDITION do
(STATEMENT) TARGETLABEL FORSTAT ? for RANGE do
(STATEMENT) TARGETLABEL BREAKSTAT ? break
SOURCELABEL GENSTAT ? generalize((CONDITION)) SPE
CSTAT ? specialize((CONDITION)) ACTION ?
ATTRIBUTE OP VALUE
9
GAL production rules cont.
CONDITION ? enough((PREREQ), VALUE)
PREREQ RANGE ? integer PREREQ ? ATTRIBUTE
COMPARE VALUE TARGETLABEL ? text SOURCELABEL ?
text_label_a ATTRIBUTE ? GENCONCEPT
SPECCONCEPT GENCONCEPT ?
CM_type.concept.attr CM_type.concept.attr_z
SPECCONCEPT ? CM_x.concept_y.attr_z OP ?
- . COMPARE ? lt gt
in VALUE ? text
10
Break Labels
  • while CONDITION do (
  • while CONDITION do (
  • if CONDITION then break sourcelabel
  • ) label_y
  • ) label_x

11
Interface grammar
  • GIAL (written in between brackets, written
    bold, Adaptive Strategy, P)

12
GIAL production rules
Start ?Adaptive Strategy Adaptive
Procedure Adaptive Strategy ? add
statement Adaptive Procedure ? add statement
13
Interface start
14
GIAL production rules cont.
  • add statement ? If While For
    Break Generalize Specialize Action
    adaptive procedure
  • If ? add statement if condition then (add
    statement) add statement
  • if condition then (add statement) add
    statement
  • add statement if condition then
    (add statement)
  • While ? add statement while condition do
    (add statement) label add statement
  • while condition do (add statement)
    label add statement
  • add statement while condition do (add
    statement) label
  • For ? add statement for range do (add
    statement) label add statement
  • for range do (add statement) label
    add statement
  • add statement for range do (add
    statement) label

15
If, While, For
16
GIAL production rules cont.
  • Break ? add statement break labeladd
    statement
  • break label add statement
  • add statement break label
  • Action ? add statement attribute
    operator value add statement
  • attribute operator value add
    statement
  • add statement attribute
    operator value
  • Generalize ?add statement generalize((conditi
    on)) add statement
    generalize((condition))add statement
  • add statement generalize((condition))
  • Specialize ? add statement
    specialize((condition)) add statement
    specialize((condition)) add statement
  • add statement specialize((condition))

17
Action, Generalize, Specialize
18
GIAL production rules cont.
  • condition ? prereq conditionprereqcond
    ition
  • enough( condition,
    weight) condition
  • enough( condition, weight)
    condition
  • range ? integer
  • prereq ? attribute compare value
  • label ? text
  • attribute ? generic specific
  • generic?CM_type.concept.attrCM_type.concept.
    attr_z
  • specific ? CM_x.concept_y.attr_z
  • operator ? - .
  • compare ? lt gt in
  • value ? text

19
Conditions enough conditions
number of conditions to fulfill
20
MOT concept attribute
CREATE TABLE ConceptAttribute
21
Verification
  • Checking parse tree
  • No variable types in MOT gt
  • if attr_x lt 10 attr_y gt 5 then is illegal,
    because isnt a Boolean operator. However, we
    cannot determine if if attr_x lt 10 and attr_y gt
    5
  • user-interface can enforce this partial check
  • allows only Boolean operators between the
    attribute-conditions in a guard context

22
Adaptive procedure (call)
23
Adaptive Mini-strategies
24
While If
25
Generic vs. Specific attributes
26
Conclusions
  • design and implementation steps for adaptive
    language for AH creation
  • exact definition of context free grammar
  • creation steps of this grammar,
  • creation of a grammar for actual system
    interface,
  • frame-oriented, block-based GUI interface, only
    generating target language code.
  • implementation authoring easier
  • system allows the creation of adaptive strategies
    adaptive procedures AH adaptive patterns at
    various levels.

27
Download trial
  • Download
  • http//adaptmot.sourceforge.net/
  • Trial
  • http//e-learning.dsp.pub.ro/mot/
  • http//e-learning.dsp.pub.ro/motadapt/

28
2nd International Workshop on Authoring of
Adaptive and Adaptable Educational Hypermedia
  • Themes
  • Design patterns for educational adaptive
    hypermedia
  • Authoring patterns in adaptive/ adaptable
    educational hypermedia
  • Authoring Tools for adaptive/ adaptable
    educational hypermedia
  • Connecting adaptive educational hypermedia with
    cognitive/learning styles
  • Collaborative issues for adaptive/ adaptable
    educational hypermedia
  • Adaptation model transformations between adaptive
    educational hypermedia systems
  • Evaluation of authoring tools for adaptive
    educational hypermedia
  • Evaluation of adaptive educational hypermedia
    design patterns
  • Evaluation of adaptive educational hypermedia
    authoring patterns
  • http//wwwis.win.tue.nl/acristea/AH04/workshopAH.
    htm
Write a Comment
User Comments (0)
About PowerShow.com