• Aucun résultat trouvé

Generating CA-Plans from Multisets of Services

N/A
N/A
Protected

Academic year: 2022

Partager "Generating CA-Plans from Multisets of Services"

Copied!
2
0
0

Texte intégral

(1)

Generating CA-Plans from Multisets of Services

Łukasz Mikulski1, Artur Niewiadomski2, Marcin Piątkowski1, Sebastian Smyczyński3

1 Nicolaus Copernicus University,

{lukasz.mikulski, marcin.piatkowski}@mat.umk.pl

2 Siedlce University,[email protected]

3 Simplito Computer Science Lab,[email protected]

The main idea of solving WSCP utilised by Planics(see [3]) is to divide the composition process into several stages. The first phase, calledabstract planning, deals with anontology which contains a hierarchy of classesdescribing sets of real-world services and processed object types. Our abstract planners find multi- sets of service types that potentially satisfy auser query. Still, each equivalence class defined by a multiset can be viewed as the union of finer equivalence classes defined by partial orders, in which the plans differ only in the ordering of context independent services. Finding all of such classes is the task of Multiset Explorer - a module of Planics presented here.







































































The realizations of web service composition is a transformation sequence of services together with sets of affected objects (the arguments of those services).

In contrast to concrete plan, we abstract from objects attributes. We also ab- stract from concrete object names (defining an equivalence relation⇠=). We treat two sequences as indistinguishable if they differ only in types of arguments which are in inheritance relation (we build a partial order4based on inheritance rela- tion and utilize the filters over4) or are equivalent in Mazurkiewicz sense (see [2]), which we denote by⌘M az. However, we distinguish between two sequences that match produced objects with the expected ones (specified by user query) differently.

The diagram presented below shows relationships between classes of trans- formation sequences obtained by dividing the set of all potential ones that starts with the set of initial objects specified in the user query. We denote this set by

~S. At the bottom of this diagram individual transformation sequences (~S/I), can be seen. Looking at the top this diagram, we define three equivalence relations based on Parikh equivalence of services utilized in the transformation sequence.

Namely, they are⌘sP ar which looks only on names of services (as in abstract plan),⌘P ar which takes into account names of the attributes and lying in be-

(2)

tween⌘iP ar which abstracts from the names and types of objects in favor of the inheritance relation. In our solution we cut classes of⌘sP arinto classes of⌘iP ar using the notion of relational structures (see [5]) and based on them equivalence relation⌘topology.

~S/sP ar

~S/topology

~S/iP ar

Filters of~

S/iP ar, P ar

Filters of~S

/(= M az),4

~S/P ar

~S/M az

Filters of~

S/=,4

The main goal of the presented procedure is to browse all transformation sequences satisfying a given user query with the same Parikh vector of service specifications without duplicating indistinguishable ones. As an input we take the ontology, the user query in the form of two sets of objects, and an arbitrary multiset of service names that identifies single equivalence class⌘sP ar. We start from fixing the names of objects originating form the user query initial world or produced by the considered services. After that, we distribute them between inputs of the services to obtain all possible topologies and compute maximal (in the sense of4) possible types of utilized objects. In the next step, we match the obtained possibilities with the user query expected world, considering all valid matchings. The last step is browsing all traces (in Mazurkiewicz sense) based on the multisets of context services from~S/iP ar. This phase of the algorithm is based on the approach presented in [4] adapted to the specification in the form of a relational structure.

The preliminary experimental results are very promising. We used Z3 SMT- solver together with Abstract Planner (AP). We browse all solutions equivalent in the sense of ⌘sP ar with the one reported by AP. In the case of the shortest plans we are able to validate their uniqueness significantly faster than the pro- cedure of their generation. For longer plans, we are as fast as Z3+AP reporting from 1.5 to 5 times more plans.

Acknowledgements This research was supported by the National Science Cen- ter under the grants No.2011/01/B/ST6/01477 and No.2013/09/D/ST6/03928.

References

1. L. de Moura and N. Bjørner. Z3: An efficient SMT solver. LNCS 4963:337-340, Springer, 2008.

2. V. Diekert and G. Rozenberg, editors. The Book of Traces. World Scientific, 1995.

3. D. Doliwa et al. PlanICS - a web service composition toolset.Fund. Inf., 112(1):47-71, 2011.

4. Ł. Mikulski et al. Algorithmics of posets generated by words over partially commutative alphabets (extended). Scientific Annals of Comp. Sci., 23(2):229-249, 2013.

5. R. Janicki et al. Causal structures for general concurrent behaviours. InCS&P’13, pp. 193-205.

348 PNSE’14 – Petri Nets and Software Engineering

Références

Documents relatifs

Let σ be the scattering relation on a compact Riemannian man- ifold M with non-necessarily convex boundary, that maps initial points of geodesic rays on the boundary and

First introduced by Faddeev and Kashaev [7, 9], the quantum dilogarithm G b (x) and its variants S b (x) and g b (x) play a crucial role in the study of positive representations

[r]

Intuitively, two mappings are CQ-equivalent, if conjunctive queries posed against the target database yield the same result for both mappings (for details, see Section 2). For

A spectral study showed that for a tangent linear system (linearized around the equilibrium state of constant velocity and density), we can prove the convergence of the observer

We begin in section 2 with a setup and exhibiting the main term, then in section 3 as a warmup we prove the right order of magnitude for the secondary term.. In section 4, we

Surprisingly, she also joins the Glee Club, where popular kids never want to be, but only to keep an eye on her boyfriend

Maintaining himself loyal to Hegel, he accepts the rel- evance of civil society, but always subordinate to the State, the true “we”, as the interests of the civil society and the