UIAdapter
The UI Adapter changes the UI taking into account the preferences of the user (e.g., native language) and available interaction resources.
Developer: VTT
License
Case by case discussions
Download
will be made available ...
How to get started
The main classes of UiAdapter? component are the following:
- UiAdapter?: an interface towards InteractionManager. UIAdapter takes a raw UI, which contains all required data in a non final form, and returns adapted UI – selected elements to be shown to a user
- MultiUserAdapter?: takes results of SingleUserAdapter? for each individual user and merges them into final adapted UI.
- SingleUserAdapter?: fnds preferred interaction options for an individual user.
- UserModelHandler?: retrieves from the user model values, relevant to the UI adaptation: relevant user characteristics and user preferences, relevant in the current context.
- RuleSelector?: selects either default reasoning rules or rules for some special case, depending on modelPathAdditional parameter.
- RuleManager?: parses and executes reasoning rules, calling MethodInterface? class whenever needed.
- MethodInterface?: actual implementation of reasoning functionality.
The component ranks available interaction options (such as image, detailed text shown via GUI, concise text shown via GUI, detailed text presented as audio message etc), using user profiles, ranking rules and descriptions of available interaction options. Explanation about reasoning and examples are provided in D5.4.2.
not applicable
API Documentation
UI Adapter has the following interface:
public string string GetUI (string TaskID, string UserIDs, string Context, double ContextSimilarityThreshold?, int Mode, string Devices, string ModelPathInitial?, string ModelPathAdditional?)
Output: ranked interaction options
Input parameters:
- TaskID: XForms presenting an abstract description of interaction task (such as “to open product cover”)
- UserIDs: IDs of current user(s) in a format: usersJohnusersJane
- Context: A list of context descriptors in a format: contextSundaycontextNight
- ContextSimilarity? Threshold: if degree of similarity between context, attached to context-dependent preference value, exceeded this threshold, ranking of interaction options will be based on this value, othervise generic preference value will be used
- Mode: Mode = 1 denotes that only a small screen is available. In this case UiAdapter? does not suggest images and videos unless one of these options appears to be the top-ranked for the current user. Mode = 2 denotes that a large screen is available. In this case UiAdapter? returns one best options for each of the main modalities (GUI text, audio text and image (or video)).
- Devices: List of available devices; not used yet (will be used for selecting most appropriate interaction device in future versions)
- ModelPathInitial?: directory under which reasoning rules, actual interaction options and their descriptors are stored.
- ModelPathAdditional?: sub-directory under ModelPathInitial?, where alternative reasoning rules are stored, for example, rules for unusual situations or case of maintenance.
Additional Material