0
1000
2000
3000
4000
5000
6000
7000
8000
90 900 1680 16800 34650
s
Multisets Sequences
Figure 2: Multiset blocking versus sequence blocking.
additional experiments, using our encoding in which
the formula (5) has been replaced by the one block-
ing the subsequent user query solutions. The results
are summarised in Fig. 2. We used 15 benchmarks
of Tab. 1, which do not exceed the 2000 sec. time-
out. The values of the x-axis are the numbers of user
query solutions, while the values of y-axis stand for
the time needed to find all the plans. The general
observation is that the more user query solutions ex-
ist, the more the multiset blocking outperforms the
sequence blocking, and thus it works as we have ex-
pected. Moreover, during the 2000 sec. time limit, us-
ing sequences blocking we are able to generate all the
solutions of length at most 9, while taking advantage
of the multisets encoding we can find all the plans
even for length 12. So, we are able to explore the
search space 2
24
times bigger in the same time.
We have compared the efficiency of our tool with
another system. The paper (Nam et al., 2008) reports
7 experiments performed on a set of 413 concrete
Web services, where SAT-time consumed for every
composition varies from 40 to 60 sec. We have re-
peated these experiments translating the input data to
the PlanICS ontology. PlanICS is able to find the short-
est solution in just fractions of a second of SAT-time
and in several seconds of the total computation time.
5 CONCLUSIONS
We presented an SMT-based approach to the abstract
planning problem. Our main idea is to find sig-
nificantly different abstract plans by partitioning the
search space into equivalence classes of user query
solutions. This concept has been realized by com-
puting formulas, which encode multisets representing
abstract plans, and blocking all solutions belonging to
the plans already known. We have implemented our
planner on the top of state of the art SMT-solver, and
evaluated it using a number of scalable benchmarks.
The experimental results are encouraging and confirm
the efficiency of our approach.
REFERENCES
Ambroszkiewicz, S. (2004). Entish: A language for de-
scribing data processing in open distributed systems.
Fundam. Inform., 60(1-4):41–66.
Bell, M. (2008). Introduction to Service-Oriented Model-
ing. John Wiley & Sons.
Bentakouk, L., Poizat, P., and Zaidi, F. (2011). Checking
the behavioral conformance of web services with sym-
bolic testing and an SMT solver. In Tests and Proofs,
volume 6706 of LNCS, pages 33–50. Springer.
Bersani, M. M., Cavallaro, L., Frigeri, A., Pradella, M.,
and Rossi, M. (2010). SMT-based verification of LTL
specification with integer constraints and its applica-
tion to runtime checking of service substitutability. In
SEFM, pages 244–254.
de Moura, L. M. and Bjørner, N. (2008). Z3: An efficient
SMT solver. In Proc. of TACAS’08, volume 4963 of
LNCS, pages 337–340. Springer-Verlag.
Doliwa, D., Horzelski, W., Jarocki, M., Niewiadomski, A.,
Penczek, W., P
´
ołrola, A., Szreter, M., and Zbrzezny,
A. (2011). PlanICS - a web service compositon
toolset. Fundam. Inform., 112(1):47–71.
Elwakil, M., Yang, Z., Wang, L., and Chen, Q. (2010). Mes-
sage race detection for web services by an SMT-based
analysis. In Proc. of the 7th Int. Conference on Auto-
nomic and Trusted Computing, ATC’10, pages 182–
194. Springer.
Gehlot, V. and Edupuganti, K. (2009). Use of colored petri
nets to model, analyze, and evaluate service compo-
sition and orchestration. In System Sciences, 2009.
HICSS ’09., pages 1 –8.
Li, Z., O’Brien, L., Keung, J., and Xu, X. (2010). Effort-
oriented classification matrix of web service compo-
sition. In Proc. of the Fifth International Conference
on Internet and Web Applications and Services, pages
357–362.
Mitra, S., Kumar, R., and Basu, S. (2007). Automated
choreographer synthesis for web services composition
using I/O automata. In ICWS, pages 364–371.
Monakova, G., Kopp, O., Leymann, F., Moser, S., and
Sch
¨
afers, K. (2009). Verifying business rules using
an SMT solver for BPEL processes. In BPSC, pages
81–94.
Nam, W., Kil, H., and Lee, D. (2008). Type-aware web ser-
vice composition using boolean satisfiability solver. In
Proc. of the CEC’08 and EEE’08, pages 331–334.
Rao, J., K
¨
ungas, P., and Matskin, M. (2006). Composition
of semantic web services using linear logic theorem
proving. Inf. Syst., 31(4):340–360.
Rao, J. and Su, X. (2004). A survey of automated web ser-
vice composition methods. In Proc. of SWSWPC’04,
volume 3387 of LNCS, pages 43–54. Springer.
Traverso, P. and Pistore, M. (2004). Automated compo-
sition of semantic web services into executable pro-
cesses. In The Semantic Web ISWC 2004, volume
3298 of LNCS, pages 380–394.
TowardsSMT-basedAbstractPlanninginPlanICSOntology
131