Bug 530773 - [qvtr2qvts] Introduce relevant Collection operations
Summary: [qvtr2qvts] Introduce relevant Collection operations
Status: NEW
Alias: None
Product: QVTd
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 529130
Blocks:
  Show dependency tree
 
Reported: 2018-02-06 06:24 EST by Ed Willink CLA
Modified: 2018-02-06 06:25 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2018-02-06 06:24:43 EST
The current CollectionTemplateExp synthesis involving a hierarchy of includes/excluding operation calls was necessitated by the need to express the collection matching in QVTc where there are no collection facilities.

Following Bug 529130 abandoning QVTr2QVTc and going direct to QVTs, it may be appropriate to introduce Collection partitioning operators that allows QVTs/QVTi to be more efficient.

To avoid the complexity of multi-output graphical operators, perhaps a collection has head-index and tail pseudo properties, where N multiple head-index accesses must have distinct index values from 1 to M inclusive. head-2 etc iterates over the residue of the collection less head-1. The tail excludes all M head-*.